Struct actix_web::client::Connect
[−]
[src]
pub struct Connect(pub Uri);
Connect
type represents message that can be send to ClientConnector
with connection request.
Methods
impl Connect
[src]
fn new<U>(uri: U) -> Result<Connect, HttpError> where
Uri: HttpTryFrom<U>,
[src]
Uri: HttpTryFrom<U>,
Create Connect
message for specified Uri
Trait Implementations
impl Debug for Connect
[src]
impl Message for Connect
[src]
type Result = Result<Connection, ClientConnectorError>
The type of value that this message will resolved with if it is successful.