pub struct ScreenCaptureKitStream { /* private fields */ }Trait Implementations§
Source§impl AudioStreamBackend for ScreenCaptureKitStream
impl AudioStreamBackend for ScreenCaptureKitStream
fn format(&self) -> &Arc<Format> ⓘ
fn trace(&self) -> Option<&Arc<Trace>>
fn control_handle(&self) -> ControlHandle
fn default_cancel(&self) -> Cancellation
fn end_reason(&self) -> Option<EndReason>
fn read_with_cancel( &mut self, frames: usize, timeout: Duration, cancel: Cancellation, ) -> Result<ReadResult, ReadError>
fn read_into_with_cancel( &mut self, destination: &mut [u8], frames: usize, timeout: Duration, cancel: Cancellation, ) -> Result<ReadResult, ReadError>
fn stop(&self, mode: Stop)
fn resources_done(&self) -> bool
fn wait_cleanup(&self, timeout: Duration) -> bool
fn read( &mut self, frames: usize, timeout: Duration, ) -> Result<ReadResult, ReadError>
fn read_into( &mut self, destination: &mut [u8], frames: usize, timeout: Duration, ) -> Result<ReadResult, ReadError>
Source§impl Drop for ScreenCaptureKitStream
impl Drop for ScreenCaptureKitStream
Auto Trait Implementations§
impl !Freeze for ScreenCaptureKitStream
impl RefUnwindSafe for ScreenCaptureKitStream
impl Send for ScreenCaptureKitStream
impl Sync for ScreenCaptureKitStream
impl Unpin for ScreenCaptureKitStream
impl UnsafeUnpin for ScreenCaptureKitStream
impl UnwindSafe for ScreenCaptureKitStream
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