GetRenderable

Trait GetRenderable 

Source
pub trait GetRenderable {
    type Get;

    // Provided method
    fn get(&mut self) -> Result<Self::Get, Error> { ... }
}
Expand description

Subset of TypeRenderable that handles the GET method.

Required Associated Types§

Source

type Get

Output type of the get() method, serialized into the response payload.

Provided Methods§

Source

fn get(&mut self) -> Result<Self::Get, Error>

Implementors§