Struct async_native_tls::Host[][src]

pub struct Host(_);
Expand description

The host part of a domain (without scheme, port and path).

This is the argument to the connect function. Strings and string slices are converted into Hosts automatically, as is Url with the host-from-url feature (enabled by default).

Implementations

The host as string. Consumes self.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.