Skip to main content

PacketFormat

Trait PacketFormat 

Source
pub trait PacketFormat:
    NativePacketFormat
    + Copy
    + Debug
    + Send
    + Sync { }
Expand description

A compressed packet’s checked media format.

This trait is sealed and implemented by VideoPacketFormat and AudioPacketFormat. The format determines the SDK descriptor and which packets can be received or sent.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§