[][src]Enum hg_parser::ErrorKind

pub enum ErrorKind {
    Parser,
    FromUtf8(Utf8Error),
    IO(Error),
    InvalidPath(String),
    RevisionLogFailure(String),
    InvalidDateTime(String),
    UnknownRequirement(String),
    Manifest(String),
}

Variants

Parser

Parser failed.

FromUtf8(Utf8Error)

Cannot convert from Utf-8.

IO(Error)

IO error.

InvalidPath(String)

Invalid path.

RevisionLogFailure(String)

RevisionLog load failure.

InvalidDateTime(String)

Cannot convert date/time.

UnknownRequirement(String)

Requirement in .hg/requires is not supported.

Manifest(String)

Manifest issue.

Trait Implementations

impl From<Error> for ErrorKind[src]

impl<'_> From<Err<&'_ [u8], u32>> for ErrorKind[src]

impl From<ParseError> for ErrorKind[src]

impl From<Utf8Error> for ErrorKind[src]

impl Debug for ErrorKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self