pub struct GapEvent {
pub stream_time_ns: i64,
pub reason: GapReason,
pub dropped_frames: Option<u32>,
}Expand description
A discontinuity notice: frames were lost or the stream restarted.
Fields§
§stream_time_ns: i64§reason: GapReason§dropped_frames: Option<u32>Trait Implementations§
impl Eq for GapEvent
impl StructuralPartialEq for GapEvent
Auto Trait Implementations§
impl Freeze for GapEvent
impl RefUnwindSafe for GapEvent
impl Send for GapEvent
impl Sync for GapEvent
impl Unpin for GapEvent
impl UnsafeUnpin for GapEvent
impl UnwindSafe for GapEvent
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