Fields
name: String
port: Option<u16>
Implementations
Trait Implementations
sourceimpl Handler<Resolve> for Resolver
impl Handler<Resolve> for Resolver
type Result = Box<dyn ActorFuture<Item = VecDeque<SocketAddr, Global>, Actor = Resolver, Error = ResolverError> + 'static, Global>
type Result = Box<dyn ActorFuture<Item = VecDeque<SocketAddr, Global>, Actor = Resolver, Error = ResolverError> + 'static, Global>
The type of value that this handle will return
sourceimpl Message for Resolve
impl Message for Resolve
type Result = Result<VecDeque<SocketAddr, Global>, ResolverError>
type Result = Result<VecDeque<SocketAddr, Global>, ResolverError>
The type of value that this message will resolved with if it is
successful. Read more
impl Eq for Resolve
impl StructuralEq for Resolve
impl StructuralPartialEq for Resolve
Auto Trait Implementations
impl RefUnwindSafe for Resolve
impl Send for Resolve
impl Sync for Resolve
impl Unpin for Resolve
impl UnwindSafe for Resolve
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.