pub enum Announce<'a> {
Active {
suffix: Path<'a>,
},
Ended {
suffix: Path<'a>,
},
}Expand description
Sent by the publisher to announce the availability of a track. The payload contains the contents of the wildcard.
Variants§
Trait Implementations§
Source§impl<'a> Message for Announce<'a>
impl<'a> Message for Announce<'a>
Source§fn decode_msg<R: Buf>(r: &mut R, version: Version) -> Result<Self, DecodeError>
fn decode_msg<R: Buf>(r: &mut R, version: Version) -> Result<Self, DecodeError>
Decode a size-prefixed message, ensuring exact size consumption.
impl<'a> Eq for Announce<'a>
impl<'a> StructuralPartialEq for Announce<'a>
Auto Trait Implementations§
impl<'a> Freeze for Announce<'a>
impl<'a> RefUnwindSafe for Announce<'a>
impl<'a> Send for Announce<'a>
impl<'a> Sync for Announce<'a>
impl<'a> Unpin for Announce<'a>
impl<'a> UnwindSafe for Announce<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)