pub struct AsyncSCShareableContent;Expand description
Async wrapper for SCShareableContent
Provides async methods to retrieve displays, windows, and applications without blocking. Executor-agnostic - works with any async runtime.
Implementations§
Sourcepub fn get() -> AsyncShareableContentFuture ⓘ
pub fn get() -> AsyncShareableContentFuture ⓘ
Asynchronously get the shareable content (displays, windows, applications)
Uses callback-based Swift FFI for true async operation.
§Errors
Returns an error if:
- Screen recording permission is not granted
- The system fails to retrieve shareable content
Sourcepub fn with_options() -> AsyncSCShareableContentOptions
pub fn with_options() -> AsyncSCShareableContentOptions
Create options builder for customizing shareable content retrieval
Auto Trait Implementations§
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