#[repr(u16)]pub enum Channel {
Network = 2,
System = 3,
Audio = 4,
Video = 6,
Source = 8,
Other = 65_535,
}
Expand description
The IDs which are assigned every roles of chunks.
This is mainly used for the BasicHeader
’s chunk ID.
Variants correspond to respectively following chunks:
Patttern | Message Type |
---|---|
Network | ChunkSize |
System | Command |
Audio | SetDataFrame , Audio |
Video | Video |
Other | other chunks |
Variants§
Trait Implementations§
Source§impl Ord for Channel
impl Ord for Channel
Source§impl PartialOrd for Channel
impl PartialOrd for Channel
impl Copy for Channel
impl Eq for Channel
impl StructuralPartialEq for Channel
Auto Trait Implementations§
impl Freeze for Channel
impl RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl UnwindSafe for Channel
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