[][src]Trait twilio_async::Execute

pub trait Execute {
    fn request<U>(
        &self,
        method: Method,
        url: U,
        body: Option<String>
    ) -> Result<Request<Body>, TwilioErr>
    where
        U: AsRef<str>
;
fn execute<'life0, 'async_trait, U, D>(
        &'life0 self,
        method: Method,
        url: U,
        body: Option<String>
    ) -> Pin<Box<dyn Future<Output = TwilioResp<TwilioJson<D>>> + Send + 'async_trait>>
    where
        U: AsRef<str> + Send,
        D: for<'de> Deserialize<'de>,
        U: 'async_trait,
        D: 'async_trait,
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

fn request<U>(
    &self,
    method: Method,
    url: U,
    body: Option<String>
) -> Result<Request<Body>, TwilioErr> where
    U: AsRef<str>, 

fn execute<'life0, 'async_trait, U, D>(
    &'life0 self,
    method: Method,
    url: U,
    body: Option<String>
) -> Pin<Box<dyn Future<Output = TwilioResp<TwilioJson<D>>> + Send + 'async_trait>> where
    U: AsRef<str> + Send,
    D: for<'de> Deserialize<'de>,
    U: 'async_trait,
    D: 'async_trait,
    'life0: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

impl<'a> Execute for Conferences<'a>[src]

impl<'a> Execute for GetConference<'a>[src]

impl<'a> Execute for GetMessage<'a>[src]

impl<'a> Execute for GetRecording<'a>[src]

impl<'a> Execute for Messages<'a>[src]

impl<'a> Execute for MessagesDetails<'a>[src]

impl<'a> Execute for Recordings<'a>[src]

impl<'a> Execute for SendCall<'a>[src]

impl<'a> Execute for SendMsg<'a>[src]

Loading content...