[][src]Struct combine::stream::span::Stream

pub struct Stream<S, E>(pub S, _);

Trait Implementations

impl<S: Clone, E: Clone> Clone for Stream<S, E>[src]

impl<S: Copy, E: Copy> Copy for Stream<S, E>[src]

impl<S: Debug, E: Debug> Debug for Stream<S, E>[src]

impl<S: Eq, E: Eq> Eq for Stream<S, E>[src]

impl<S, E> From<S> for Stream<S, E>[src]

impl<S: PartialEq, E: PartialEq> PartialEq<Stream<S, E>> for Stream<S, E>[src]

impl<S, E> Positioned for Stream<S, E> where
    S: StreamOnce + Positioned,
    S::Token: PartialEq,
    S::Range: PartialEq,
    E: ParseError<S::Token, S::Range, Span<S::Position>>,
    S::Error: ParseErrorInto<S::Token, S::Range, S::Position>,
    <S::Error as ParseError<S::Token, S::Range, S::Position>>::StreamError: StreamErrorInto<S::Token, S::Range>, 
[src]

impl<S, E> RangeStreamOnce for Stream<S, E> where
    S: RangeStream,
    S::Token: PartialEq,
    S::Range: PartialEq,
    E: ParseError<S::Token, S::Range, Span<S::Position>>,
    S::Error: ParseErrorInto<S::Token, S::Range, S::Position>,
    <S::Error as ParseError<S::Token, S::Range, S::Position>>::StreamError: StreamErrorInto<S::Token, S::Range>, 
[src]

impl<S, E> ResetStream for Stream<S, E> where
    S: ResetStream + Positioned,
    S::Token: PartialEq,
    S::Range: PartialEq,
    E: ParseError<S::Token, S::Range, Span<S::Position>>,
    S::Error: ParseErrorInto<S::Token, S::Range, S::Position>,
    <S::Error as ParseError<S::Token, S::Range, S::Position>>::StreamError: StreamErrorInto<S::Token, S::Range>, 
[src]

type Checkpoint = S::Checkpoint

impl<S, E> StreamOnce for Stream<S, E> where
    S: StreamOnce + Positioned,
    S::Token: PartialEq,
    S::Range: PartialEq,
    E: ParseError<S::Token, S::Range, Span<S::Position>>,
    S::Error: ParseErrorInto<S::Token, S::Range, S::Position>,
    <S::Error as ParseError<S::Token, S::Range, S::Position>>::StreamError: StreamErrorInto<S::Token, S::Range>, 
[src]

type Token = S::Token

The type of items which is yielded from this stream.

type Range = S::Range

The type of a range of items yielded from this stream. Types which do not a have a way of yielding ranges of items should just use the Self::Token for this type. Read more

type Position = Span<S::Position>

Type which represents the position in a stream. Ord is required to allow parsers to determine which of two positions are further ahead. Read more

type Error = E

impl<S, E> StructuralEq for Stream<S, E>[src]

impl<S, E> StructuralPartialEq for Stream<S, E>[src]

Auto Trait Implementations

impl<S, E> RefUnwindSafe for Stream<S, E> where
    S: RefUnwindSafe
[src]

impl<S, E> Send for Stream<S, E> where
    S: Send
[src]

impl<S, E> Sync for Stream<S, E> where
    S: Sync
[src]

impl<S, E> Unpin for Stream<S, E> where
    S: Unpin
[src]

impl<S, E> UnwindSafe for Stream<S, E> where
    S: UnwindSafe
[src]

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<!> for T[src]

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

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

impl<Input> RangeStream for Input where
    Input: RangeStreamOnce + Stream
[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.