pub enum DiagError {
Timeout,
InvalidFrame(String<64>),
BufferOverflow,
Driver(String<64>),
AddressNotReachable,
LengthMismatch {
expected: usize,
actual: usize,
},
}Variants§
Timeout
InvalidFrame(String<64>)
BufferOverflow
Driver(String<64>)
AddressNotReachable
LengthMismatch
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiagError
impl RefUnwindSafe for DiagError
impl Send for DiagError
impl Sync for DiagError
impl Unpin for DiagError
impl UnsafeUnpin for DiagError
impl UnwindSafe for DiagError
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