pub trait TryIntoRequest {
    type Error;

    // Required method
    fn try_into_request(self) -> Result<Request, Self::Error>;
}
Expand description

Turn a type into a Request

Required Associated Types§

source

type Error

The error if the conversion fails

Required Methods§

source

fn try_into_request(self) -> Result<Request, Self::Error>

Turn self into a Request

Implementations on Foreign Types§

source§

impl<B: TryIntoBody> TryIntoRequest for Request<B>

Implementors§

source§

impl TryIntoRequest for spin_sdk::http::Request