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

pub struct Resolver { /* fields omitted */ }

Methods

impl Resolver
[src]

pub fn new(config: ResolverConfig, options: ResolverOpts) -> Resolver
[src]

Trait Implementations

impl Actor for Resolver
[src]

type Context = Context<Self>

Actor execution context type

fn stopping(&mut self, ctx: &mut Self::Context) -> Running
[src]

Called after an actor is in Actor::Stopping state. Read more

fn stopped(&mut self, ctx: &mut Self::Context)
[src]

Called after an actor is stopped. Read more

fn start(self) -> Addr<Self> where
    Self: Actor<Context = Context<Self>>, 
[src]

Start a new asynchronous actor, returning its address. Read more

fn start_default() -> Addr<Self> where
    Self: Actor<Context = Context<Self>> + Default
[src]

Construct and start a new asynchronous actor, returning its address. Read more

fn create<F>(f: F) -> Addr<Self> where
    Self: Actor<Context = Context<Self>>,
    F: FnOnce(&mut Context<Self>) -> Self + 'static, 
[src]

Start a new asynchronous actor given a Context. Read more

impl Supervised for Resolver
[src]

fn restarting(&mut self, ctx: &mut Self::Context)
[src]

Called when the supervisor restarts a failed actor.

impl Handler<Resolve> for Resolver
[src]

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

The type of value that this handler will return.

impl Handler<Connect> for Resolver
[src]

type Result = ResponseActFuture<Self, TcpStream, ResolverError>

The type of value that this handler will return.

impl Handler<ConnectAddr> for Resolver
[src]

type Result = ResponseActFuture<Self, TcpStream, ResolverError>

The type of value that this handler will return.

impl SystemService for Resolver
[src]

fn start_service(sys: &Addr<Arbiter>) -> Addr<Self>
[src]

Construct and start system service

fn service_started(&mut self, ctx: &mut Context<Self>)
[src]

Method is called during service initialization.

fn from_registry() -> Addr<Self>
[src]

Get actor's address from system registry

impl Default for Resolver
[src]

Auto Trait Implementations

impl Send for Resolver

impl Sync for Resolver

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T