[][src]Trait twitter_client::request::Request

pub trait Request: RawRequest {
    type Data: DeserializeOwned;
    pub fn send<C, T, S, B>(
        &self,
        token: &Token<C, T>,
        http: &mut S
    ) -> ResponseFuture<Self::Data, S::Future>

Notable traits for ResponseFuture<T, F>

impl<T: DeserializeOwned, F: HttpTryFuture> Future for ResponseFuture<T, F> type Output = Result<Response<T>, Error<F::Error, <F::Body as Body>::Error>>;

    where
        C: AsRef<str>,
        T: AsRef<str>,
        S: HttpService<B>,
        B: From<Vec<u8>>
, { ... } }

Associated Types

Loading content...

Provided methods

pub fn send<C, T, S, B>(
    &self,
    token: &Token<C, T>,
    http: &mut S
) -> ResponseFuture<Self::Data, S::Future>

Notable traits for ResponseFuture<T, F>

impl<T: DeserializeOwned, F: HttpTryFuture> Future for ResponseFuture<T, F> type Output = Result<Response<T>, Error<F::Error, <F::Body as Body>::Error>>;
where
    C: AsRef<str>,
    T: AsRef<str>,
    S: HttpService<B>,
    B: From<Vec<u8>>, 
[src]

Loading content...

Implementors

Loading content...