[−][src]Trait overlord::Wal
Trait for save and load wal information.
Required methods
fn save<'life0, 'async_trait>(
&'life0 self,
info: Bytes
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + Send>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
info: Bytes
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + Send>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Save wal information.
fn load<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Option<Bytes>, Box<dyn Error + Send>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Option<Bytes>, Box<dyn Error + Send>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Load wal information.