pub enum HashTreeError {
Store(String),
Codec(CodecError),
MissingChunk(String),
PathNotFound(String),
EntryNotFound(String),
Encryption(String),
Decryption(String),
}Expand description
HashTree error type
Variants§
Store(String)
Codec(CodecError)
MissingChunk(String)
PathNotFound(String)
EntryNotFound(String)
Encryption(String)
Decryption(String)
Trait Implementations§
Source§impl Debug for HashTreeError
impl Debug for HashTreeError
Source§impl Display for HashTreeError
impl Display for HashTreeError
Source§impl Error for HashTreeError
impl Error for HashTreeError
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<BuilderError> for HashTreeError
impl From<BuilderError> for HashTreeError
Source§fn from(e: BuilderError) -> Self
fn from(e: BuilderError) -> Self
Converts to this type from the input type.
Source§impl From<CodecError> for HashTreeError
impl From<CodecError> for HashTreeError
Source§fn from(source: CodecError) -> Self
fn from(source: CodecError) -> Self
Converts to this type from the input type.
Source§impl From<ReaderError> for HashTreeError
impl From<ReaderError> for HashTreeError
Source§fn from(e: ReaderError) -> Self
fn from(e: ReaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HashTreeError
impl RefUnwindSafe for HashTreeError
impl Send for HashTreeError
impl Sync for HashTreeError
impl Unpin for HashTreeError
impl UnsafeUnpin for HashTreeError
impl UnwindSafe for HashTreeError
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