pub(crate) struct GitFailure(Box<dyn StdError + Send + Sync>);Expand description
A failure of a Git operation, kept as its source.
Tuple Fields§
§0: Box<dyn StdError + Send + Sync>Implementations§
Trait Implementations§
Source§impl Debug for GitFailure
impl Debug for GitFailure
Source§impl Display for GitFailure
impl Display for GitFailure
Source§impl Error for GitFailure
impl Error for GitFailure
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<GitFailure> for ProposalError
impl From<GitFailure> for ProposalError
Source§fn from(source: GitFailure) -> Self
fn from(source: GitFailure) -> Self
Converts to this type from the input type.
Source§impl From<GitFailure> for PublicationError
impl From<GitFailure> for PublicationError
Source§fn from(source: GitFailure) -> Self
fn from(source: GitFailure) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for GitFailure
impl !UnwindSafe for GitFailure
impl Freeze for GitFailure
impl Send for GitFailure
impl Sync for GitFailure
impl Unpin for GitFailure
impl UnsafeUnpin for GitFailure
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