pub enum SeekEvent {
Completed {
pts: Duration,
},
}Expand description
An event emitted by DecodeBuffer after a
seek_async completes.
Obtain the receiver via DecodeBuffer::seek_events and poll it with
try_recv() (non-blocking) or recv() (blocking).
Variants§
Completed
The seek initiated by seek_async has completed.
pts is the presentation timestamp of the first frame available after
the seek. Events are typically delivered within ~200 ms for local files.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SeekEvent
impl RefUnwindSafe for SeekEvent
impl Send for SeekEvent
impl Sync for SeekEvent
impl Unpin for SeekEvent
impl UnsafeUnpin for SeekEvent
impl UnwindSafe for SeekEvent
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