pub struct Frame {
pub timestamp: Timestamp,
pub payload: Bytes,
}Expand description
A completed frame: a timestamp and its full, contiguous payload.
This is the stored form of every finished frame in a group. The payload is a
single Bytes, so a consumer gets it with one zero-copy slice.
Fields§
§timestamp: TimestampPresentation timestamp, at the parent track’s timescale.
payload: BytesThe full frame payload.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more