Struct Vorbis Recording Exit
pub struct VorbisRecordingExit<W> {
pub destination: W,
pub consumer: AudioConsumer,
pub accepted_frames: u64,
pub dequeued_frames: u64,
pub written_bytes: u64,
/* private fields */
}Expand description
Explicit complete or incomplete worker outcome, with reclaimed sink/source.
An Ok controller result alone does not prove a complete recording: inspect
completion(). Irreversible output prefixes are retained on faults.
Fields§
§destination: WRecovered complete or partial destination; inspect completion first.
consumer: AudioConsumerRecovered exact consumer, including retained queued suffix after failure.
accepted_frames: u64Encoder-submitted frames, including any failing accepted codec batch.
dequeued_frames: u64Ring-dequeued frames, including any rejected source batch.
written_bytes: u64Actual sink-accepted bytes, including partial failed writes.
Implementations§
§impl<W> VorbisRecordingExit<W>
impl<W> VorbisRecordingExit<W>
pub fn completion(&self) -> &VorbisRecordingCompletion
pub fn completion(&self) -> &VorbisRecordingCompletion
Mutually exclusive finalization/abort/original-failure evidence.
pub fn into_parts(self) -> (W, AudioConsumer, VorbisRecordingCompletion)
pub fn into_parts(self) -> (W, AudioConsumer, VorbisRecordingCompletion)
Consume the private completion evidence with recovered sink and consumer. Inspect/save public diagnostic counts first if needed.