#[non_exhaustive]pub enum Control {
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 Control
impl Eq for Control
impl StructuralPartialEq for Control
Auto Trait Implementations§
impl Freeze for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnsafeUnpin for Control
impl UnwindSafe for Control
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