pub struct Cmd(pub Command);Expand description
Extractor wrapper for command.
Tuple Fields§
§0: CommandTrait Implementations§
Source§impl<State> FromRequest<State> for Cmd
impl<State> FromRequest<State> for Cmd
type Rejection = Infallible
async fn from_request( ctx: &mut RequestContext, _state: &Arc<State>, ) -> Result<Self, Self::Rejection>
Auto Trait Implementations§
impl !Freeze for Cmd
impl RefUnwindSafe for Cmd
impl Send for Cmd
impl Sync for Cmd
impl Unpin for Cmd
impl UnwindSafe for Cmd
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