pub trait NodeJournal: Send + Sync {
// Required method
fn replay_after(
&self,
node_id: &str,
channel_id: u32,
after: u64,
limit: usize,
) -> Result<Vec<JournalEntry>, JournalError>;
}Expand description
C2-side handle to ask a connected node for a journal slice.
Required Methods§
Sourcefn replay_after(
&self,
node_id: &str,
channel_id: u32,
after: u64,
limit: usize,
) -> Result<Vec<JournalEntry>, JournalError>
fn replay_after( &self, node_id: &str, channel_id: u32, after: u64, limit: usize, ) -> Result<Vec<JournalEntry>, JournalError>
Return entries with seq > after up to limit, oldest first.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".