Enum gaol::profile::AddressPattern [] [src]

pub enum AddressPattern {
    All,
    Tcp(u16),
    LocalSocket(PathBuf),
}

Describes a network address.

Variants

All network addresses.

TCP connections on the given port.

A local socket at the given path (for example, a Unix socket).

Trait Implementations

impl Clone for AddressPattern
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AddressPattern
[src]

Formats the value using the given formatter.