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

pub struct Stream<S, U> {
    pub stream: S,
    pub state: U,
}

Fields

stream: Sstate: U

Trait Implementations

impl<S, U> Positioned for Stream<S, U> where
    S: Positioned
[src]

impl<S, U> StreamOnce for Stream<S, U> where
    S: StreamOnce
[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 = 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 = S::Error

impl<S, U> ResetStream for Stream<S, U> where
    S: ResetStream
[src]

type Checkpoint = S::Checkpoint

impl<S, U> RangeStreamOnce for Stream<S, U> where
    S: RangeStreamOnce
[src]

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

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

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

impl<S: Ord, U: Ord> Ord for Stream<S, U>[src]

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

impl<S: PartialOrd, U: PartialOrd> PartialOrd<Stream<S, U>> for Stream<S, U>[src]

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

Auto Trait Implementations

impl<S, U> Send for Stream<S, U> where
    S: Send,
    U: Send

impl<S, U> Sync for Stream<S, U> where
    S: Sync,
    U: Sync

impl<S, U> Unpin for Stream<S, U> where
    S: Unpin,
    U: Unpin

impl<S, U> UnwindSafe for Stream<S, U> where
    S: UnwindSafe,
    U: UnwindSafe

impl<S, U> RefUnwindSafe for Stream<S, U> where
    S: RefUnwindSafe,
    U: RefUnwindSafe

Blanket Implementations

impl<Input> Stream for Input where
    Input: StreamOnce + Positioned + ResetStream,
    <Input as StreamOnce>::Error: ParseError<<Input as StreamOnce>::Token, <Input as StreamOnce>::Range, <Input as StreamOnce>::Position>, 
[src]

impl<Input> RangeStream for Input where
    Input: RangeStreamOnce + Stream
[src]

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

impl<T> From<T> for T[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.

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

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

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