#[non_exhaustive]pub enum AacPacketType {
SequenceHeader,
Raw,
Unknown(u8),
}Expand description
AACPacketType of an AAC AACAUDIODATA (§E.4.2.2).
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.
SequenceHeader
0: AAC sequence header — the AudioSpecificConfig.
Raw
1: AAC raw — one raw AAC access unit.
Unknown(u8)
2 or above: outside the table, carried as written.
Implementations§
Trait Implementations§
Source§impl Clone for AacPacketType
impl Clone for AacPacketType
impl Copy for AacPacketType
Source§impl Debug for AacPacketType
impl Debug for AacPacketType
Source§impl<'de> Deserialize<'de> for AacPacketType
Available on crate feature serde only.
impl<'de> Deserialize<'de> for AacPacketType
Available on crate feature
serde only.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 AacPacketType
impl Display for AacPacketType
impl Eq for AacPacketType
Source§impl Hash for AacPacketType
impl Hash for AacPacketType
Source§impl PartialEq for AacPacketType
impl PartialEq for AacPacketType
Source§impl Serialize for AacPacketType
Available on crate feature serde only.
impl Serialize for AacPacketType
Available on crate feature
serde only.impl StructuralPartialEq for AacPacketType
Auto Trait Implementations§
impl Forget for AacPacketType
impl Freeze for AacPacketType
impl Move for AacPacketType
impl RefUnwindSafe for AacPacketType
impl Send for AacPacketType
impl Sync for AacPacketType
impl Unpin for AacPacketType
impl UnsafeUnpin for AacPacketType
impl UnwindSafe for AacPacketType
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