pub struct HttpPost;
Expand description
Extract the URI of a message from a frame.
Trait Implementations§
Source§impl<State> Extractor<State> for HttpPost
impl<State> Extractor<State> for HttpPost
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 HttpPost
impl StructuralPartialEq for HttpPost
Auto Trait Implementations§
impl Freeze for HttpPost
impl RefUnwindSafe for HttpPost
impl Send for HttpPost
impl Sync for HttpPost
impl Unpin for HttpPost
impl UnwindSafe for HttpPost
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