[][src]Function twitter_client::auth::token

pub fn token<C, S, B>(
    client_credentials: &Credentials<C>,
    client: &mut S
) -> AuthFuture<AccessToken2, S::Future>

Notable traits for AuthFuture<T, F>

impl<T: AuthDeserialize, F: HttpTryFuture> Future for AuthFuture<T, F> type Output = Result<T, Error<F::Error, <F::Body as Body>::Error>>;
where
    C: AsRef<str>,
    S: HttpService<B>,
    B: From<&'static [u8]>,