Trait graph_http::traits::AsyncTryFrom [−][src]
pub trait AsyncTryFrom<T, RHS = Self> { type Error: Error; #[must_use] 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
Required methods
Implementors
impl<T: DeserializeOwned> AsyncTryFrom<Result<Response, GraphFailure>, GraphResponse<T>> for GraphResponse<T>
[src]
impl<T: DeserializeOwned> AsyncTryFrom<Result<Response, GraphFailure>, GraphResponse<T>> for GraphResponse<T>
[src]type Error = GraphFailure
fn async_try_from<'async_trait>(
result: GraphResult<Response>
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Error>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]