pub enum IoErrorKind {
Eof,
InvalidPort,
WriteFailed,
ReadFailed,
PortClosed,
Unsupported,
}Expand description
Error kinds for I/O operations in no_std environments.
Variants§
Eof
End of file reached.
InvalidPort
Port not found or invalid.
WriteFailed
Write operation failed.
ReadFailed
Read operation failed.
PortClosed
Port is closed.
Unsupported
Operation not supported on this port.
Trait Implementations§
Source§impl Clone for IoErrorKind
impl Clone for IoErrorKind
Source§fn clone(&self) -> IoErrorKind
fn clone(&self) -> IoErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IoErrorKind
impl Debug for IoErrorKind
Source§impl PartialEq for IoErrorKind
impl PartialEq for IoErrorKind
impl Copy for IoErrorKind
impl Eq for IoErrorKind
impl StructuralPartialEq for IoErrorKind
Auto Trait Implementations§
impl Freeze for IoErrorKind
impl RefUnwindSafe for IoErrorKind
impl Send for IoErrorKind
impl Sync for IoErrorKind
impl Unpin for IoErrorKind
impl UnwindSafe for IoErrorKind
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