pub trait Wal {
    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
; 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
; }
Expand description

Trait for save and load wal information.

Required Methods

Save wal information.

Load wal information.

Implementors