Trait twilio_async::TwilioRequest

source ·
pub trait TwilioRequest: Execute {
    type Resp: for<'de> Deserialize<'de>;

    // Required method
    fn run<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = TwilioResp<TwilioJson<Self::Resp>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Associated Types§

source

type Resp: for<'de> Deserialize<'de>

Required Methods§

source

fn run<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = TwilioResp<TwilioJson<Self::Resp>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§