BackendSyncable

Trait BackendSyncable 

Source
pub trait BackendSyncable {
    type Backend;
    type Error;

    // Required method
    fn sync_to_backend(
        &self,
        backend: &Self::Backend,
    ) -> Result<(), Self::Error>;
}
Expand description

Trait for types that can synchronize their state to a backend

Required Associated Types§

Required Methods§

Source

fn sync_to_backend(&self, backend: &Self::Backend) -> Result<(), Self::Error>

Implementors§