pub enum DirectFileError {
Io(Error),
LayoutMismatch,
Empty,
Full,
PayloadTooLarge,
}Expand description
Errors DirectFileRing operations can return.
Variants§
Trait Implementations§
Source§impl Debug for DirectFileError
impl Debug for DirectFileError
Source§impl Display for DirectFileError
impl Display for DirectFileError
Source§impl Error for DirectFileError
impl Error for DirectFileError
1.30.0 · 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()
Auto Trait Implementations§
impl !RefUnwindSafe for DirectFileError
impl !UnwindSafe for DirectFileError
impl Freeze for DirectFileError
impl Send for DirectFileError
impl Sync for DirectFileError
impl Unpin for DirectFileError
impl UnsafeUnpin for DirectFileError
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