Enum hg_git_fast_import::error::ErrorKind [−][src]
pub enum ErrorKind { HgParserFailure(ErrorKind), Source(SourceRepositoryError), Target(TargetRepositoryError), Encoding(Utf8Error), IO(Error), VerifyFailure(String), WrongFileData(String), WrongUser(String), }
Variants
HgParserFailure(ErrorKind)
Source(SourceRepositoryError)
Target(TargetRepositoryError)
Encoding(Utf8Error)
IO(Error)
VerifyFailure(String)
WrongFileData(String)
WrongUser(String)
Trait Implementations
impl Fail for ErrorKind
[src]
impl Fail for ErrorKind
[src]fn cause(&self) -> Option<&dyn Fail>
[src]
fn cause(&self) -> Option<&dyn Fail>
[src]Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]Returns a reference to the Backtrace
carried by this failure, if it
carries one. Read more
impl From<SourceRepositoryError> for ErrorKind
[src]
impl From<SourceRepositoryError> for ErrorKind
[src]fn from(value: SourceRepositoryError) -> Self
[src]
fn from(value: SourceRepositoryError) -> Self
[src]Performs the conversion.
impl From<TargetRepositoryError> for ErrorKind
[src]
impl From<TargetRepositoryError> for ErrorKind
[src]fn from(value: TargetRepositoryError) -> Self
[src]
fn from(value: TargetRepositoryError) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl !UnwindSafe for ErrorKind
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,