Struct tsukuyomi::router::Builder[][src]

pub struct Builder { /* fields omitted */ }

A builder object for constructing an instance of Router.

Methods

impl Builder
[src]

Creates a proxy object to add some routes mounted to the provided prefix.

Important traits for &'a mut R

Sets whether the fallback to GET if the handler for HEAD is not registered is enabled or not.

The default value is true.

Creates an instance of Router with current configuration.

Trait Implementations

impl Debug for Builder
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Builder

impl Sync for Builder