FromQuery

Trait FromQuery 

Source
pub trait FromQuery<T, E> {
    // Required method
    fn from_query(query_str: Option<&str>) -> Result<T, E>
       where T: DeserializeOwned,
             E: ResponderError;
}

Required Methods§

Source

fn from_query(query_str: Option<&str>) -> Result<T, E>

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§