[go: up one dir, main page]

worker

Type Alias HttpResponse

source
pub type HttpResponse = Response<Body>;
Expand description

Requires http feature. Type alias for http::Response<worker::Body>.

Aliased Type§

struct HttpResponse { /* private fields */ }

Trait Implementations§

source§

impl TryFrom<Response> for HttpResponse

source§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(res: Response) -> Result<HttpResponse>

Performs the conversion.