Struct actix::actors::Connect
[−]
[src]
pub struct Connect { /* fields omitted */ }
Methods
impl Connect
[src]
fn host<T: AsRef<str>>(host: T) -> Connect
[src]
fn host_and_port<T: AsRef<str>>(host: T, port: u16) -> Connect
[src]
Trait Implementations
impl Message for Connect
[src]
type Result = Result<TcpStream, ConnectorError>
The type of value that this message will resolved with if it is successful.