struct TakeParts {
recording: Arc<Recording>,
segmenter: Option<JoinHandle<()>>,
finish_tx: Sender<FinishTake>,
answer_rx: Receiver<Result<Outcome, Error>>,
progress_rx: Receiver<WindowProgress>,
cancel: CancelToken,
}Expand description
The take side both capture paths share, from Engine::begin_take:
the recording samples land in, the segmenter cutting it, and the
channels a capture hands on at finish.
Fields§
§recording: Arc<Recording>§segmenter: Option<JoinHandle<()>>§finish_tx: Sender<FinishTake>§answer_rx: Receiver<Result<Outcome, Error>>§progress_rx: Receiver<WindowProgress>§cancel: CancelTokenAuto Trait Implementations§
impl !RefUnwindSafe for TakeParts
impl !Sync for TakeParts
impl !UnwindSafe for TakeParts
impl Freeze for TakeParts
impl Send for TakeParts
impl Unpin for TakeParts
impl UnsafeUnpin for TakeParts
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