[][src]Trait graph_http::traits::AsyncTryFrom

pub trait AsyncTryFrom<T, RHS = Self> {
    type Error: Error;
#[must_use]    pub fn async_try_from<'async_trait>(
        from: T
    ) -> Pin<Box<dyn Future<Output = Result<RHS, Self::Error>> + Send + 'async_trait>>
    where
        Self: 'async_trait
; }

Associated Types

Loading content...

Required methods

#[must_use]pub fn async_try_from<'async_trait>(
    from: T
) -> Pin<Box<dyn Future<Output = Result<RHS, Self::Error>> + Send + 'async_trait>> where
    Self: 'async_trait, 
[src]

Loading content...

Implementors

impl AsyncTryFrom<Result<Response, GraphFailure>, GraphResponse<Content>> for GraphResponse<Content>[src]

type Error = GraphFailure

impl AsyncTryFrom<PathBuf, ByteRangeIterator> for ByteRangeIterator[src]

type Error = GraphFailure

impl AsyncTryFrom<Response, GraphResponse<Content>> for GraphResponse<Content>[src]

type Error = GraphFailure

impl<T> AsyncTryFrom<Result<Response, GraphFailure>, GraphResponse<T>> for GraphResponse<T> where
    T: Deserialize<'de>, 
[src]

type Error = GraphFailure

impl<T> AsyncTryFrom<Response, GraphResponse<T>> for GraphResponse<T> where
    T: Deserialize<'de>, 
[src]

type Error = GraphFailure

Loading content...