pub struct ThrusterError<C> {
pub context: C,
pub message: String,
pub status: u32,
pub cause: Option<Box<dyn StdError>>,
}
Fields§
§context: C
§message: String
§status: u32
§cause: Option<Box<dyn StdError>>
Trait Implementations§
Auto Trait Implementations§
impl<C> Freeze for ThrusterError<C>where
C: Freeze,
impl<C> !RefUnwindSafe for ThrusterError<C>
impl<C> !Send for ThrusterError<C>
impl<C> !Sync for ThrusterError<C>
impl<C> Unpin for ThrusterError<C>where
C: Unpin,
impl<C> !UnwindSafe for ThrusterError<C>
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