Trait TokenReaderFuture

Source
pub trait TokenReaderFuture: SealedWrapper {
    // Required method
    fn parse_oauth_token<'async_trait>(
        self,
    ) -> Pin<Box<dyn Future<Output = Result<TokenResponse>> + 'async_trait>>
       where Self: 'async_trait;
}
Expand description

Add parse_oauth_token feature to Future of reqwest::Response.

Required Methods§

Source

fn parse_oauth_token<'async_trait>( self, ) -> Pin<Box<dyn Future<Output = Result<TokenResponse>> + 'async_trait>>
where Self: 'async_trait,

Implementors§

Source§

impl<T, E> TokenReaderFuture for T
where T: Future<Output = Result<Response, E>>, E: Into<Error> + 'static,