Struct tsukuyomi::app::AppBuilder[][src]

pub struct AppBuilder { /* fields omitted */ }

A builder object for constructing an instance of App.

Methods

impl AppBuilder
[src]

Important traits for &'a mut R

Registers some handlers to the router, with mounting on the specified prefix.

See the documentation of Mount for details.

Important traits for &'a mut R

Modifies the router level configurations.

Important traits for &'a mut R

Sets the instance to an error handler into this builder.

Important traits for &'a mut R

Sets the instance to an error handler into this builder.

Important traits for &'a mut R

Sets a value of T to the global storage.

If a value of provided type has already set, this method drops state immediately and does not provide any affects to the global storage.

Creates a configured App using the current settings.

Trait Implementations

impl Debug for AppBuilder
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for AppBuilder

impl Sync for AppBuilder