pub struct Listening {
pub socket: SocketAddr,
/* private fields */
}
Expand description
A listening server, which can later be closed.
The socket addresses that the server is bound to.
Warning: This function doesn’t work. The server remains listening after you called
it. See https://github.com/hyperium/hyper/issues/338 for more details.
Stop the server from listening to its socket address.
Formats the value using the given formatter.
Read more
Executes the destructor for this type.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
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.
Get the TypeId
of this object.