Struct commodore::Mux [] [src]

pub struct Mux { /* fields omitted */ }

A command de-multiplexor

Methods

impl Mux
[src]

Install routing for a Slack command, secret token, and target Handler

Install routing for a Slack command matcher and target Handler

Install a command routing

Attempts to return the first match result for a target Handler

Trait Implementations

impl Default for Mux
[src]

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

impl Handler for Mux
[src]

handles Slack commands. Optional captures resulting from matching are provided along with an interface for deferred responses Read more

provides a mean explicit coersion for disambiguating cases where a fn named handle is already defined in another trait for which another impl exists for the same type Read more

impl HyperHandler for Mux
[src]

Receives a Request/Response pair, and should perform some action on them. Read more

Called when a Request includes a Expect: 100-continue header. Read more

This is run after a connection is received, on a per-connection basis (not a per-request basis, as a connection with keep-alive may handle multiple requests) Read more

This is run before a connection is closed, on a per-connection basis (not a per-request basis, as a connection with keep-alive may handle multiple requests) Read more