Enum iron::Protocol [] [src]

pub enum Protocol {
    Http,
}

Protocol used to serve content. Future versions of Iron may add new protocols to this enum. Thus you should not exhaustively match on its variants.

Variants

Plaintext HTTP/1

Methods

impl Protocol
[src]

Return the name used for this protocol in a URI's scheme part.

Trait Implementations

impl Clone for Protocol
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more