pub trait AppAdapter: Send + Sync {
// Required methods
fn matches(&self, app: &ActiveApp) -> bool;
fn strategy_override(&self, app: &ActiveApp) -> Option<Vec<CaptureMethod>>;
fn hint_override(&self, context: &CaptureFailureContext) -> Option<UserHint>;
}Required Methods§
fn matches(&self, app: &ActiveApp) -> bool
fn strategy_override(&self, app: &ActiveApp) -> Option<Vec<CaptureMethod>>
fn hint_override(&self, context: &CaptureFailureContext) -> Option<UserHint>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".