Skip to main content

EngineJournalReader

Trait EngineJournalReader 

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

Required Methods§

Source

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

Source

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

Implementors§