pub struct MicrodotError {
pub kind: ErrorKind,
}Fields§
§kind: ErrorKindImplementations§
Source§impl Error
impl Error
pub fn invalid_length() -> Error
pub fn missing_field(field: &'static str) -> Error
pub fn unknown_id(id: u8) -> Error
pub fn invalid_payload() -> Error
Trait Implementations§
Source§impl From<TryFromSliceError> for Error
impl From<TryFromSliceError> for Error
Source§fn from(_err: TryFromSliceError) -> Error
fn from(_err: TryFromSliceError) -> Error
Converts to this type from the input type.
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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