#[repr(C)]pub struct moq_subscription {
pub priority: u8,
pub ordered: bool,
pub latency_max_ms: u64,
pub group_start: u64,
pub group_start_valid: bool,
pub group_end: u64,
pub group_end_valid: bool,
}Expand description
Subscriber-side raw track delivery preferences.
A null moq_consume_track or moq_consume_track_update subscription
pointer uses the moq-net defaults.
Fields§
§priority: u8Delivery priority. Higher values preempt lower ones under contention.
ordered: boolWhether groups are prioritized in sequence order. Groups may always arrive out-of-order (or not at all) over the network.
latency_max_ms: u64Maximum age of a non-latest group before it is skipped, in milliseconds. Zero skips immediately. Enforced by the publisher’s cache and by any local buffering.
group_start: u64First group to deliver.
group_start_valid: boolWhether group_start is present. When false, delivery starts at the latest group.
group_end: u64Last group to deliver, inclusive.
group_end_valid: boolWhether group_end is present. When false, there is no end cap.
Trait Implementations§
Source§impl From<&moq_subscription> for Subscription
impl From<&moq_subscription> for Subscription
Source§fn from(subscription: &moq_subscription) -> Self
fn from(subscription: &moq_subscription) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for moq_subscription
impl RefUnwindSafe for moq_subscription
impl Send for moq_subscription
impl Sync for moq_subscription
impl Unpin for moq_subscription
impl UnsafeUnpin for moq_subscription
impl UnwindSafe for moq_subscription
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