Trait feignhttp::HttpResponse[][src]

pub trait HttpResponse {
    fn status(self) -> StatusCode;
#[must_use] fn text<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
    where
        Self: 'async_trait
; }

A trait of response.

Required methods

fn status(self) -> StatusCode[src]

#[must_use]
fn text<'async_trait>(
    self
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>> where
    Self: 'async_trait, 
[src]

Loading content...

Implementors

impl HttpResponse for ResponseWrapper[src]

Loading content...