Struct webrtc_media::Sample
source · [−]pub struct Sample {
pub data: Bytes,
pub timestamp: SystemTime,
pub duration: Duration,
pub packet_timestamp: u32,
pub prev_dropped_packets: u16,
}
Expand description
A Sample contains encoded media and timing information
Fields
data: Bytes
timestamp: SystemTime
duration: Duration
packet_timestamp: u32
prev_dropped_packets: u16
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Sample
impl Send for Sample
impl Sync for Sample
impl Unpin for Sample
impl UnwindSafe for Sample
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more