Struct actix_connect::Connect[][src]

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

Connect request

Implementations

Create Connect instance by splitting 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

Pre-resolved addresses of the request.

Takes pre-resolved addresses of the request.

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

Performs the conversion.

Performs the conversion.

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.