Trait combine::stream::Resetable [−][src]
pub trait Resetable { type Checkpoint: Clone; fn checkpoint(&self) -> Self::Checkpoint; fn reset(&mut self, checkpoint: Self::Checkpoint); }
Associated Types
type Checkpoint: Clone
Required Methods
fn checkpoint(&self) -> Self::Checkpoint
fn reset(&mut self, checkpoint: Self::Checkpoint)
Implementations on Foreign Types
impl<'a> Resetable for &'a str
[src]
impl<'a> Resetable for &'a str
impl<'a, T> Resetable for &'a [T]
[src]
impl<'a, T> Resetable for &'a [T]
Implementors
impl<I> Resetable for BufferedStream<I> where
I: Positioned, type Checkpoint = usize;impl<S> Resetable for Stream<S> where
S: Resetable, type Checkpoint = S::Checkpoint;impl Resetable for IndexPositioner type Checkpoint = Self;
impl Resetable for SourcePosition type Checkpoint = Self;
impl<I, X> Resetable for State<I, X> where
I: Resetable,
X: Resetable, type Checkpoint = State<I::Checkpoint, X::Checkpoint>;impl<'a, T> Resetable for SliceStream<'a, T> type Checkpoint = Self;
impl<T: Clone> Resetable for IteratorStream<T> type Checkpoint = Self;
impl<S> Resetable for PartialStream<S> where
S: Resetable, type Checkpoint = S::Checkpoint;