Enum iron::Protocol [] [src]

pub enum Protocol {

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.


Plaintext HTTP/1


impl Protocol

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

Trait Implementations

impl Clone for Protocol

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more