Sequencer

Trait Sequencer 

Source
pub trait Sequencer:
    Send
    + Sync
    + Debug {
    // Required methods
    fn next_sequence_number(&self) -> u16;
    fn roll_over_count(&self) -> u64;
    fn clone_to(&self) -> Box<dyn Sequencer>;
}
Expand description

Sequencer generates sequential sequence numbers for building RTP packets

Required Methods§

Trait Implementations§

Source§

impl Clone for Box<dyn Sequencer>

Source§

fn clone(&self) -> Box<dyn Sequencer>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§