Struct actix_web::client::Connect [] [src]

pub struct Connect { /* fields omitted */ }

Connect type represents a message that can be sent to ClientConnector with a connection request.

Methods

impl Connect
[src]

[src]

Create Connect message for specified Uri

[src]

Connection timeout, i.e. max time to connect to remote host. Set to 1 second by default.

[src]

If connection pool limits are enabled, wait time indicates max time to wait for a connection to become available. Set to 5 seconds by default.

Trait Implementations

impl Debug for Connect
[src]

[src]

Formats the value using the given formatter. Read more

impl Message for Connect
[src]

The type of value that this message will resolved with if it is successful. Read more

impl Handler<Connect> for ClientConnector
[src]

The type of value that this handle will return

[src]

Method is called for every message received by this Actor

Auto Trait Implementations

impl Send for Connect

impl Sync for Connect