[−][src]Enum combine::stream::read::Error
This is supported on crate feature
std only.Variants
Io(Error)Trait Implementations
impl Debug for Error[src]
impl Display for Error[src]
impl<Item, Range, Position> ParseError<Item, Range, Position> for Error where
Position: Default, [src]
Position: Default,
type StreamError = Self
pub fn empty(_position: Position) -> Self[src]
pub fn from_error(_: Position, err: Self::StreamError) -> Self[src]
pub fn set_position(&mut self, _position: Position)[src]
pub fn add(&mut self, err: Self::StreamError)[src]
pub 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>),
pub fn is_unexpected_end_of_input(&self) -> bool[src]
pub fn into_other<T>(self) -> T where
T: ParseError<Item, Range, Position>, [src]
T: ParseError<Item, Range, Position>,
pub fn position(&self) -> Position[src]
pub fn merge(self, other: Self) -> Self[src]
pub fn add_expected<E>(&mut self, info: E) where
E: for<'s> ErrorInfo<'s, Item, Range>, [src]
E: for<'s> ErrorInfo<'s, Item, Range>,
pub fn add_unexpected<E>(&mut self, info: E) where
E: for<'s> ErrorInfo<'s, Item, Range>, [src]
E: for<'s> ErrorInfo<'s, Item, Range>,
pub fn add_message<E>(&mut self, info: E) where
E: for<'s> ErrorInfo<'s, Item, Range>, [src]
E: for<'s> ErrorInfo<'s, Item, Range>,
pub fn clear_expected(&mut self)[src]
impl PartialEq<Error> for Error[src]
pub fn eq(&self, other: &Self) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<Item, Range> StreamError<Item, Range> for Error[src]
pub fn unexpected_token(_: Item) -> Self[src]
pub fn unexpected_range(_: Range) -> Self[src]
pub fn unexpected_format<T>(_: T) -> Self where
T: Display, [src]
T: Display,
pub fn expected_token(_: Item) -> Self[src]
pub fn expected_range(_: Range) -> Self[src]
pub fn expected_format<T>(_: T) -> Self where
T: Display, [src]
T: Display,
pub fn message_format<T>(_: T) -> Self where
T: Display, [src]
T: Display,
pub fn message_token(_: Item) -> Self[src]
pub fn message_range(_: Range) -> Self[src]
pub fn end_of_input() -> Self[src]
pub fn is_unexpected_end_of_input(&self) -> bool[src]
pub fn into_other<T>(self) -> T where
T: StreamError<Item, Range>, [src]
T: StreamError<Item, Range>,
pub fn unexpected<E>(info: E) -> Self where
E: for<'s> ErrorInfo<'s, Item, Range>, [src]
E: for<'s> ErrorInfo<'s, Item, Range>,
pub fn unexpected_static_message(msg: &'static str) -> Self[src]
pub fn expected<E>(info: E) -> Self where
E: for<'s> ErrorInfo<'s, Item, Range>, [src]
E: for<'s> ErrorInfo<'s, Item, Range>,
pub fn expected_static_message(msg: &'static str) -> Self[src]
pub fn message_static_message(msg: &'static str) -> Self[src]
pub fn message<E>(info: E) -> Self where
E: for<'s> ErrorInfo<'s, Item, Range>, [src]
E: for<'s> ErrorInfo<'s, Item, Range>,
pub fn other<E>(err: E) -> Self where
E: StdError + Send + Sync + 'static, [src]
E: StdError + Send + Sync + 'static,
Auto Trait Implementations
impl !RefUnwindSafe for Error[src]
impl Send for Error[src]
impl Sync for Error[src]
impl Unpin for Error[src]
impl !UnwindSafe for Error[src]
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 W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;[src]
Notable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut TⓘNotable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;[src]
Notable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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>,