fidl_fuchsia_test_manager

Trait QueryProxyInterface

Source
pub trait QueryProxyInterface: Send + Sync {
    type EnumerateResponseFut: Future<Output = Result<QueryEnumerateResult, Error>> + Send;
    type EnumerateInRealmResponseFut: Future<Output = Result<QueryEnumerateInRealmResult, Error>> + Send;

    // Required methods
    fn enumerate(
        &self,
        test_url: &str,
        iterator: ServerEnd<CaseIteratorMarker>,
    ) -> Self::EnumerateResponseFut;
    fn enumerate_in_realm(
        &self,
        test_url: &str,
        realm: ClientEnd<RealmMarker>,
        offers: &[Offer],
        test_collection: &str,
        iterator: ServerEnd<CaseIteratorMarker>,
    ) -> Self::EnumerateInRealmResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn enumerate( &self, test_url: &str, iterator: ServerEnd<CaseIteratorMarker>, ) -> Self::EnumerateResponseFut

Source

fn enumerate_in_realm( &self, test_url: &str, realm: ClientEnd<RealmMarker>, offers: &[Offer], test_collection: &str, iterator: ServerEnd<CaseIteratorMarker>, ) -> Self::EnumerateInRealmResponseFut

Implementors§