Trait spin_sdk::http::conversions::TryIntoBody
source · pub trait TryIntoBody {
type Error;
// Required method
fn try_into_body(self) -> Result<Vec<u8>, Self::Error>;
}
Expand description
A trait for any type that can be turned into a Response
body or fail