#[repr(C)]pub struct moq_announce_update {
pub prefix: *const c_char,
pub prefix_len: usize,
pub captures: *const moq_string,
pub captures_len: usize,
pub has_captures: bool,
pub active: bool,
}Expand description
A route announcement or retraction from an origin.
Fields§
§prefix: *const c_charThe covered prefix, relative to the origin, NOT NULL terminated
prefix_len: usize§captures: *const moq_stringWhat each requested filter wildcard matched. Each string is NOT NULL terminated.
Meaningful only when has_captures is true; false means the route overlaps
the filter without pinning every wildcard.
captures_len: usize§has_captures: bool§active: boolWhether the route is active or was retracted This MUST toggle between true and false over the lifetime of the route
Auto Trait Implementations§
impl !Send for moq_announce_update
impl !Sync for moq_announce_update
impl Freeze for moq_announce_update
impl RefUnwindSafe for moq_announce_update
impl Unpin for moq_announce_update
impl UnsafeUnpin for moq_announce_update
impl UnwindSafe for moq_announce_update
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