pub enum DirectoryError {
ArithmeticOverflow,
Budget,
Invalid(&'static str),
AlreadyOpen,
Bounds,
AlreadyClaimed,
Missing,
Stale,
Growth,
Poisoned,
Wire(Error),
}Expand description
Directory validation, custody and backing failures.
Variants§
ArithmeticOverflow
Logical page count overflowed before any backing access. allocation page count overflow.
Budget
directory budget exceeded.
Invalid(&'static str)
invalid directory: {0}.
AlreadyOpen
allocation already has a live lease.
Bounds
access exceeds allocation bounds.
AlreadyClaimed
backing already has a live owner.
Missing
allocation does not exist.
Stale
prepared directory belongs to a stale generation.
Growth
backing growth refused.
Poisoned
directory owner is poisoned after interrupted backing IO.
Wire(Error)
Wire directory record: {0}.
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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<Error> for RuntimeConstructionError
impl From<Error> for RuntimeConstructionError
Source§fn from(source: DirectoryError) -> Self
fn from(source: DirectoryError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for RuntimeOpenError
impl From<Error> for RuntimeOpenError
Source§fn from(source: DirectoryError) -> Self
fn from(source: DirectoryError) -> Self
Converts to this type from the input type.
Source§impl<E> From<Error> for RuntimeBootstrapError<E>
impl<E> From<Error> for RuntimeBootstrapError<E>
Source§fn from(source: DirectoryError) -> Self
fn from(source: DirectoryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for Error
impl Freeze for Error
impl Move for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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