pub trait BackendFromConfigAndSyncState: Sized {
type C;
type S;
type R: Future<Output = Result<Self, Error>> + Send;
// Required method
fn from_config_and_syncstate(
config: Self::C,
sync_state: Self::S,
) -> Self::R;
}
Required Associated Types§
Required Methods§
fn from_config_and_syncstate(config: Self::C, sync_state: Self::S) -> Self::R
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.