Controller

Trait Controller 

Source
pub trait Controller {
    const BASE_PATH: &'static str;

    // Required method
    fn method(&self) -> Vec<ControllerMethod<Self>> 
       where Self: Sized;
}

Required Associated Constants§

Source

const BASE_PATH: &'static str

Required Methods§

Source

fn method(&self) -> Vec<ControllerMethod<Self>>
where Self: Sized,

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§