pub trait PointerProvider:
Debug
+ Send
+ Sync {
// Required methods
fn id(&self) -> &str;
fn version(&self) -> &str;
fn method(&self) -> EvidenceMethod;
fn capabilities(&self) -> Vec<String>;
fn observe(&self, context: &Context) -> Result<PointerObservation, String>;
}Expand description
Closed application provider family for production pointer evidence.
Required Methods§
Sourcefn method(&self) -> EvidenceMethod
fn method(&self) -> EvidenceMethod
How the application obtains the evidence.
Sourcefn capabilities(&self) -> Vec<String>
fn capabilities(&self) -> Vec<String>
Closed provider capability names advertised during negotiation.
pointer-regions and hit-test may be owned together or by two
independent providers, but each capability has one session owner.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".