Enum tokio_socks_unofficial::TargetAddr [] [src]

pub enum TargetAddr {
    Ip(SocketAddr),
    Domain(ArrayString<[u8; 256]>, u16),
}

Variants

Trait Implementations

impl Debug for TargetAddr
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for TargetAddr
[src]

impl Clone for TargetAddr
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for TargetAddr
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for TargetAddr
[src]

impl Hash for TargetAddr
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl ToTargetAddr for TargetAddr
[src]

Auto Trait Implementations

impl Send for TargetAddr

impl Sync for TargetAddr