Struct actix::actors::ConnectAddr
[−]
[src]
pub struct ConnectAddr(pub SocketAddr);
Trait Implementations
impl Message for ConnectAddr
[src]
type Result = Result<TcpStream, ConnectorError>
The type of value that this message will resolved with if it is successful.
impl Handler<ConnectAddr> for Connector
[src]
type Result = ResponseActFuture<Self, TcpStream, ConnectorError>
The type of value that this handle will return
fn handle(&mut self, msg: ConnectAddr, _: &mut Self::Context) -> Self::Result
[src]
Method is called for every message received by this Actor