[][src]Struct combine::stream::PartialStream

pub struct PartialStream<S>(pub S);

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

Trait Implementations

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

impl<S> StreamOnce for PartialStream<S> where
    S: StreamOnce
[src]

type Item = S::Item

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::Item 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> ResetStream for PartialStream<S> where
    S: ResetStream
[src]

type Checkpoint = S::Checkpoint

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

impl<S> FullRangeStream for PartialStream<S> where
    S: FullRangeStream
[src]

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

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

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

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

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

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

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

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

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

Auto Trait Implementations

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

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

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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