Trait revai::traits::JobOps

source ·
pub trait JobOps {
    // Required method
    fn post<'life0, 'async_trait>(
        &'life0 self,
        b: Bytes
    ) -> Pin<Box<dyn Future<Output = Result<Response<Job>, ClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn post<'life0, 'async_trait>( &'life0 self, b: Bytes ) -> Pin<Box<dyn Future<Output = Result<Response<Job>, ClientError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Send a plain text email.

This is a nicer experience than using post.

Implementors§