pub trait Extract:
Sized
+ Send
+ Sync {
// Required method
fn extract(req: &Request<SgBody>) -> Self;
}
Expand description
a marker is some information that can be attached to a request and can be extracted from a request.
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.