settings_storage::device_storage

Trait DefaultDispatcher

Source
pub trait DefaultDispatcher<T>: Sealed{
    // Required method
    fn get_default(_: &DeviceStorage) -> T;
}

Required Methods§

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.

Implementors§

Source§

impl<T> DefaultDispatcher<T> for NoneT
where T: DeviceStorageCompatible<Loader = Self> + Default,

Source§

impl<T, L> DefaultDispatcher<T> for L
where T: DeviceStorageCompatible<Loader = L>, L: DefaultLoader<Result = T> + 'static,