pub struct ErrorCode<'s> {
pub number: u32,
pub reason: &'s str,
}Expand description
Fields§
§number: u32§reason: &'s strTrait Implementations§
Auto Trait Implementations§
impl<'s> Freeze for ErrorCode<'s>
impl<'s> RefUnwindSafe for ErrorCode<'s>
impl<'s> Send for ErrorCode<'s>
impl<'s> Sync for ErrorCode<'s>
impl<'s> Unpin for ErrorCode<'s>
impl<'s> UnwindSafe for ErrorCode<'s>
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