Struct actix_web::actix::resolver::ConnectAddr [−]
pub struct ConnectAddr(pub SocketAddr);
Trait Implementations
impl Message for ConnectAddr
impl Message for ConnectAddr
type Result = Result<TcpStream, ResolverError>
The type of value that this message will resolved with if it is successful. Read more
impl Handler<ConnectAddr> for Resolver
impl Handler<ConnectAddr> for Resolver
type Result = Box<ActorFuture<Item = TcpStream, Actor = Resolver, Error = ResolverError> + 'static>
The type of value that this handle will return
fn handle(
&mut self,
msg: ConnectAddr,
&mut <Resolver as Actor>::Context
) -> <Resolver as Handler<ConnectAddr>>::Result
fn handle(
&mut self,
msg: ConnectAddr,
&mut <Resolver as Actor>::Context
) -> <Resolver as Handler<ConnectAddr>>::Result
Method is called for every message received by this Actor
impl Debug for ConnectAddr
impl Debug for ConnectAddr
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Eq for ConnectAddr
impl Eq for ConnectAddr
impl PartialEq<ConnectAddr> for ConnectAddr
impl PartialEq<ConnectAddr> for ConnectAddr
fn eq(&self, other: &ConnectAddr) -> bool
fn eq(&self, other: &ConnectAddr) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ConnectAddr) -> bool
fn ne(&self, other: &ConnectAddr) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ConnectAddr
impl Send for ConnectAddr
impl Sync for ConnectAddr
impl Sync for ConnectAddr