Enum gaol::profile::AddressPattern
[−]
[src]
pub enum AddressPattern { All, Tcp(u16), LocalSocket(PathBuf), }
Describes a network address.
Variants
All
All network addresses.
Tcp(u16)
TCP connections on the given port.
LocalSocket(PathBuf)
A local socket at the given path (for example, a Unix socket).
Trait Implementations
impl Clone for AddressPattern
[src]
fn clone(&self) -> AddressPattern
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