[][src]Enum cnf_parser::Error

pub enum Error<OutputError> {
    Output(OutputError),
    UnexpectedByte {
        at: usize,
        encountered: Option<u8>,
        expected: Option<u8>,
    },
    InvalidTokenStart {
        at: usize,
        encountered: u8,
    },
    ExpectedWhitespace {
        at: usize,
        encountered: Option<u8>,
    },
    OutOfRangeU32 {
        at: usize,
        encountered: u64,
    },
    OutOfRangeI32 {
        at: usize,
        encountered: u32,
    },
    DuplicateProblem {
        at: usize,
        duplicate: Problem,
    },
}

Errors encountered while parsing CNF input.

Variants

Output(OutputError)
UnexpectedByte

Fields of UnexpectedByte

at: usizeencountered: Option<u8>expected: Option<u8>
InvalidTokenStart

Fields of InvalidTokenStart

at: usizeencountered: u8
ExpectedWhitespace

Fields of ExpectedWhitespace

at: usizeencountered: Option<u8>
OutOfRangeU32

Fields of OutOfRangeU32

at: usizeencountered: u64
OutOfRangeI32

Fields of OutOfRangeI32

at: usizeencountered: u32
DuplicateProblem

Fields of DuplicateProblem

at: usizeduplicate: Problem

Trait Implementations

impl<OutputError: Clone> Clone for Error<OutputError>[src]

impl<OutputError: Debug> Debug for Error<OutputError>[src]

impl<OutputError: Eq> Eq for Error<OutputError>[src]

impl<OutputError: PartialEq> PartialEq<Error<OutputError>> for Error<OutputError>[src]

impl<OutputError> StructuralEq for Error<OutputError>[src]

impl<OutputError> StructuralPartialEq for Error<OutputError>[src]

Auto Trait Implementations

impl<OutputError> RefUnwindSafe for Error<OutputError> where
    OutputError: RefUnwindSafe

impl<OutputError> Send for Error<OutputError> where
    OutputError: Send

impl<OutputError> Sync for Error<OutputError> where
    OutputError: Sync

impl<OutputError> Unpin for Error<OutputError> where
    OutputError: Unpin

impl<OutputError> UnwindSafe for Error<OutputError> where
    OutputError: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.