pub struct AudioStreamingParser;Implementations§
Source§impl AudioStreamingParser
impl AudioStreamingParser
pub fn parse_as_general( &self, data: &[u8], ) -> Result<AudioStreamingDescriptor, DescriptorError>
Sourcepub fn parse_as_general_v2(
&self,
data: &[u8],
) -> Result<AsInterfaceGeneral, DescriptorError>
pub fn parse_as_general_v2( &self, data: &[u8], ) -> Result<AsInterfaceGeneral, DescriptorError>
Backward-compat: returns the V2 form (or V1 adapted)
pub fn parse_format_type_i( &self, data: &[u8], ) -> Result<FormatTypeI, DescriptorError>
pub fn parse_format_type_ii( &self, data: &[u8], ) -> Result<FormatTypeII, DescriptorError>
pub fn parse_format_type_iii( &self, data: &[u8], ) -> Result<FormatTypeIII, DescriptorError>
pub fn parse_endpoint_specific( &self, data: &[u8], ) -> Result<EndpointSpecific, DescriptorError>
Trait Implementations§
Auto Trait Implementations§
impl Forget for AudioStreamingParser
impl Freeze for AudioStreamingParser
impl Move for AudioStreamingParser
impl RefUnwindSafe for AudioStreamingParser
impl Send for AudioStreamingParser
impl Sync for AudioStreamingParser
impl Unpin for AudioStreamingParser
impl UnsafeUnpin for AudioStreamingParser
impl UnwindSafe for AudioStreamingParser
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