pub struct HttpGet;
Expand description
Extract the URI of a message from a frame.
Trait Implementations§
Source§impl<State> Extractor<State> for HttpGet
impl<State> Extractor<State> for HttpGet
Source§type Error = MessageFrameError
type Error = MessageFrameError
The error type for this extractor. Anything that can be converted into an extractor error
can be used as an error type. Read more
Source§fn extract(frame: Frame, context: &Context<State>) -> Result<Self, Self::Error>where
Self: Sized,
fn extract(frame: Frame, context: &Context<State>) -> Result<Self, Self::Error>where
Self: Sized,
Take an frame and a state and return a result containing the extracted value or the frame.
impl Eq for HttpGet
impl StructuralPartialEq for HttpGet
Auto Trait Implementations§
impl Freeze for HttpGet
impl RefUnwindSafe for HttpGet
impl Send for HttpGet
impl Sync for HttpGet
impl Unpin for HttpGet
impl UnwindSafe for HttpGet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more