pub trait WithContext {
// Required methods
fn with<C>(&self, context: C) -> Contextual<&Self, C>;
fn into_with<C>(self, context: C) -> Contextual<Self, C>
where Self: Sized;
}
Required Methods§
fn with<C>(&self, context: C) -> Contextual<&Self, C>
fn into_with<C>(self, context: C) -> Contextual<Self, C>where
Self: Sized,
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.