Enum nginx_config::ast::Address
[−]
[src]
pub enum Address { Ip(SocketAddr), StarPort(u16), Port(u16), Unix(PathBuf), }
Variants
Ip(SocketAddr)
StarPort(u16)
Port(u16)
Unix(PathBuf)
Trait Implementations
impl Debug for Address
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Address
[src]
fn clone(&self) -> Address
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Address
[src]
fn eq(&self, __arg_0: &Address) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Address) -> bool
[src]
This method tests for !=
.