pub enum ParseStorePathError {
MissingDash,
DigestEncoding(DecodeError),
Length,
Name,
MissingStoreDir,
}Expand description
Errors that can occur when parsing a literal store path
Variants§
Trait Implementations§
Source§impl Debug for ParseStorePathError
impl Debug for ParseStorePathError
Source§impl Display for ParseStorePathError
impl Display for ParseStorePathError
Source§impl Error for ParseStorePathError
impl Error for ParseStorePathError
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<DecodeError> for ParseStorePathError
impl From<DecodeError> for ParseStorePathError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<ParseStorePathError> for ErrorKind
impl From<ParseStorePathError> for ErrorKind
Source§fn from(source: ParseStorePathError) -> Self
fn from(source: ParseStorePathError) -> Self
Converts to this type from the input type.
Source§impl From<ParseStorePathError> for ParseDerivedPathError
impl From<ParseStorePathError> for ParseDerivedPathError
Source§fn from(source: ParseStorePathError) -> Self
fn from(source: ParseStorePathError) -> Self
Converts to this type from the input type.
Source§impl From<ParseStorePathNameError> for ParseStorePathError
impl From<ParseStorePathNameError> for ParseStorePathError
Source§fn from(value: ParseStorePathNameError) -> Self
fn from(value: ParseStorePathNameError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseStorePathError
impl PartialEq for ParseStorePathError
Source§fn eq(&self, other: &ParseStorePathError) -> bool
fn eq(&self, other: &ParseStorePathError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ParseStorePathError
impl StructuralPartialEq for ParseStorePathError
Auto Trait Implementations§
impl Freeze for ParseStorePathError
impl RefUnwindSafe for ParseStorePathError
impl Send for ParseStorePathError
impl Sync for ParseStorePathError
impl Unpin for ParseStorePathError
impl UnsafeUnpin for ParseStorePathError
impl UnwindSafe for ParseStorePathError
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.