[][src]Enum combine::error::StringStreamError

pub enum StringStreamError {
    UnexpectedParse,
    Eoi,
    CharacterBoundary,
}

Variants

UnexpectedParseEoiCharacterBoundary

Trait Implementations

impl<Item, Range> StreamError<Item, Range> for StringStreamError[src]

fn unexpected(info: Info<Item, Range>) -> Self[src]

fn unexpected_static_message(msg: &'static str) -> Self[src]

fn expected(info: Info<Item, Range>) -> Self[src]

fn expected_static_message(msg: &'static str) -> Self[src]

fn message(info: Info<Item, Range>) -> Self[src]

fn other<E>(err: E) -> Self where
    E: StdError + Send + Sync + 'static, 
[src]

impl<Item, Range, Position> ParseError<Item, Range, Position> for StringStreamError where
    Position: Default
[src]

type StreamError = Self

fn merge(self, other: Self) -> Self[src]

Merges two errors. If they exist at the same position the errors of other are added to self (using the semantics of add). If they are not at the same position the error furthest ahead are returned, ignoring the other ParseError. Read more

fn add_expected(&mut self, info: Info<Item, Range>)[src]

fn add_unexpected(&mut self, info: Info<Item, Range>)[src]

fn add_message(&mut self, info: Info<Item, Range>)[src]

fn clear_expected(&mut self)[src]

Removes any expected errors currently in self

impl PartialEq<StringStreamError> for StringStreamError[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for StringStreamError[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for StringStreamError[src]

impl Debug for StringStreamError[src]

impl Display for StringStreamError[src]

Auto Trait Implementations

impl Send for StringStreamError

impl Sync for StringStreamError

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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