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 !=.

Responses given by the service.

Errors produced by the service.

The future response value.

Returns Ready when the service is able to process requests. Read more

Process the request and return the response asynchronously. Read more

Shutdown service. Read more

Map this service’s output to a different type, returning a new service of the resulting type. Read more

Map this service’s error to a different error, returning a new service. Read more

Responses given by the service.

Errors produced by the service.

The future response value.

Returns Ready when the service is able to process requests. Read more

Process the request and return the response asynchronously. Read more

Shutdown service. Read more

Map this service’s output to a different type, returning a new service of the resulting type. Read more

Map this service’s error to a different error, returning a new service. Read more

Responses given by the service.

Errors produced by the service.

The future response value.

Returns Ready when the service is able to process requests. Read more

Process the request and return the response asynchronously. Read more

Shutdown service. Read more

Map this service’s output to a different type, returning a new service of the resulting type. Read more

Map this service’s error to a different error, returning a new service. Read more

Responses given by the service.

Errors produced by the service.

The future response value.

Returns Ready when the service is able to process requests. Read more

Process the request and return the response asynchronously. Read more

Shutdown service. Read more

Map this service’s output to a different type, returning a new service of the resulting type. Read more

Map this service’s error to a different error, returning a new service. Read more

Responses given by the service

Errors produced by the service

The Service value created by this factory

Errors produced while building a service.

The future of the ServiceFactory instance.

Create and return a new service value asynchronously.

Map this service’s output to a different type, returning a new service of the resulting type. Read more

Map this service’s error to a different error, returning a new service.

Map this factory’s init error to a different error, returning a new service.

Responses given by the service

Errors produced by the service

The Service value created by this factory

Errors produced while building a service.

The future of the ServiceFactory instance.

Create and return a new service value asynchronously.

Map this service’s output to a different type, returning a new service of the resulting type. Read more

Map this service’s error to a different error, returning a new service.

Map this factory’s init error to a different error, returning a new service.

Responses given by the service

Errors produced by the service

The Service value created by this factory

Errors produced while building a service.

The future of the ServiceFactory instance.

Create and return a new service value asynchronously.

Map this service’s output to a different type, returning a new service of the resulting type. Read more

Map this service’s error to a different error, returning a new service.

Map this factory’s init error to a different error, returning a new service.

Responses given by the service

Errors produced by the service

The Service value created by this factory

Errors produced while building a service.

The future of the ServiceFactory instance.

Create and return a new service value asynchronously.

Map this service’s output to a different type, returning a new service of the resulting type. Read more

Map this service’s error to a different error, returning a new service.

Map this factory’s init error to a different error, returning a new service.

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more