Fields
name: String
port: Option<u16>
timeout: Duration
Implementations
Trait Implementations
sourceimpl Handler<Connect> for Resolver
impl Handler<Connect> for Resolver
type Result = Box<dyn ActorFuture<Item = TcpStream, Actor = Resolver, Error = ResolverError> + 'static, Global>
type Result = Box<dyn ActorFuture<Item = TcpStream, Actor = Resolver, Error = ResolverError> + 'static, Global>
The type of value that this handle will return
sourceimpl Message for Connect
impl Message for Connect
type Result = Result<TcpStream, ResolverError>
type Result = Result<TcpStream, ResolverError>
The type of value that this message will resolved with if it is
successful. Read more
impl Eq for Connect
impl StructuralEq for Connect
impl StructuralPartialEq for Connect
Auto Trait Implementations
impl RefUnwindSafe for Connect
impl Send for Connect
impl Sync for Connect
impl Unpin for Connect
impl UnwindSafe for Connect
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.