#[non_exhaustive]pub struct SeekResult {
pub pts: Timestamp,
pub ordinal: u64,
pub random_access: RandomAccess,
pub config_epoch: u32,
}Expand description
What a seek actually landed on: the real timestamp and ordinal, never the request echoed back, plus the container’s random-access evidence.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.pts: TimestampThe presentation timestamp of the packet the demuxer resumes at.
ordinal: u64Its ordinal.
random_access: RandomAccessThe container’s random-access evidence there.
config_epoch: u32The configuration epoch in force there.
Implementations§
Source§impl SeekResult
impl SeekResult
Trait Implementations§
Source§impl Clone for SeekResult
impl Clone for SeekResult
Source§fn clone(&self) -> SeekResult
fn clone(&self) -> SeekResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SeekResult
Source§impl Debug for SeekResult
impl Debug for SeekResult
impl Eq for SeekResult
Source§impl PartialEq for SeekResult
impl PartialEq for SeekResult
impl StructuralPartialEq for SeekResult
Auto Trait Implementations§
impl Freeze for SeekResult
impl RefUnwindSafe for SeekResult
impl Send for SeekResult
impl Sync for SeekResult
impl Unpin for SeekResult
impl UnsafeUnpin for SeekResult
impl UnwindSafe for SeekResult
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