pub struct Status<const STATUS: u16, T>(pub T);Expand description
Overrides the successful status of another typed response.
Tuple Fields§
§0: TTrait Implementations§
impl<const STATUS: u16, T: Eq> Eq for Status<STATUS, T>
impl<const STATUS: u16, T: PartialEq> StructuralPartialEq for Status<STATUS, T>
Auto Trait Implementations§
impl<const STATUS: u16, T> Freeze for Status<STATUS, T>where
T: Freeze,
impl<const STATUS: u16, T> RefUnwindSafe for Status<STATUS, T>where
T: RefUnwindSafe,
impl<const STATUS: u16, T> Send for Status<STATUS, T>where
T: Send,
impl<const STATUS: u16, T> Sync for Status<STATUS, T>where
T: Sync,
impl<const STATUS: u16, T> Unpin for Status<STATUS, T>where
T: Unpin,
impl<const STATUS: u16, T> UnsafeUnpin for Status<STATUS, T>where
T: UnsafeUnpin,
impl<const STATUS: u16, T> UnwindSafe for Status<STATUS, T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BackgroundExt for T
impl<T> BackgroundExt for T
fn background(self, task: BackgroundTask) -> Background<Self>
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