iquery::commands

Trait DiagnosticsProvider

Source
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§

Source

fn snapshot<D: DiagnosticsData>( &self, accessor: Option<&str>, selectors: impl IntoIterator<Item = Selector>, ) -> impl Future<Output = Result<Vec<Data<D>>, Error>>

Source

fn get_accessor_paths(&self) -> impl Future<Output = Result<Vec<String>, Error>>

Lists all ArchiveAccessor selectors.

Source

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.

Implementors§