pub enum MountError {
Default(Error),
LinkNotFound(Link),
PathNotFound(PathBuf),
PathNotNode(PathBuf),
BlobsStore(BlobsStoreError),
Secret(SecretError),
Node(NodeError),
Codec(CodecError),
Share(ShareError),
ShareNotFound,
}Variants§
Default(Error)
LinkNotFound(Link)
PathNotFound(PathBuf)
PathNotNode(PathBuf)
BlobsStore(BlobsStoreError)
Secret(SecretError)
Node(NodeError)
Codec(CodecError)
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<BlobsStoreError> for MountError
impl From<BlobsStoreError> for MountError
Source§fn from(source: BlobsStoreError) -> Self
fn from(source: BlobsStoreError) -> Self
Converts to this type from the input type.
Source§impl From<CodecError> for MountError
impl From<CodecError> for MountError
Source§fn from(source: CodecError) -> Self
fn from(source: CodecError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for MountError
impl From<Error> for MountError
Source§impl From<NodeError> for MountError
impl From<NodeError> for MountError
Source§impl From<SecretError> for MountError
impl From<SecretError> for MountError
Source§fn from(source: SecretError) -> Self
fn from(source: SecretError) -> Self
Converts to this type from the input type.
Source§fn from(source: ShareError) -> Self
fn from(source: ShareError) -> 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 !UnwindSafe for MountError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<E> InstrumentError for Ewhere
TracedError<E>: From<E>,
impl<E> InstrumentError for Ewhere
TracedError<E>: From<E>,
Source§type Instrumented = TracedError<E>
type Instrumented = TracedError<E>
The type of the wrapped error after instrumentation
Source§fn in_current_span(self) -> <E as InstrumentError>::Instrumented
fn in_current_span(self) -> <E as InstrumentError>::Instrumented
Instrument an Error by bundling it with a SpanTrace Read more
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.