pub trait WalSource:
Send
+ Sync
+ 'static {
// Required method
fn durable_wal_position(&self) -> WalPosition;
// Provided method
fn catch_up(&self) { ... }
}Expand description
Where the worker learns how much of the WAL is durable.
SharedDb is the real one. The trait exists so the worker does not care
how the handle is held.
Required Methods§
fn durable_wal_position(&self) -> WalPosition
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".