Trait reqwest_inspect_json::InspectJson[][src]

pub trait InspectJson<C> where
    C: FnOnce(&str) + Send + 'static, 
{ #[must_use] fn inspect_json<'async_trait, T, E>(
        self,
        callback: C
    ) -> Pin<Box<dyn Future<Output = Result<T, E>> + Send + 'async_trait>>
    where
        T: for<'de> Deserialize<'de>,
        E: From<Error>,
        E: From<Error>,
        T: 'async_trait,
        E: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn inspect_json<'async_trait, T, E>(
    self,
    callback: C
) -> Pin<Box<dyn Future<Output = Result<T, E>> + Send + 'async_trait>> where
    T: for<'de> Deserialize<'de>,
    E: From<Error>,
    E: From<Error>,
    T: 'async_trait,
    E: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementations on Foreign Types

impl<C> InspectJson<C> for Response where
    C: FnOnce(&str) + Send + 'static, 
[src]

Loading content...

Implementors

Loading content...