pub enum IoErrKind {
Show 18 variants
NotFound,
PermissionDenied,
ConnectionRefused,
ConnectionReset,
ConnectionAborted,
NotConnected,
AddrInUse,
AddrNotAvailable,
BrokenPipe,
AlreadyExists,
WouldBlock,
InvalidInput,
InvalidData,
TimedOut,
WriteZero,
Interrupted,
Other,
UnexpectedEof,
// some variants omitted
}
Expand description
A copy of io::ErrorKind
that can be properly de/serialized.
It’s possible to convert between io::ErrorKind and IoErrKind
by using the From trait.
Variants§
NotFound
PermissionDenied
ConnectionRefused
ConnectionReset
ConnectionAborted
NotConnected
AddrInUse
AddrNotAvailable
BrokenPipe
AlreadyExists
WouldBlock
InvalidInput
InvalidData
TimedOut
WriteZero
Interrupted
Other
UnexpectedEof
Trait Implementations§
source§impl<'de> Deserialize<'de> for IoErrKind
impl<'de> Deserialize<'de> for IoErrKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for IoErrKind
impl Ord for IoErrKind
source§impl PartialEq<IoErrKind> for IoErrKind
impl PartialEq<IoErrKind> for IoErrKind
source§impl PartialOrd<IoErrKind> for IoErrKind
impl PartialOrd<IoErrKind> for IoErrKind
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for IoErrKind
impl Eq for IoErrKind
impl StructuralEq for IoErrKind
impl StructuralPartialEq for IoErrKind
Auto Trait Implementations§
impl RefUnwindSafe for IoErrKind
impl Send for IoErrKind
impl Sync for IoErrKind
impl Unpin for IoErrKind
impl UnwindSafe for IoErrKind
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