#[repr(C)]pub enum moq_demand {
MOQ_DEMAND_USED = 1,
MOQ_DEMAND_UNUSED = 2,
}Expand description
Whether a published track has subscribers, as reported by a demand watcher.
The positive values an on_demand callback receives; 0 and negative codes are
the terminal statuses every callback shares.
Variants§
MOQ_DEMAND_USED = 1
At least one subscriber is active.
MOQ_DEMAND_UNUSED = 2
No subscriber is active.
Trait Implementations§
Source§impl Clone for moq_demand
impl Clone for moq_demand
impl Copy for moq_demand
Auto Trait Implementations§
impl Freeze for moq_demand
impl RefUnwindSafe for moq_demand
impl Send for moq_demand
impl Sync for moq_demand
impl Unpin for moq_demand
impl UnsafeUnpin for moq_demand
impl UnwindSafe for moq_demand
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