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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".