[−][src]Enum combine::error::StringStreamError
Variants
UnexpectedParse
Eoi
CharacterBoundary
Trait Implementations
impl<Item, Range> StreamError<Item, Range> for StringStreamError
[src]
impl<Item, Range> StreamError<Item, Range> for StringStreamError
fn unexpected_token(_: Item) -> Self | [src] |
fn unexpected_range(_: Range) -> Self | [src] |
fn unexpected_message<T>(_msg: T) -> Self where | [src] |
fn expected_token(_: Item) -> Self | [src] |
fn expected_range(_: Range) -> Self | [src] |
fn expected_message<T>(_: T) -> Self where | [src] |
fn message_message<T>(_: T) -> Self where | [src] |
fn message_token(_: Item) -> Self | [src] |
fn message_range(_: Range) -> Self | [src] |
fn message_static_message(msg: &'static str) -> Self | [src] |
fn end_of_input() -> Self | [src] |
fn into_other<T>(self) -> T where | [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 | [src] |
impl<Item, Range, Position> ParseError<Item, Range, Position> for StringStreamError where
Position: Default,
[src]
impl<Item, Range, Position> ParseError<Item, Range, Position> for StringStreamError where
Position: Default,
type StreamError = Self
fn empty(_position: Position) -> Self | [src] |
fn from_error(_: Position, err: Self::StreamError) -> Self | [src] |
fn set_position(&mut self, _position: Position) | [src] |
fn add(&mut self, err: Self::StreamError) | [src] |
fn set_expected<F>(self_: &mut Tracked<Self>, info: Self::StreamError, f: F) where | [src] |
fn is_unexpected_end_of_input(&self) -> bool | [src] |
fn into_other<T>(self) -> T where | [src] |
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 Copy for StringStreamError
[src]
impl Copy for StringStreamError
impl Clone for StringStreamError
[src]
impl Clone for StringStreamError
fn clone(&self) -> StringStreamError | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl PartialEq<StringStreamError> for StringStreamError
[src]
impl PartialEq<StringStreamError> for StringStreamError
fn eq(&self, other: &StringStreamError) -> bool | [src] |
| 1.0.0 [src] |
This method tests for !=
.
impl Debug for StringStreamError
[src]
impl Debug for StringStreamError
impl Display for StringStreamError
[src]
impl Display for StringStreamError
Auto Trait Implementations
impl Send for StringStreamError
impl Send for StringStreamError
impl Sync for StringStreamError
impl Sync for StringStreamError
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T> ToString for T where
T: Display + ?Sized,
[src]
impl<T> ToString for T where
T: Display + ?Sized,
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
ⓘImportant traits for &'a mut W
ⓘImportant traits for &'a mut W
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,