pub enum MetadataBlockData {
StreamInfo(BlockStreamInfo),
Padding(usize),
Application(BlockApplication),
SeekTable(BlockSeekTable),
Comment(BlockVorbisComment),
CueSheet(BlockCueSheet),
Picture(BlockPicture),
Reserved((u8, Vec<u8>)),
}Variants§
StreamInfo(BlockStreamInfo)
Padding(usize)
Application(BlockApplication)
SeekTable(BlockSeekTable)
Comment(BlockVorbisComment)
CueSheet(BlockCueSheet)
Picture(BlockPicture)
Reserved((u8, Vec<u8>))
Implementations§
Trait Implementations§
Source§impl Debug for MetadataBlockData
impl Debug for MetadataBlockData
Source§impl From<&MetadataBlockData> for u8
impl From<&MetadataBlockData> for u8
Source§fn from(data: &MetadataBlockData) -> Self
fn from(data: &MetadataBlockData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MetadataBlockData
impl RefUnwindSafe for MetadataBlockData
impl Send for MetadataBlockData
impl Sync for MetadataBlockData
impl Unpin for MetadataBlockData
impl UnwindSafe for MetadataBlockData
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more