Trait FromParameter

Source
pub trait FromParameter: Sized {
    // Required method
    fn from_parameter(param: &str) -> WebResult<Self>;
}

Required Methods§

Source

fn from_parameter(param: &str) -> WebResult<Self>

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.

Implementations on Foreign Types§

Source§

impl FromParameter for String

Source§

fn from_parameter(param: &str) -> WebResult<Self>

Implementors§