[][src]Trait twitter_client::request::RawRequest

pub trait RawRequest: Request {
    pub fn method(&self) -> &Method;
pub fn uri(&self) -> &'static str; pub fn send_raw<C, T, S, B>(
        &self,
        token: &Token<C, T>,
        http: &mut S
    ) -> RawResponseFuture<S::Future>

Notable traits for RawResponseFuture<F>

impl<F: HttpTryFuture> Future for RawResponseFuture<F> type Output = Result<Response<Bytes>, Error<F::Error, <F::Body as Body>::Error>>;

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

Required methods

pub fn method(&self) -> &Method[src]

pub fn uri(&self) -> &'static str[src]

Loading content...

Provided methods

pub fn send_raw<C, T, S, B>(
    &self,
    token: &Token<C, T>,
    http: &mut S
) -> RawResponseFuture<S::Future>

Notable traits for RawResponseFuture<F>

impl<F: HttpTryFuture> Future for RawResponseFuture<F> type Output = Result<Response<Bytes>, 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...