pub enum ContentAddressError {
InvalidFormat(String),
StorePath(StorePathError),
}Variants§
InvalidFormat(String)
StorePath(StorePathError)
Trait Implementations§
Source§impl Debug for ContentAddressError
impl Debug for ContentAddressError
Source§impl Display for ContentAddressError
impl Display for ContentAddressError
Source§impl Error for ContentAddressError
impl Error for ContentAddressError
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<StorePathError> for ContentAddressError
impl From<StorePathError> for ContentAddressError
Source§fn from(source: StorePathError) -> Self
fn from(source: StorePathError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContentAddressError
impl RefUnwindSafe for ContentAddressError
impl Send for ContentAddressError
impl Sync for ContentAddressError
impl Unpin for ContentAddressError
impl UnsafeUnpin for ContentAddressError
impl UnwindSafe for ContentAddressError
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