Skip to main content

RequestParseInto

Trait RequestParseInto 

Source
pub trait RequestParseInto<T>: Sized {
    // Required method
    fn parse_into(self) -> RequestResult<T>;
}
Expand description

Trait for parsing self into another type.

Required Methods§

Source

fn parse_into(self) -> RequestResult<T>

Parses self into another type.

§Errors

Will return an error if the value cannot be parsed into the target type.

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.

Implementors§

Source§

impl<T, U> RequestParseInto<U> for T
where U: RequestParse<T>,