[−][src]Trait eiktyrner::content::ResponseContent
Associated Types
Loading content...Required methods
#[must_use]pub fn convert_response<'async_trait>(
response: Response<Body>
) -> Pin<Box<dyn Future<Output = Result<Response<Self::Data>, Error>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]
response: Response<Body>
) -> Pin<Box<dyn Future<Output = Result<Response<Self::Data>, Error>> + Send + 'async_trait>> where
Self: 'async_trait,
Implementors
impl ResponseContent for Bytes
[src]
type Data = Vec<u8>
pub fn convert_response<'async_trait>(
response: Response<Body>
) -> Pin<Box<dyn Future<Output = Result<Response<Self::Data>, Error>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]
response: Response<Body>
) -> Pin<Box<dyn Future<Output = Result<Response<Self::Data>, Error>> + Send + 'async_trait>> where
Self: 'async_trait,
impl ResponseContent for Empty
[src]
type Data = ()
pub fn convert_response<'async_trait>(
response: Response<Body>
) -> Pin<Box<dyn Future<Output = Result<Response<Self::Data>, Error>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]
response: Response<Body>
) -> Pin<Box<dyn Future<Output = Result<Response<Self::Data>, Error>> + Send + 'async_trait>> where
Self: 'async_trait,
impl<T> ResponseContent for Json<T> where
T: DeserializeOwned + Send + 'static + Unpin,
[src]
T: DeserializeOwned + Send + 'static + Unpin,