Trait Packet

Source
pub trait Packet: Unpin + Clone {
    // Required method
    fn sequence_number(&self) -> u16;
}
Expand description

A packet which should be reordered and managed by the jitter buffer

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§