Struct gain_listener::Binding[][src]

pub struct Binding {
    pub hostname: String,
    pub port: u16,
}
Expand description

Listener address.

Fields

hostname: String

Fully-qualified DNS name of the server.

port: u16

The listening port.

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.