#[non_exhaustive]pub enum StreamKind {
Video(VideoInfo),
Audio(AudioInfo),
Subtitle,
Data,
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.
Trait Implementations§
Source§impl Clone for StreamKind
impl Clone for StreamKind
Source§impl Debug for StreamKind
impl Debug for StreamKind
Source§impl PartialEq for StreamKind
impl PartialEq for StreamKind
impl StructuralPartialEq for StreamKind
Auto Trait Implementations§
impl Forget for StreamKind
impl Freeze for StreamKind
impl RefUnwindSafe for StreamKind
impl Send for StreamKind
impl Sync for StreamKind
impl Unpin for StreamKind
impl UnsafeUnpin 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