[−][src]Enum skellige::prelude::git::Error
Define common error wrapper type
Variants
BranchNotFound(String)
An error indicating that the given branch was not found.
An error indicating that only fast forwards are allowed.
Fungus(FuError)
An error from fungus which might contain more errors
Git2(Error)
Git2 wrapped error
An error indicating that no message was found.
Progress(Error)
RepoNotFound(String)
An error indicating that the given repo was not found.
An error indicating that the URL was not set for the repo.
Implementations
impl Error
[src]
pub fn branch_not_found<T: AsRef<str>>(pkg: T) -> Error
[src]
Return an error indicating that the given branch was not found.
pub fn repo_not_found<T: AsRef<str>>(repo: T) -> Error
[src]
Return an error indicating that the given repo was not found.
pub fn is<T: StdError + 'static>(&self) -> bool
[src]
Implemented directly on the Error
type to reduce casting required
pub fn downcast_ref<T: StdError + 'static>(&self) -> Option<&T>
[src]
Implemented directly on the Error
type to reduce casting required
pub fn downcast_mut<T: StdError + 'static>(&mut self) -> Option<&mut T>
[src]
Implemented directly on the Error
type to reduce casting required
pub fn source(&self) -> Option<&(dyn StdError + 'static)>
[src]
Implemented directly on the Error
type to reduce casting required
Trait Implementations
impl AsMut<dyn Error + 'static> for Error
[src]
impl AsRef<dyn Error + 'static> for Error
[src]
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<FuError> for Error
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Error
[src]
impl Send for Error
[src]
impl Sync for Error
[src]
impl Unpin for Error
[src]
impl !UnwindSafe for Error
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,