pub struct ActiveRecording { /* private fields */ }Expand description
The open recording start_recording_raw returned. end
closes it and hands back the recorded nodes; dropping it closes it too,
discarding the result.
Implementations§
Source§impl ActiveRecording
impl ActiveRecording
Sourcepub fn end(self) -> Result<Option<CommandRecording>, RecordingOverflow>
pub fn end(self) -> Result<Option<CommandRecording>, RecordingOverflow>
Stop recording. Ok(None) when nothing was written.