[−][src]Trait graph_http::traits::AsyncTryFrom
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]
from: T
) -> Pin<Box<dyn Future<Output = Result<RHS, Self::Error>> + Send + 'async_trait>> where
Self: 'async_trait,
Implementors
impl AsyncTryFrom<Result<Response, GraphFailure>, GraphResponse<Content>> for GraphResponse<Content>
[src]
type Error = GraphFailure
pub 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]
result: GraphResult<Response>
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Error>> + Send + 'async_trait>> where
Self: 'async_trait,
impl AsyncTryFrom<PathBuf, ByteRangeIterator> for ByteRangeIterator
[src]
type Error = GraphFailure
pub fn async_try_from<'async_trait>(
value: PathBuf
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Error>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]
value: PathBuf
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Error>> + Send + 'async_trait>> where
Self: 'async_trait,
impl AsyncTryFrom<Response, GraphResponse<Content>> for GraphResponse<Content>
[src]
type Error = GraphFailure
pub fn async_try_from<'async_trait>(
response: Response
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Error>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]
response: Response
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Error>> + Send + 'async_trait>> where
Self: 'async_trait,
impl<T> AsyncTryFrom<Result<Response, GraphFailure>, GraphResponse<T>> for GraphResponse<T> where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
type Error = GraphFailure
pub 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]
result: GraphResult<Response>
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Error>> + Send + 'async_trait>> where
Self: 'async_trait,
impl<T> AsyncTryFrom<Response, GraphResponse<T>> for GraphResponse<T> where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,