Struct actix_web::actix::resolver::ConnectAddr [−]
pub struct ConnectAddr(pub SocketAddr);
Trait Implementations
impl Eq for ConnectAddr
impl Eq for ConnectAddr
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 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 !=
.
impl Handler<ConnectAddr> for Resolver
impl Handler<ConnectAddr> for Resolver
type Result = Box<ActorFuture<Error = ResolverError, Item = TcpStream, Actor = Resolver> + '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
Auto Trait Implementations
impl Send for ConnectAddr
impl Send for ConnectAddr
impl Sync for ConnectAddr
impl Sync for ConnectAddr