pub enum GitRemoteNameError {
Empty,
InvalidName,
MissingRemoteOrBranch,
UnknownKind,
}Expand description
Error returned while parsing remote vocabulary.
Variants§
Empty
The supplied remote text was empty.
InvalidName
The supplied remote text used syntax this crate rejects.
MissingRemoteOrBranch
The supplied remote-tracking ref missed a remote or branch part.
UnknownKind
The supplied remote kind label was not recognized.
Trait Implementations§
Source§impl Clone for GitRemoteNameError
impl Clone for GitRemoteNameError
Source§fn clone(&self) -> GitRemoteNameError
fn clone(&self) -> GitRemoteNameError
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 GitRemoteNameError
impl Debug for GitRemoteNameError
Source§impl Display for GitRemoteNameError
impl Display for GitRemoteNameError
Source§impl Error for GitRemoteNameError
impl Error for GitRemoteNameError
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 PartialEq for GitRemoteNameError
impl PartialEq for GitRemoteNameError
Source§fn eq(&self, other: &GitRemoteNameError) -> bool
fn eq(&self, other: &GitRemoteNameError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GitRemoteNameError
impl Eq for GitRemoteNameError
impl StructuralPartialEq for GitRemoteNameError
Auto Trait Implementations§
impl Freeze for GitRemoteNameError
impl RefUnwindSafe for GitRemoteNameError
impl Send for GitRemoteNameError
impl Sync for GitRemoteNameError
impl Unpin for GitRemoteNameError
impl UnsafeUnpin for GitRemoteNameError
impl UnwindSafe for GitRemoteNameError
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