Enum hg_parser::ErrorKind [−][src]
pub enum ErrorKind { Parser, FromUtf8(Utf8Error), IO(Error), InvalidPath(String), RevisionLogFailure(String), InvalidDateTime(String), UnknownRequirement(String), Manifest(String), }
Variants
Expand description
Parser failed.
FromUtf8(Utf8Error)
Expand description
Cannot convert from Utf-8.
IO(Error)
Expand description
IO error.
InvalidPath(String)
Expand description
Invalid path.
RevisionLogFailure(String)
Expand description
RevisionLog load failure.
InvalidDateTime(String)
Expand description
Cannot convert date/time.
UnknownRequirement(String)
Expand description
Requirement in .hg/requires
is not supported.
Manifest(String)
Expand description
Manifest issue.
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<ParseError> for ErrorKind
[src]
impl From<ParseError> for ErrorKind
[src]fn from(value: ParseError) -> Self
[src]
fn from(value: ParseError) -> 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