Enum combine::error::StringStreamError [−][src]
Variants
Trait Implementations
impl Clone for StringStreamError
[src]
fn clone(&self) -> StringStreamError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for StringStreamError
[src]
impl Debug for StringStreamError
[src]
impl Display for StringStreamError
[src]
impl<Item, Range, Position> ParseError<Item, Range, Position> for StringStreamError where
Position: Default,
[src]
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
F: FnOnce(&mut Tracked<Self>),
[src]
F: FnOnce(&mut Tracked<Self>),
fn is_unexpected_end_of_input(&self) -> bool
[src]
fn into_other<T>(self) -> T where
T: ParseError<Item, Range, Position>,
[src]
T: ParseError<Item, Range, Position>,
fn merge(self, other: Self) -> Self
[src]
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]
impl PartialEq<StringStreamError> for StringStreamError
[src]
fn eq(&self, other: &StringStreamError) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<Item, Range> StreamError<Item, Range> for StringStreamError
[src]
fn unexpected_token(_: Item) -> Self
[src]
fn unexpected_range(_: Range) -> Self
[src]
fn unexpected_message<T>(_msg: T) -> Self where
T: Display,
[src]
T: Display,
fn expected_token(_: Item) -> Self
[src]
fn expected_range(_: Range) -> Self
[src]
fn expected_message<T>(_: T) -> Self where
T: Display,
[src]
T: Display,
fn message_message<T>(_: T) -> Self where
T: Display,
[src]
T: Display,
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
T: StreamError<Item, Range>,
[src]
T: StreamError<Item, Range>,
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]
E: StdError + Send + Sync + 'static,
impl StructuralPartialEq for StringStreamError
[src]
Auto Trait Implementations
impl RefUnwindSafe for StringStreamError
impl Send for StringStreamError
impl Sync for StringStreamError
impl Unpin for StringStreamError
impl UnwindSafe for StringStreamError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow(&self) -> &TⓘNotable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
[src]
Notable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut TⓘNotable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
[src]
Notable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,