pub trait DiagnosticsProvider: Send + Sync {
// Required methods
fn snapshot<D: DiagnosticsData>(
&self,
accessor: Option<&str>,
selectors: impl IntoIterator<Item = Selector>,
) -> impl Future<Output = Result<Vec<Data<D>>, Error>>;
fn get_accessor_paths(
&self,
) -> impl Future<Output = Result<Vec<String>, Error>>;
fn realm_query(&self) -> &RealmQueryProxy;
}
Required Methods§
fn snapshot<D: DiagnosticsData>( &self, accessor: Option<&str>, selectors: impl IntoIterator<Item = Selector>, ) -> impl Future<Output = Result<Vec<Data<D>>, Error>>
Sourcefn get_accessor_paths(&self) -> impl Future<Output = Result<Vec<String>, Error>>
fn get_accessor_paths(&self) -> impl Future<Output = Result<Vec<String>, Error>>
Lists all ArchiveAccessor selectors.
Sourcefn realm_query(&self) -> &RealmQueryProxy
fn realm_query(&self) -> &RealmQueryProxy
Connect to a RealmQueryProxy for component discovery for fuzzy matching components
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.