pub trait IntoSequencer {
    // Required method
    fn into_sequencer(self) -> Sequencer ;
}
Expand description

Converts value into a Sequencer.

This trait is implemented for Sequencer and Sequence. For the latter it creates a new sequencer initialized with sequence value.

This trait also implemented for Sequencer passed by reference but behavior is different for alloc and no_alloc targets:

  • alloc: clones a sequencer
  • no_alloc: forks a sequencer using Sequencer::fork

Required Methods§

source

fn into_sequencer(self) -> Sequencer

Converts value into a Sequencer.

Implementors§