#[non_exhaustive]pub enum SessionEnd {
Closed(RecordingReport),
Indeterminate(RecordingReport),
}Expand description
The final outcome of a recording session.
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.
Closed(RecordingReport)
Every file the session opened is finalized. The report still records
any errors during the session, and
stopped_by_sdk says whether the
recording ran until it was asked to stop or the SDK ended it sooner.
Indeterminate(RecordingReport)
The session ended without RecordingReport::closure_confirmed.
Incomplete file tracking requires FileRecorder::reset before
another session starts. See StateConflict::IncompleteFileTracking.
Trait Implementations§
Source§impl Clone for SessionEnd
impl Clone for SessionEnd
Source§impl Debug for SessionEnd
impl Debug for SessionEnd
impl Eq for SessionEnd
Source§impl Hash for SessionEnd
impl Hash for SessionEnd
Source§impl PartialEq for SessionEnd
impl PartialEq for SessionEnd
impl StructuralPartialEq for SessionEnd
Auto Trait Implementations§
impl Freeze for SessionEnd
impl RefUnwindSafe for SessionEnd
impl Send for SessionEnd
impl Sync for SessionEnd
impl Unpin for SessionEnd
impl UnsafeUnpin for SessionEnd
impl UnwindSafe for SessionEnd
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