pub enum GitSourceError {
RepoOpen(String),
Git2(Error),
}Expand description
Git 源操作错误。
Variants§
Trait Implementations§
Source§impl Debug for GitSourceError
impl Debug for GitSourceError
Source§impl Display for GitSourceError
impl Display for GitSourceError
Source§impl Error for GitSourceError
impl Error for GitSourceError
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 From<Error> for GitSourceError
impl From<Error> for GitSourceError
Source§fn from(e: Error) -> GitSourceError
fn from(e: Error) -> GitSourceError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GitSourceError
impl RefUnwindSafe for GitSourceError
impl Send for GitSourceError
impl Sync for GitSourceError
impl Unpin for GitSourceError
impl UnsafeUnpin for GitSourceError
impl UnwindSafe for GitSourceError
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