Struct fibers_http_server::HandlerOptions [] [src]

pub struct HandlerOptions<H, D, E> { /* fields omitted */ }

Options for a request handler.

Methods

impl<H> HandlerOptions<H, (), ()>
[src]

[src]

Makes a new HandlerOptions instance.

impl<H, D, E> HandlerOptions<H, D, E> where
    H: HandleRequest
[src]

[src]

Specifies the decoder factory that the handler will use.

[src]

Specifies that the handler will use the default decoder factory.

[src]

Specifies the encoder factory that the handler will use.

[src]

Specifies that the handler will use the default encoder factory.

Trait Implementations

impl<H: Debug, D: Debug, E: Debug> Debug for HandlerOptions<H, D, E>
[src]

[src]

Formats the value using the given formatter. Read more

impl<H> Default for HandlerOptions<H, DefaultFactory<H::Decoder>, DefaultFactory<H::Encoder>> where
    H: HandleRequest,
    H::Decoder: Default,
    H::Encoder: Default
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<H, D, E> Send for HandlerOptions<H, D, E> where
    D: Send,
    E: Send,
    H: Send

impl<H, D, E> Sync for HandlerOptions<H, D, E> where
    D: Sync,
    E: Sync,
    H: Sync