pub trait TypedRequest: Request {
type Value: Value + ?Sized;
// Required methods
fn value(&self) -> &Self::Value;
fn value_mut(&mut self) -> &mut Self::Value;
}Expand description
Request that stores value of specific type (along with optional metadata).
Required Associated Types§
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.