[−][src]Struct combine::stream::CompleteStream
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]
fn clone(&self) -> CompleteStream<S>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn cmp(&self, other: &CompleteStream<S>) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<S: PartialEq> PartialEq<CompleteStream<S>> for CompleteStream<S>
[src]
fn eq(&self, other: &CompleteStream<S>) -> bool
[src]
fn ne(&self, other: &CompleteStream<S>) -> bool
[src]
impl<S: PartialOrd> PartialOrd<CompleteStream<S>> for CompleteStream<S>
[src]
fn partial_cmp(&self, other: &CompleteStream<S>) -> Option<Ordering>
[src]
fn lt(&self, other: &CompleteStream<S>) -> bool
[src]
fn le(&self, other: &CompleteStream<S>) -> bool
[src]
fn gt(&self, other: &CompleteStream<S>) -> bool
[src]
fn ge(&self, other: &CompleteStream<S>) -> bool
[src]
impl<S> Positioned for CompleteStream<S> where
S: Positioned,
[src]
S: Positioned,
impl<S> RangeStreamOnce for CompleteStream<S> where
S: RangeStreamOnce,
[src]
S: RangeStreamOnce,
fn uncons_range(
&mut self,
size: usize
) -> Result<Self::Range, StreamErrorFor<Self>>
[src]
&mut self,
size: usize
) -> Result<Self::Range, StreamErrorFor<Self>>
fn uncons_while<F>(&mut self, f: F) -> Result<Self::Range, StreamErrorFor<Self>> where
F: FnMut(Self::Token) -> bool,
[src]
F: FnMut(Self::Token) -> bool,
fn uncons_while1<F>(
&mut self,
f: F
) -> ParseResult<Self::Range, StreamErrorFor<Self>> where
F: FnMut(Self::Token) -> bool,
[src]
&mut self,
f: F
) -> ParseResult<Self::Range, StreamErrorFor<Self>> where
F: FnMut(Self::Token) -> bool,
fn distance(&self, end: &Self::Checkpoint) -> usize
[src]
fn range(&self) -> Self::Range
[src]
impl<S> ResetStream for CompleteStream<S> where
S: ResetStream,
[src]
S: ResetStream,
type Checkpoint = S::Checkpoint
fn checkpoint(&self) -> Self::Checkpoint
[src]
fn reset(&mut self, checkpoint: Self::Checkpoint) -> Result<(), S::Error>
[src]
impl<S> StreamOnce for CompleteStream<S> where
S: StreamOnce,
[src]
S: StreamOnce,
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
fn uncons(&mut self) -> Result<S::Token, StreamErrorFor<Self>>
[src]
fn is_partial(&self) -> bool
[src]
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,
S: RefUnwindSafe,
impl<S> Send for CompleteStream<S> where
S: Send,
S: Send,
impl<S> Sync for CompleteStream<S> where
S: Sync,
S: Sync,
impl<S> Unpin for CompleteStream<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for CompleteStream<S> where
S: UnwindSafe,
S: UnwindSafe,
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,
fn borrow(&self) -> &TⓘNotable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
[src]
Notable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut TⓘNotable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
[src]
Notable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
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]
U: From<T>,
impl<Input> RangeStream for Input where
Input: RangeStreamOnce + Stream,
[src]
Input: RangeStreamOnce + Stream,
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]
Input: StreamOnce + Positioned + ResetStream,
<Input as StreamOnce>::Error: ParseError<<Input as StreamOnce>::Token, <Input as StreamOnce>::Range, <Input as StreamOnce>::Position>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,