pub enum GetTendrilsRepoError {
GivenInvalid {
path: PathBuf,
},
DefaultInvalid {
path: PathBuf,
},
DefaultNotSet,
ConfigError(GetConfigError),
}Expand description
Indicates an error while determining the Tendrils repo to use.
Variants§
GivenInvalid
The given path is not a valid Tendrils repo.
DefaultInvalid
The default Tendrils repo is not a valid Tendrils repo.
DefaultNotSet
The default Tendrils repo is not set.
ConfigError(GetConfigError)
A general error while reading the global configuration file.
Trait Implementations§
Source§impl Clone for GetTendrilsRepoError
impl Clone for GetTendrilsRepoError
Source§fn clone(&self) -> GetTendrilsRepoError
fn clone(&self) -> GetTendrilsRepoError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetTendrilsRepoError
impl Debug for GetTendrilsRepoError
Source§impl From<GetConfigError> for GetTendrilsRepoError
impl From<GetConfigError> for GetTendrilsRepoError
Source§fn from(err: GetConfigError) -> Self
fn from(err: GetConfigError) -> Self
Converts to this type from the input type.
Source§impl From<GetTendrilsRepoError> for SetupError
impl From<GetTendrilsRepoError> for SetupError
Source§fn from(err: GetTendrilsRepoError) -> Self
fn from(err: GetTendrilsRepoError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetTendrilsRepoError
impl PartialEq for GetTendrilsRepoError
Source§impl ToString for GetTendrilsRepoError
impl ToString for GetTendrilsRepoError
impl Eq for GetTendrilsRepoError
impl StructuralPartialEq for GetTendrilsRepoError
Auto Trait Implementations§
impl Freeze for GetTendrilsRepoError
impl RefUnwindSafe for GetTendrilsRepoError
impl Send for GetTendrilsRepoError
impl Sync for GetTendrilsRepoError
impl Unpin for GetTendrilsRepoError
impl UnsafeUnpin for GetTendrilsRepoError
impl UnwindSafe for GetTendrilsRepoError
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.