[][src]Struct combine::stream::CompleteStream

#[repr(transparent)]pub struct CompleteStream<S>(pub S);

Stream type which indicates that the stream is complete if end of input is reached

For most streams this is already the default but this wrapper can be used to override a nested PartialStream

Trait Implementations

impl<S: Clone> Clone for CompleteStream<S>[src]

impl<S: Copy> Copy for CompleteStream<S>[src]

impl<S: Debug> Debug for CompleteStream<S>[src]

impl<S: Eq> Eq for CompleteStream<S>[src]

impl<'s, S> From<&'s mut S> for &'s mut CompleteStream<S>[src]

impl<S> From<S> for CompleteStream<S>[src]

impl<S: Ord> Ord for CompleteStream<S>[src]

impl<S: PartialEq> PartialEq<CompleteStream<S>> for CompleteStream<S>[src]

impl<S: PartialOrd> PartialOrd<CompleteStream<S>> for CompleteStream<S>[src]

impl<S> Positioned for CompleteStream<S> where
    S: Positioned
[src]

impl<S> RangeStreamOnce for CompleteStream<S> where
    S: RangeStreamOnce
[src]

impl<S> ResetStream for CompleteStream<S> where
    S: ResetStream
[src]

type Checkpoint = S::Checkpoint

impl<S> StreamOnce for CompleteStream<S> 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> StructuralEq for CompleteStream<S>[src]

impl<S> StructuralPartialEq for CompleteStream<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for CompleteStream<S> where
    S: RefUnwindSafe

impl<S> Send for CompleteStream<S> where
    S: Send

impl<S> Sync for CompleteStream<S> where
    S: Sync

impl<S> Unpin for CompleteStream<S> where
    S: Unpin

impl<S> UnwindSafe for CompleteStream<S> where
    S: UnwindSafe

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<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<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.