wasmer_backend_api::stream

Trait PaginatedQuery

Source
pub trait PaginatedQuery {
    type Vars;
    type Paginator;
    type Item;

    // Required method
    fn query(
        &self,
        client: WasmerClient,
        paginator: Option<Self::Paginator>,
    ) -> BoxFuture<'static, Result<(Vec<Self::Item>, Option<Self::Paginator>), Error>>;
}

Required Associated Types§

Required Methods§

Source

fn query( &self, client: WasmerClient, paginator: Option<Self::Paginator>, ) -> BoxFuture<'static, Result<(Vec<Self::Item>, Option<Self::Paginator>), Error>>

Implementors§