[][src]Trait combine::stream::Resetable

pub trait Resetable {
    type Checkpoint: Clone;
    fn checkpoint(&self) -> Self::Checkpoint;
fn reset(&mut self, checkpoint: Self::Checkpoint); }

Associated Types

Loading content...

Required methods

fn checkpoint(&self) -> Self::Checkpoint

fn reset(&mut self, checkpoint: Self::Checkpoint)

Loading content...

Implementations on Foreign Types

impl<'a> Resetable for &'a str[src]

type Checkpoint = Self

impl<'a, T> Resetable for &'a [T][src]

type Checkpoint = Self

Loading content...

Implementors

impl Resetable for IndexPositioner[src]

type Checkpoint = Self

impl Resetable for SourcePosition[src]

type Checkpoint = Self

impl<'a, T> Resetable for SliceStream<'a, T>[src]

type Checkpoint = Self

impl<I> Resetable for BufferedStream<I> where
    I: Positioned
[src]

type Checkpoint = usize

impl<I, X> Resetable for State<I, X> where
    I: Resetable,
    X: Resetable
[src]

type Checkpoint = State<I::Checkpoint, X::Checkpoint>

impl<S> Resetable for Stream<S> where
    S: Resetable
[src]

type Checkpoint = S::Checkpoint

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

type Checkpoint = S::Checkpoint

impl<T: Clone> Resetable for IteratorStream<T>[src]

type Checkpoint = Self

Loading content...