Enum gotham::router::route::Delegation [] [src]

pub enum Delegation {
    Internal,
    External,
}

Indicates whether this Route will dispatch the request to an inner Router instance. To support inner Router instances which handle a subtree, the Dispatcher stores additional context information.

Variants

This Route is dispatching a request to a normal NewHandler / Handler and does not need to store any additional context information.

This Route is dispatching a request to another Router which handles a subtree. The path segments already consumed by the current Router will not be processed again.

Trait Implementations

impl Clone for Delegation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Delegation
[src]

impl PartialEq for Delegation
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

Auto Trait Implementations

impl Send for Delegation

impl Sync for Delegation