pub enum DirectIoError {
AllocationFailed(AllocationError),
Io(Error),
}Expand description
Error of a direct I/O operation
Variants§
Trait Implementations§
Source§impl Debug for DirectIoError
impl Debug for DirectIoError
Source§impl Display for DirectIoError
impl Display for DirectIoError
Source§impl Error for DirectIoError
impl Error for DirectIoError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<AllocationError> for DirectIoError
impl From<AllocationError> for DirectIoError
Source§impl From<DirectIoError> for Error
impl From<DirectIoError> for Error
Source§fn from(error: DirectIoError) -> Self
fn from(error: DirectIoError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DirectIoError
impl !UnwindSafe for DirectIoError
impl Forget for DirectIoError
impl Freeze for DirectIoError
impl Move for DirectIoError
impl Send for DirectIoErrorwhere
Repr: Send,
impl Sync for DirectIoErrorwhere
Repr: Sync,
impl Unpin for DirectIoError
impl UnsafeUnpin for DirectIoError
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