pub enum IoErrorKind {
NotFound,
PermissionDenied,
ConnectionRefused,
TimedOut,
UnexpectedEof,
WriteZero,
InvalidData,
Other,
}Expand description
Kinds of I/O errors that can occur in the IO monad.
Variants§
NotFound
File not found.
PermissionDenied
Permission denied.
ConnectionRefused
Connection refused.
TimedOut
Connection timed out.
UnexpectedEof
Unexpected end of file.
WriteZero
Write failed (disk full, etc.).
InvalidData
Invalid data or format error.
Other
An unrecognised I/O error.
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 Display for IoErrorKind
impl Display for IoErrorKind
Source§impl PartialEq for IoErrorKind
impl PartialEq 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 UnsafeUnpin 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