#[non_exhaustive]pub enum IOError {
BusBusy,
TargetBusy,
FifoError,
BitError,
Other,
}Expand description
Errors exclusive to I/O
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BusBusy
Busy Busy
TargetBusy
Target Busy
FifoError
FIFO Error
BitError
Bit Error
Other
Other internal errors or unexpected state.
Trait Implementations§
impl Copy for IOError
impl Eq for IOError
impl StructuralPartialEq for IOError
Auto Trait Implementations§
impl Freeze for IOError
impl RefUnwindSafe for IOError
impl Send for IOError
impl Sync for IOError
impl Unpin for IOError
impl UnwindSafe for IOError
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