Trait postmark::Query[][src]

pub trait Query<C> {
    type Result;
    fn execute<'life0, 'async_trait>(
        self,
        client: &'life0 C
    ) -> Pin<Box<dyn Future<Output = Self::Result> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

A trait which represents an asynchronous query which may be made to a Postmark client.

Associated Types

The Result of executing a query

Required methods

Perform the query against the client.

Implementors