pub struct StdfError {
pub code: u8,
pub msg: String,
}Fields§
§code: u8§msg: StringImplementations§
Source§impl StdfError
impl StdfError
Sourcepub fn kind(&self) -> StdfErrorKind
pub fn kind(&self) -> StdfErrorKind
Returns the structured StdfErrorKind category for this error,
falling back to StdfErrorKind::Unknown for an unrecognized code.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StdfError
impl RefUnwindSafe for StdfError
impl Send for StdfError
impl Sync for StdfError
impl Unpin for StdfError
impl UnsafeUnpin for StdfError
impl UnwindSafe for StdfError
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