Enum conduit::Host [] [src]

pub enum Host<'a> {
    Name(&'a str),
    Socket(SocketAddr),
}

Variants

Trait Implementations

impl<'a> PartialEq for Host<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Debug for Host<'a>
[src]

Formats the value using the given formatter.

impl<'a> Clone for Host<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Copy for Host<'a>
[src]