pub enum GitStatusParseError {
Empty,
UnknownLabel,
InvalidPorcelainCode,
}Expand description
Error returned while parsing status vocabulary.
Variants§
Empty
The supplied label was empty.
UnknownLabel
The supplied label was not recognized.
InvalidPorcelainCode
The supplied porcelain code was not two characters.
Trait Implementations§
Source§impl Clone for GitStatusParseError
impl Clone for GitStatusParseError
Source§fn clone(&self) -> GitStatusParseError
fn clone(&self) -> GitStatusParseError
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 GitStatusParseError
impl Debug for GitStatusParseError
Source§impl Display for GitStatusParseError
impl Display for GitStatusParseError
Source§impl Error for GitStatusParseError
impl Error for GitStatusParseError
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 GitStatusParseError
impl PartialEq for GitStatusParseError
Source§fn eq(&self, other: &GitStatusParseError) -> bool
fn eq(&self, other: &GitStatusParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GitStatusParseError
impl Eq for GitStatusParseError
impl StructuralPartialEq for GitStatusParseError
Auto Trait Implementations§
impl Freeze for GitStatusParseError
impl RefUnwindSafe for GitStatusParseError
impl Send for GitStatusParseError
impl Sync for GitStatusParseError
impl Unpin for GitStatusParseError
impl UnsafeUnpin for GitStatusParseError
impl UnwindSafe for GitStatusParseError
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