pub(crate) trait WalEntryReader: Send + Sync {
// Required method
fn read(
&mut self,
ns: &Provider,
start_id: EntryId,
) -> Result<WalEntryStream<'static>>;
}Expand description
WalEntryReader provides the ability to read and decode entries from the underlying store.
Notes: It will consume the inner stream and only allow invoking the read at once.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".