Struct tsukuyomi::app::builder::Scope[][src]

pub struct Scope<'a> { /* fields omitted */ }

A proxy object for configuration of a scope.

Methods

impl<'a> Scope<'a>
[src]

Important traits for &'a mut R

Adds a route into the current scope, with the provided configuration.

Important traits for &'a mut R

Create a new sub-scope with the provided configuration.

Important traits for &'a mut R

Create a new scope mounted to the certain URI.

This method is a shortcut of Scope::scope(Mount(prefix, f)).

Important traits for &'a mut R

Adds a scope-local variable into the application.

Important traits for &'a mut R

Modifies the prefix URI of current scope.

Important traits for &'a mut R

Register a Modifier into the current scope.

Trait Implementations

impl<'a> Debug for Scope<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for Scope<'a>

impl<'a> Sync for Scope<'a>