pub trait TryIntoHyperiumHttp: Sealed {
type Output;
type Error;
// Required method
fn try_into_hyperium_http(self) -> Result<Self::Output, Self::Error>;
}Expand description
Fallibly convert a rama-http-types value into its hyperium http-crate
equivalent. Sealed; the implemented set is fixed by this crate.
Required Associated Types§
Required Methods§
Sourcefn try_into_hyperium_http(self) -> Result<Self::Output, Self::Error>
fn try_into_hyperium_http(self) -> Result<Self::Output, Self::Error>
Convert self into its hyperium http equivalent.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".