#[non_exhaustive]pub enum StopRequest {
Requested,
AlreadyStopping,
NotStarted,
AlreadyClosed,
AlreadyEnded,
}Expand description
What FileRecorder::request_stop did.
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.
Requested
This call asked the SDK to stop.
AlreadyStopping
The session was already stopping.
NotStarted
No session has been started.
AlreadyClosed
The session had already ended with every file closed.
AlreadyEnded
The session had already ended without confirmation that every file was closed.
Trait Implementations§
Source§impl Clone for StopRequest
impl Clone for StopRequest
impl Copy for StopRequest
Source§impl Debug for StopRequest
impl Debug for StopRequest
impl Eq for StopRequest
Source§impl Hash for StopRequest
impl Hash for StopRequest
Source§impl PartialEq for StopRequest
impl PartialEq for StopRequest
impl StructuralPartialEq for StopRequest
Auto Trait Implementations§
impl Freeze for StopRequest
impl RefUnwindSafe for StopRequest
impl Send for StopRequest
impl Sync for StopRequest
impl Unpin for StopRequest
impl UnsafeUnpin for StopRequest
impl UnwindSafe for StopRequest
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