pub struct StreamCapture {
pub sink: FrameSink,
pub capture: Capture,
}Expand description
A take fed by frames from somewhere other than a device: what
Engine::capture_stream hands back.
The sink is what a transport holds and pushes into; the capture is what the host finishing the take holds. Both share one recording, so a take fed this way meters, caps, segments, cancels and finishes on one path.
Fields§
§sink: FrameSink§capture: CaptureAuto Trait Implementations§
impl !RefUnwindSafe for StreamCapture
impl !Sync for StreamCapture
impl !UnwindSafe for StreamCapture
impl Freeze for StreamCapture
impl Send for StreamCapture
impl Unpin for StreamCapture
impl UnsafeUnpin for StreamCapture
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