pub struct Reply(pub ReplyMode);Expand description
Reply mode extractor.
Tuple Fields§
§0: ReplyModeTrait Implementations§
Source§impl<StateT> FromRequest<StateT> for Reply
impl<StateT> FromRequest<StateT> for Reply
type Rejection = Infallible
async fn from_request( ctx: &mut RequestContext, _state: &Arc<StateT>, ) -> Result<Self, Self::Rejection>
impl Copy for Reply
Auto Trait Implementations§
impl Freeze for Reply
impl RefUnwindSafe for Reply
impl Send for Reply
impl Sync for Reply
impl Unpin for Reply
impl UnwindSafe for Reply
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