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
HttpPlaintext HTTP/1
Methods
impl Protocol[src]
Trait Implementations
impl Clone for Protocol[src]
fn clone(&self) -> Protocol
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more