[go: up one dir, main page]

Trait rtp::sequence::Sequencer

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

Sequencer generates sequential sequence numbers for building RTP packets

Required Methods§

Trait Implementations§

source§

impl Clone for Box<dyn Sequencer + Send + Sync>

source§

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

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more

Implementors§