#[non_exhaustive]pub enum Message {
Session,
Announce,
TrackInfo,
Subscribe,
Fetch,
Probe,
Auth,
Goaway,
Other,
}Expand description
The bounded class of a successfully encoded or decoded control message.
Counters include prefixes inside a complete codec value, but exclude separately
coded selectors and raw payload writes. A framed IETF body counts after its
framing decodes, before request validation. Shared reply IDs use Self::Other.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Session
Session setup and information.
Announce
Namespace advertisements and listings.
TrackInfo
Track metadata and listings.
Subscribe
Live subscriptions and their updates.
Fetch
Finite fetch requests.
Probe
Bandwidth probes.
Auth
Authorization messages.
Goaway
Session or request migration.
Other
Other protocol control messages, including shared request responses.
Implementations§
Trait Implementations§
impl Copy for Message
impl Eq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.