Trait mavio::protocol::IntoSequencer
source · 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 sequencerno_alloc
: forks a sequencer usingSequencer::fork
Required Methods§
sourcefn into_sequencer(self) -> Sequencer ⓘ
fn into_sequencer(self) -> Sequencer ⓘ
Converts value into a Sequencer
.