Struct actix_web::actix::resolver::ConnectAddr [−][src]
pub struct ConnectAddr(pub SocketAddr);
Trait Implementations
impl Message for ConnectAddr
[src]
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
[src]
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
[src]
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 PartialEq<ConnectAddr> for ConnectAddr
[src]
impl PartialEq<ConnectAddr> for ConnectAddr
fn eq(&self, other: &ConnectAddr) -> bool
[src]
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
[src]
fn ne(&self, other: &ConnectAddr) -> bool
This method tests for !=
.
impl Debug for ConnectAddr
[src]
impl Debug for ConnectAddr
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Eq for ConnectAddr
[src]
impl Eq for ConnectAddr
Auto Trait Implementations
impl Send for ConnectAddr
impl Send for ConnectAddr
impl Sync for ConnectAddr
impl Sync for ConnectAddr