Struct convergence::server::BindOptions[][src]

pub struct BindOptions { /* fields omitted */ }
Expand description

Controls how servers bind to local network resources.

Implementations

Creates a default set of options listening only on the loopback address using the default Postgres port of 5432.

Sets the port to be used.

Sets the address to be used.

Configures the server to listen on all interfaces rather than any specific address.

Trait Implementations

Returns the “default value” for a 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.