Enum git_global::GitGlobalError
source · pub enum GitGlobalError {
BadSubcommand(String),
Generic,
}
Expand description
An error.
Variants§
Trait Implementations§
source§impl Debug for GitGlobalError
impl Debug for GitGlobalError
source§impl Display for GitGlobalError
impl Display for GitGlobalError
source§impl Error for GitGlobalError
impl Error for GitGlobalError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
source§impl From<Error> for GitGlobalError
impl From<Error> for GitGlobalError
source§fn from(err: Error) -> GitGlobalError
fn from(err: Error) -> GitGlobalError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GitGlobalError
impl RefUnwindSafe for GitGlobalError
impl Send for GitGlobalError
impl Sync for GitGlobalError
impl Unpin for GitGlobalError
impl UnwindSafe for GitGlobalError
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