pub struct ResyncWalk<'a> {
pub tags: Vec<(usize, FlvTag<'a>)>,
pub damaged: Vec<usize>,
pub truncated_tail: Option<(usize, usize, usize)>,
}Expand description
An FLV stream walked tolerantly: every tag, the damaged spans skipped, and
whether the input ended on a short tail — see tags_resync.
Fields§
The complete tags, in order, with their offsets.
damaged: Vec<usize>Offsets of the spans whose tag framing was damaged and skipped.
truncated_tail: Option<(usize, usize, usize)>Some when the input ends mid-tag: the tag it stopped at, and the
bytes that tag would need against the bytes actually present.
Trait Implementations§
Source§impl<'a> Clone for ResyncWalk<'a>
impl<'a> Clone for ResyncWalk<'a>
Source§impl<'a> Debug for ResyncWalk<'a>
impl<'a> Debug for ResyncWalk<'a>
impl<'a> Eq for ResyncWalk<'a>
Source§impl<'a> PartialEq for ResyncWalk<'a>
impl<'a> PartialEq for ResyncWalk<'a>
impl<'a> StructuralPartialEq for ResyncWalk<'a>
Auto Trait Implementations§
impl<'a> Forget for ResyncWalk<'a>
impl<'a> Freeze for ResyncWalk<'a>
impl<'a> Move for ResyncWalk<'a>
impl<'a> RefUnwindSafe for ResyncWalk<'a>
impl<'a> Send for ResyncWalk<'a>
impl<'a> Sync for ResyncWalk<'a>
impl<'a> Unpin for ResyncWalk<'a>
impl<'a> UnsafeUnpin for ResyncWalk<'a>
impl<'a> UnwindSafe for ResyncWalk<'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