pub enum IoError {
InvalidInput,
TimedOut,
Other(&'static str),
}
Expand description
Errors that can be returned from I/O operations.
Variants§
InvalidInput
An input parameter or argument was incorrect or invalid.
TimedOut
The I/O operation timed out and was canceled.
Other(&'static str)
A miscellaneous error occurred.
Trait Implementations§
Auto Trait Implementations§
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