pub enum StreamKinds {
Audio(AudioStream),
Video(VideoStream),
Subtitle(SubtitleStream),
Attachment(AttachmentStream),
Data(DataStream),
Unknown,
Nb,
}Expand description
codec_type as enum
Variants§
Audio(AudioStream)
Video(VideoStream)
Subtitle(SubtitleStream)
Attachment(AttachmentStream)
Data(DataStream)
Unknown
Nb
Trait Implementations§
Source§impl Clone for StreamKinds
impl Clone for StreamKinds
Source§fn clone(&self) -> StreamKinds
fn clone(&self) -> StreamKinds
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 StreamKinds
impl Debug for StreamKinds
Source§impl<'de> Deserialize<'de> for StreamKinds
impl<'de> Deserialize<'de> for StreamKinds
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 StreamKinds
impl PartialEq for StreamKinds
Source§impl Serialize for StreamKinds
impl Serialize for StreamKinds
impl Eq for StreamKinds
impl StructuralPartialEq for StreamKinds
Auto Trait Implementations§
impl Freeze for StreamKinds
impl RefUnwindSafe for StreamKinds
impl Send for StreamKinds
impl Sync for StreamKinds
impl Unpin for StreamKinds
impl UnsafeUnpin for StreamKinds
impl UnwindSafe for StreamKinds
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