pub enum RefspecError {
Invalid(String),
}Expand description
Error returned when a refspec cannot be parsed.
Variants§
Trait Implementations§
Source§impl Clone for RefspecError
impl Clone for RefspecError
Source§fn clone(&self) -> RefspecError
fn clone(&self) -> RefspecError
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 RefspecError
impl Debug for RefspecError
Source§impl Display for RefspecError
impl Display for RefspecError
impl Eq for RefspecError
Source§impl Error for RefspecError
impl Error for RefspecError
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 RefspecError
impl PartialEq for RefspecError
Source§fn eq(&self, other: &RefspecError) -> bool
fn eq(&self, other: &RefspecError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RefspecError
Auto Trait Implementations§
impl Freeze for RefspecError
impl RefUnwindSafe for RefspecError
impl Send for RefspecError
impl Sync for RefspecError
impl Unpin for RefspecError
impl UnsafeUnpin for RefspecError
impl UnwindSafe for RefspecError
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