Struct actix::actors::dns::GetAddressInfo
[−]
[src]
pub struct GetAddressInfo { /* fields omitted */ }
Request address info lookup message
Methods
impl GetAddressInfo
[src]
fn new(
host: Option<String>,
port: Option<String>,
family: c_int,
flags: c_int,
socktype: SocketType
) -> Self
[src]
host: Option<String>,
port: Option<String>,
family: c_int,
flags: c_int,
socktype: SocketType
) -> Self
Trait Implementations
impl ResponseType for GetAddressInfo
[src]
type Item = Vec<AddrInfo>
The type of value that this message will resolved with if it is successful.
type Error = LookupError
The type of error that this message will resolve with if it fails in a normal fashion.