pub enum GitModulePathError {
Invalid(RelativePathError),
Dot,
}Expand description
An error constructing a GitModulePath.
Variants§
Invalid(RelativePathError)
The underlying RelativePath validation failed.
Dot
The path is ".", which is equivalent to no sub-path and
therefore disallowed.
Trait Implementations§
Source§impl Clone for GitModulePathError
impl Clone for GitModulePathError
Source§fn clone(&self) -> GitModulePathError
fn clone(&self) -> GitModulePathError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GitModulePathError
impl Debug for GitModulePathError
Source§impl Display for GitModulePathError
impl Display for GitModulePathError
impl Eq for GitModulePathError
Source§impl Error for GitModulePathError
impl Error for GitModulePathError
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<GitModulePathError> for DependencySourceError
impl From<GitModulePathError> for DependencySourceError
Source§fn from(source: GitModulePathError) -> Self
fn from(source: GitModulePathError) -> Self
Converts to this type from the input type.
Source§impl From<RelativePathError> for GitModulePathError
impl From<RelativePathError> for GitModulePathError
Source§fn from(source: RelativePathError) -> Self
fn from(source: RelativePathError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GitModulePathError
impl PartialEq for GitModulePathError
Source§fn eq(&self, other: &GitModulePathError) -> bool
fn eq(&self, other: &GitModulePathError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GitModulePathError
Auto Trait Implementations§
impl Freeze for GitModulePathError
impl RefUnwindSafe for GitModulePathError
impl Send for GitModulePathError
impl Sync for GitModulePathError
impl Unpin for GitModulePathError
impl UnsafeUnpin for GitModulePathError
impl UnwindSafe for GitModulePathError
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§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.