pub struct RecordingHandle {
pub path: String,
pub started_at: Instant,
/* private fields */
}Expand description
Handle to an active xcrun simctl io recordVideo child process. Pair
with SimctlClient::record_video_stop for SIGINT-and-wait shutdown
(so the mp4 trailer is flushed). Dropping the handle without stop
would tokio-SIGKILL on Drop and truncate the output file.
Fields§
§path: StringOutput mp4 path verbatim as passed to record_video_start.
started_at: InstantWall-clock start time for “recording in progress for Xs” diagnostics.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RecordingHandle
impl !UnwindSafe for RecordingHandle
impl Freeze for RecordingHandle
impl Send for RecordingHandle
impl Sync for RecordingHandle
impl Unpin for RecordingHandle
impl UnsafeUnpin for RecordingHandle
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