pub trait StatusMapProvider<I: ?Sized> {
// Provided method
async fn get<T: EncodedStatusMap>(
&self,
id: &I,
) -> Result<MaybeCached<T::Decoded>, ProviderError>
where Self: TypedStatusMapProvider<I, T> { ... }
}
Provided Methods§
async fn get<T: EncodedStatusMap>(
&self,
id: &I,
) -> Result<MaybeCached<T::Decoded>, ProviderError>where
Self: TypedStatusMapProvider<I, T>,
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.