pub enum StorePathError {
Invalid(String),
InvalidHashLength {
expected: usize,
got: usize,
},
InvalidHashChar(char),
EmptyName,
}Variants§
Trait Implementations§
Source§impl Debug for StorePathError
impl Debug for StorePathError
Source§impl Display for StorePathError
impl Display for StorePathError
Source§impl Error for StorePathError
impl Error for StorePathError
1.30.0 · 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 StorePathError
impl RefUnwindSafe for StorePathError
impl Send for StorePathError
impl Sync for StorePathError
impl Unpin for StorePathError
impl UnsafeUnpin for StorePathError
impl UnwindSafe for StorePathError
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