Enum streamid::StreamType
source · #[repr(u8)]
pub enum StreamType {
Tile,
Caip10Link,
Model,
Mid,
Unloadable,
}
Variants§
Trait Implementations§
source§impl Clone for StreamType
impl Clone for StreamType
source§fn clone(&self) -> StreamType
fn clone(&self) -> StreamType
Returns a copy 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 StreamType
impl Debug for StreamType
source§impl<'de> Deserialize<'de> for StreamType
impl<'de> Deserialize<'de> for StreamType
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 Display for StreamType
impl Display for StreamType
source§impl From<StreamType> for u8
impl From<StreamType> for u8
source§fn from(enum_value: StreamType) -> Self
fn from(enum_value: StreamType) -> Self
Converts to this type from the input type.
source§impl FromStr for StreamType
impl FromStr for StreamType
source§impl Hash for StreamType
impl Hash for StreamType
source§impl PartialEq<StreamType> for StreamType
impl PartialEq<StreamType> for StreamType
source§fn eq(&self, other: &StreamType) -> bool
fn eq(&self, other: &StreamType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StreamType
impl Serialize for StreamType
source§impl TryFrom<u8> for StreamType
impl TryFrom<u8> for StreamType
§type Error = TryFromPrimitiveError<StreamType>
type Error = TryFromPrimitiveError<StreamType>
The type returned in the event of a conversion error.