[][src]Trait rocket_lamb::RocketExt

pub trait RocketExt {
    fn lambda(self) -> RocketHandlerBuilder;

Extensions for rocket::Rocket to make it easier to create Lambda handlers.

Required methods

fn lambda(self) -> RocketHandlerBuilder

Create a new RocketHandlerBuilder from the given Rocket.


use rocket_lamb::RocketExt;

let builder = rocket::ignite().lambda();
Loading content...

Implementations on Foreign Types

impl RocketExt for Rocket[src]

Loading content...


Loading content...