Type Alias spacegate_kernel::SgRequest
source · pub type SgRequest = Request<SgBody>;Expand description
Alias for a request with a boxed body.
Aliased Type§
struct SgRequest { /* private fields */ }Trait Implementations§
source§impl SgRequestExt for SgRequest
impl SgRequestExt for SgRequest
source§fn reflect_mut(&mut self) -> &mut Reflect
fn reflect_mut(&mut self) -> &mut Reflect
Get a mutable reference to the reflect extension.
§Panics
Panics if the reflect extension is not found. If you are using a request created by spacegate, this should never happen.
source§fn reflect(&self) -> &Reflect
fn reflect(&self) -> &Reflect
Get a reference to the reflect extension.
§Panics
Panics if the reflect extension is not found. If you are using a request created by spacegate, this should never happen.
source§fn with_reflect(&mut self)
fn with_reflect(&mut self)
Add a reflect extension to the request if it does not exist.