pub struct PackScan<'a> {
pub packs: Vec<Pack<'a>>,
pub skipped: Vec<SkippedRegion>,
pub remaining: &'a [u8],
}Expand description
The outcome of scan_packs.
Fields§
§packs: Vec<Pack<'a>>Every pack that parsed, in stream order.
skipped: Vec<SkippedRegion>Every region skipped after a parse failure, in stream order.
remaining: &'a [u8]Bytes after the last pack / MPEG_program_end_code (fewer than a
start code, or whatever followed the end code).
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PackScan<'a>
impl<'a> RefUnwindSafe for PackScan<'a>
impl<'a> Send for PackScan<'a>
impl<'a> Sync for PackScan<'a>
impl<'a> Unpin for PackScan<'a>
impl<'a> UnsafeUnpin for PackScan<'a>
impl<'a> UnwindSafe for PackScan<'a>
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