Struct actix::actors::Resolve
[−]
[src]
pub struct Resolve { /* fields omitted */ }
Methods
impl Resolve
[src]
pub fn host<T: AsRef<str>>(host: T) -> Resolve
[src]
pub fn host_and_port<T: AsRef<str>>(host: T, port: u16) -> Resolve
[src]
Trait Implementations
impl Message for Resolve
[src]
type Result = Result<VecDeque<SocketAddr>, ConnectorError>
The type of value that this message will resolved with if it is successful.
impl Handler<Resolve> for Connector
[src]
type Result = ResponseActFuture<Self, VecDeque<SocketAddr>, ConnectorError>
The type of value that this handle will return
fn handle(&mut self, msg: Resolve, _: &mut Self::Context) -> Self::Result
[src]
Method is called for every message received by this Actor