#[non_exhaustive]pub enum RecorderEventKind {
Started,
Rollover,
OpenFailed,
WriteFailed,
Error,
FormatChanged,
FirstFrame,
SourceLost,
SourceConnected,
FileClosed,
ProxyMissing,
Unknown(u32),
}Expand description
Recorder event kind; a write failure is not necessarily fatal.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Started
First output file opened.
Rollover
A new rollover file opened.
OpenFailed
Output open failed.
WriteFailed
Packet write failure, either fatal I/O or nonfatal missing track.
Error
Unrecoverable writer error.
FormatChanged
Source format changed.
FirstFrame
First audio/video packet was written; absent for metadata-only recording.
SourceLost
Source disconnected while recording remains active.
SourceConnected
Source resumed delivering packets.
FileClosed
Current file finalized and closed.
ProxyMissing
Expected proxy was unavailable.
Unknown(u32)
An unrecognized native event identifier. Its lifecycle effect cannot be established, so file tracking becomes incomplete while the event and its original identifier remain available.
Trait Implementations§
Source§impl Clone for RecorderEventKind
impl Clone for RecorderEventKind
impl Copy for RecorderEventKind
Source§impl Debug for RecorderEventKind
impl Debug for RecorderEventKind
impl Eq for RecorderEventKind
Source§impl Hash for RecorderEventKind
impl Hash for RecorderEventKind
Source§impl PartialEq for RecorderEventKind
impl PartialEq for RecorderEventKind
impl StructuralPartialEq for RecorderEventKind
Auto Trait Implementations§
impl Freeze for RecorderEventKind
impl RefUnwindSafe for RecorderEventKind
impl Send for RecorderEventKind
impl Sync for RecorderEventKind
impl Unpin for RecorderEventKind
impl UnsafeUnpin for RecorderEventKind
impl UnwindSafe for RecorderEventKind
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