pub trait HttpTryFrom<T>: Sized + Sealed {
type Error: Into<Error>;
}Expand description
Private trait for the http crate to have generic methods with fallible
conversions.
This trait is similar to the TryFrom trait proposed in the standard
library, except this is specialized for the http crate and isn’t intended
for general consumption.
This trait cannot be implemented types outside of the http crate, and is
only intended for use as a generic bound on methods in the http crate.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.