Struct hyper::server::Listening[][src]

pub struct Listening {
    pub socket: SocketAddr,
    // some fields omitted
}
Expand description

A listening server, which can later be closed.

Fields

socket: SocketAddr

The socket addresses that the server is bound to.

Implementations

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.

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

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.

Get the TypeId of this object.