#[non_exhaustive]pub enum IoError {
ReceiveError,
TransmitError,
Other,
}Expand description
I/O Errors
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.
ReceiveError
Receive error.
Indicates FIFO overflow condition has happened.
TransmitError
Transmit error.
Indicated FIFO underrun condition has happened.
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