pub enum StreamKind {
Voice,
Text,
Control,
Custom(u16),
}Expand description
Logical stream classification used to multiplex payloads.
Variants§
Trait Implementations§
Source§impl Clone for StreamKind
impl Clone for StreamKind
Source§fn clone(&self) -> StreamKind
fn clone(&self) -> StreamKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamKind
impl Debug for StreamKind
Source§impl<'de> Deserialize<'de> for StreamKind
impl<'de> Deserialize<'de> for StreamKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StreamKind
impl PartialEq for StreamKind
Source§impl Serialize for StreamKind
impl Serialize for StreamKind
impl Copy for StreamKind
impl Eq for StreamKind
impl StructuralPartialEq for StreamKind
Auto Trait Implementations§
impl Freeze for StreamKind
impl RefUnwindSafe for StreamKind
impl Send for StreamKind
impl Sync for StreamKind
impl Unpin for StreamKind
impl UnwindSafe for StreamKind
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