web5_rust

Trait Client

Source
pub trait Client:
    DynClone
    + Debug
    + Sync
    + Send {
    // Required method
    fn send_request<'life0, 'async_trait>(
        &'life0 self,
        body: String,
        url: Url,
    ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn send_request<'life0, 'async_trait>( &'life0 self, body: String, url: Url, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§