Expand description
A parsed Opus packet, retuned from parse
.
Fields
toc: u8
The TOC byte of the packet.
frames: Vec<&'a [u8]>
The frames contained in the packet.
payload_offset: usize
The offset into the packet at which the payload is located.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Packet<'a>
impl<'a> Send for Packet<'a>
impl<'a> Sync for Packet<'a>
impl<'a> Unpin for Packet<'a>
impl<'a> UnwindSafe for Packet<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more