Skip to main content

InstanceGetter

Trait InstanceGetter 

Source
pub trait InstanceGetter {
    // Required method
    fn get_monikers_from_query(
        &self,
        query: &str,
    ) -> impl Future<Output = Result<Vec<Moniker>, LogError>>;
}
Expand description

Trait used to get available instances given a moniker query.

Required Methods§

Source

fn get_monikers_from_query( &self, query: &str, ) -> impl Future<Output = Result<Vec<Moniker>, LogError>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl InstanceGetter for RealmQueryProxy

Available on non-crate feature ctf only.
Source§

async fn get_monikers_from_query( &self, query: &str, ) -> Result<Vec<Moniker>, LogError>

Implementors§