pub trait RequestExt {
// Required methods
fn insert<T: Clone + Send + Sync + 'static>(&mut self, val: T);
fn get<T: Send + Sync + 'static>(&self) -> Option<&T>;
fn take<T: Send + Sync + 'static>(self) -> (Self, Option<T>)
where Self: Sized;
}Required Methods§
fn insert<T: Clone + Send + Sync + 'static>(&mut self, val: T)
fn get<T: Send + Sync + 'static>(&self) -> Option<&T>
fn take<T: Send + Sync + 'static>(self) -> (Self, Option<T>)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.