pub(crate) trait FromHttparse<T>: Sized {
// Required method
fn from_httparse(raw: T) -> Result<Self>;
}
Expand description
Trait to convert raw objects into HTTP parseables.
Required Methods§
Sourcefn from_httparse(raw: T) -> Result<Self>
fn from_httparse(raw: T) -> Result<Self>
Convert raw object into parsed HTTP headers.
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.