pub struct CaptureSession { /* private fields */ }Implementations§
Source§impl CaptureSession
impl CaptureSession
pub fn new(config: SessionConfig, bundle: BackendBundle) -> Self
pub fn config(&self) -> &SessionConfig
pub fn backend_info(&self) -> &BackendInfo
pub fn is_running(&self) -> bool
pub fn start(&mut self) -> Result<()>
pub fn stop(&mut self) -> Result<()>
pub fn next_event(&mut self, timeout: Option<Duration>) -> Result<CaptureEvent>
pub fn next_audio(&mut self, timeout: Option<Duration>) -> Result<AudioFrame>
Auto Trait Implementations§
impl !RefUnwindSafe for CaptureSession
impl !Sync for CaptureSession
impl !UnwindSafe for CaptureSession
impl Freeze for CaptureSession
impl Send for CaptureSession
impl Unpin for CaptureSession
impl UnsafeUnpin for CaptureSession
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