#[repr(C)]pub struct moq_datagram {
pub payload: *const u8,
pub payload_size: usize,
pub timestamp_us: u64,
pub sequence: u64,
}Expand description
A best-effort raw track datagram delivered via moq_consume_datagrams.
Fields§
§payload: *const u8The payload of the datagram, or NULL/0 if the track has ended.
payload_size: usize§timestamp_us: u64The presentation timestamp of the datagram in microseconds.
sequence: u64Per-track sequence number, drawn from the same namespace as groups.
Auto Trait Implementations§
impl !Send for moq_datagram
impl !Sync for moq_datagram
impl Freeze for moq_datagram
impl RefUnwindSafe for moq_datagram
impl Unpin for moq_datagram
impl UnsafeUnpin for moq_datagram
impl UnwindSafe for moq_datagram
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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