Struct ntex::connect::Connect[][src]

pub struct Connect<T> { /* fields omitted */ }
Expand description

Connect request

Implementations

Create Connect instance by spliting the string by ‘:’ and convert the second part to u16

Create new Connect instance from host and address. Connector skips name resolution stage for such connect messages.

Use port if address does not provide one.

By default it set to 0

Use address.

Use addresses.

Host name

Port of the request

Preresolved addresses of the request.

Takes preresolved addresses of the request.

Return reference to inner type

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

Converts the given value to a String. Read more

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.