Enum git_nomad::git_ref::GitRefParseError
source · pub enum GitRefParseError {
MissingName(String),
MissingCommitId(String),
TooManyParts(String),
}
Expand description
All the ways a git show-ref
line can fail to parse.
Variants§
Trait Implementations§
source§impl Debug for GitRefParseError
impl Debug for GitRefParseError
source§impl Display for GitRefParseError
impl Display for GitRefParseError
source§impl Error for GitRefParseError
impl Error for GitRefParseError
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 GitRefParseError
impl PartialEq for GitRefParseError
impl Eq for GitRefParseError
impl StructuralPartialEq for GitRefParseError
Auto Trait Implementations§
impl Freeze for GitRefParseError
impl RefUnwindSafe for GitRefParseError
impl Send for GitRefParseError
impl Sync for GitRefParseError
impl Unpin for GitRefParseError
impl UnwindSafe for GitRefParseError
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