pub struct Host(_);
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).
connect
host-from-url
The host as string. Consumes self.
Formats the value using the given formatter. Read more
Performs the conversion.
Gets the TypeId of self. Read more
TypeId
self
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The type returned in the event of a conversion error.