pub trait SgRequestExt {
// Required methods
fn with_reflect(&mut self);
fn reflect_mut(&mut self) -> &mut Reflect;
fn reflect(&self) -> &Reflect;
fn extract<M: Extract>(&self) -> M;
fn defer_call<F>(&mut self, f: F)
where F: FnOnce(SgRequest) -> SgRequest + Send + 'static;
}Expand description
Provides extension methods for Request.
Required Methods§
fn with_reflect(&mut self)
fn reflect_mut(&mut self) -> &mut Reflect
fn reflect(&self) -> &Reflect
fn extract<M: Extract>(&self) -> M
fn defer_call<F>(&mut self, f: F)
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.