[][src]Struct actix::actors::resolver::Resolve

pub struct Resolve {
    pub name: String,
    pub port: Option<u16>,
}

Fields

name: Stringport: Option<u16>

Methods

impl Resolve[src]

pub fn host<T: AsRef<str>>(host: T) -> Resolve[src]

pub fn host_and_port<T: AsRef<str>>(host: T, port: u16) -> Resolve[src]

Trait Implementations

impl Debug for Resolve[src]

impl Eq for Resolve[src]

impl Handler<Resolve> for Resolver[src]

type Result = ResponseActFuture<Self, Result<VecDeque<SocketAddr>, ResolverError>>

The type of value that this handler will return.

impl Message for Resolve[src]

type Result = Result<VecDeque<SocketAddr>, ResolverError>

The type of value that this message will resolved with if it is successful. Read more

impl PartialEq<Resolve> for Resolve[src]

impl StructuralEq for Resolve[src]

impl StructuralPartialEq for Resolve[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,