[−][src]Struct actix::actors::resolver::Resolver
Methods
impl Resolver
[src]
impl Resolver
pub fn new(config: ResolverConfig, options: ResolverOpts) -> Resolver | [src] |
Trait Implementations
impl Actor for Resolver
[src]
impl Actor for Resolver
type Context = Context<Self>
Actor execution context type
fn started(&mut self, ctx: &mut Self::Context) | [src] |
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 | [src] |
Start a new asynchronous actor, returning its address. Read more
fn start_default() -> Addr<Self> where | [src] |
Construct and start a new asynchronous actor, returning its address. Read more
fn create<F>(f: F) -> Addr<Self> where | [src] |
Start a new asynchronous actor given a Context
. Read more
impl Supervised for Resolver
[src]
impl Supervised for Resolver
fn restarting(&mut self, ctx: &mut Self::Context) | [src] |
Called when the supervisor restarts a failed actor.
impl Handler<Resolve> for Resolver
[src]
impl Handler<Resolve> for Resolver
type Result = ResponseActFuture<Self, VecDeque<SocketAddr>, ResolverError>
The type of value that this handler will return.
fn handle(&mut self, msg: Resolve, _: &mut Self::Context) -> Self::Result | [src] |
impl Handler<Connect> for Resolver
[src]
impl Handler<Connect> for Resolver
type Result = ResponseActFuture<Self, TcpStream, ResolverError>
The type of value that this handler will return.
fn handle(&mut self, msg: Connect, _: &mut Self::Context) -> Self::Result | [src] |
impl Handler<ConnectAddr> for Resolver
[src]
impl Handler<ConnectAddr> for Resolver
type Result = ResponseActFuture<Self, TcpStream, ResolverError>
The type of value that this handler will return.
fn handle(&mut self, msg: ConnectAddr, _: &mut Self::Context) -> Self::Result | [src] |
impl SystemService for Resolver
[src]
impl SystemService for Resolver
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]
impl Default for Resolver
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> Erased for T
impl<T> Erased for T