#[repr(u32)]pub enum IoError {
Other = 1,
WouldBlock = 4,
SeekError = 2,
InvalidDesc = 3,
}
Expand description
Possible error states for IO
Variants§
Other = 1
Unclassified error.
WouldBlock = 4
Operation would block.
SeekError = 2
Failure during seek.
InvalidDesc = 3
Invalid file descriptor.
Trait Implementations§
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