pub trait CloneWithBlockStorageSettings: Clone {
// Required method
fn clone_with_settings(&self, settings: BlockStorageCloneSettings) -> Self;
// Provided method
fn without_networking(&self) -> Self { ... }
}Required Methods§
fn clone_with_settings(&self, settings: BlockStorageCloneSettings) -> Self
Provided Methods§
fn without_networking(&self) -> Self
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.