Enum precious_core::basepaths::BasePathsError
source · [−]pub enum BasePathsError {
GotPathsFromCliWithWrongMode {
mode: Mode,
},
AllPathsWereExcluded {
mode: Mode,
},
NonExistentPathOnCli {
path: PathBuf,
},
CouldNotDetermineRepoRoot,
PrefixNotFound {
path: PathBuf,
prefix: PathBuf,
},
}
Variants
GotPathsFromCliWithWrongMode
Fields
mode: Mode
AllPathsWereExcluded
Fields
mode: Mode
NonExistentPathOnCli
Fields
path: PathBuf
CouldNotDetermineRepoRoot
PrefixNotFound
Trait Implementations
sourceimpl Debug for BasePathsError
impl Debug for BasePathsError
sourceimpl Display for BasePathsError
impl Display for BasePathsError
sourceimpl Error for BasePathsError
impl Error for BasePathsError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl PartialEq<BasePathsError> for BasePathsError
impl PartialEq<BasePathsError> for BasePathsError
sourcefn eq(&self, other: &BasePathsError) -> bool
fn eq(&self, other: &BasePathsError) -> bool
impl Eq for BasePathsError
impl StructuralEq for BasePathsError
impl StructuralPartialEq for BasePathsError
Auto Trait Implementations
impl RefUnwindSafe for BasePathsError
impl Send for BasePathsError
impl Sync for BasePathsError
impl Unpin for BasePathsError
impl UnwindSafe for BasePathsError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.