pub enum MountError {
NotFound(String),
Stale(String),
NotADirectory(String),
UnknownThread(String),
ReadOnly,
Store(HeddleError),
}Expand description
Errors surfaced by the content-addressed mount core.
Variants§
NotFound(String)
The requested path or node does not exist in the current state.
Stale(String)
The node referenced by the caller is no longer valid (stale inode, invalidated cache, etc).
NotADirectory(String)
A path component traversed something that wasn’t a directory.
UnknownThread(String)
The thread name does not resolve to a current state.
ReadOnly
Read-only filesystem (used while overlay-write is stubbed).
Store(HeddleError)
Errors bubbling up from the underlying object store / repo.
Implementations§
Trait Implementations§
Source§impl Debug for MountError
impl Debug for MountError
Source§impl Display for MountError
impl Display for MountError
Source§impl Error for MountError
impl Error for MountError
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<HeddleError> for MountError
impl From<HeddleError> for MountError
Source§fn from(source: HeddleError) -> Self
fn from(source: HeddleError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MountError
impl !RefUnwindSafe for MountError
impl Send for MountError
impl Sync for MountError
impl Unpin for MountError
impl UnsafeUnpin for MountError
impl !UnwindSafe for MountError
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