Skip to main content

DiagnosticsProvider

Trait DiagnosticsProvider 

Source
pub trait DiagnosticsProvider: Send + Sync {
    // Required methods
    fn snapshot(
        &self,
        accessor: Option<&str>,
        selectors: impl IntoIterator<Item = Selector>,
    ) -> impl Future<Output = Result<Vec<Data<Inspect>>, Error>>;
    fn get_accessor_paths(
        &self,
    ) -> impl Future<Output = Result<Vec<String>, Error>>;
    fn realm_query(&self) -> &RealmQueryProxy;
}

Required Methods§

Source

fn snapshot( &self, accessor: Option<&str>, selectors: impl IntoIterator<Item = Selector>, ) -> impl Future<Output = Result<Vec<Data<Inspect>>, 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".

Implementors§