pub trait ScrollProvider:
Debug
+ Send
+ Sync {
// Required methods
fn id(&self) -> &str;
fn version(&self) -> &str;
fn method(&self) -> EvidenceMethod;
fn observe(
&self,
context: &Context,
) -> Result<Vec<ProviderScrollState>, String>;
}Expand description
Closed provider family for the production application viewport model.
Required Methods§
Sourcefn method(&self) -> EvidenceMethod
fn method(&self) -> EvidenceMethod
How the application obtains viewport evidence.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".