Skip to main content

EngineJournalReader

Trait EngineJournalReader 

pub trait EngineJournalReader: Send + Sync {
    // Required methods
    fn get_recent(
        &self,
        limit: usize,
    ) -> Result<Vec<JournalCommandSummary>, Error>;
    fn get_by_request_id(
        &self,
        request_id: &Uuid,
    ) -> Result<Option<JournalFullRecord>, Error>;
}

Required Methods§

fn get_recent(&self, limit: usize) -> Result<Vec<JournalCommandSummary>, Error>

fn get_by_request_id( &self, request_id: &Uuid, ) -> Result<Option<JournalFullRecord>, Error>

Implementors§