[−][src]Struct actix::actors::resolver::Resolver
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 started(&mut self, ctx: &mut Self::Context)
[src]
fn stopping(&mut self, ctx: &mut Self::Context) -> Running
[src]
fn stopped(&mut self, ctx: &mut Self::Context)
[src]
fn start(self) -> Addr<Self> where
Self: Actor<Context = Context<Self>>,
[src]
Self: Actor<Context = Context<Self>>,
fn start_default() -> Addr<Self> where
Self: Actor<Context = Context<Self>> + Default,
[src]
Self: Actor<Context = Context<Self>> + Default,
fn start_in_arbiter<F>(arb: &Arbiter, f: F) -> Addr<Self> where
Self: Actor<Context = Context<Self>>,
F: FnOnce(&mut Context<Self>) -> Self + Send + 'static,
[src]
Self: Actor<Context = Context<Self>>,
F: FnOnce(&mut Context<Self>) -> Self + Send + 'static,
fn create<F>(f: F) -> Addr<Self> where
Self: Actor<Context = Context<Self>>,
F: FnOnce(&mut Context<Self>) -> Self,
[src]
Self: Actor<Context = Context<Self>>,
F: FnOnce(&mut Context<Self>) -> Self,
impl Default for Resolver
[src]
impl Handler<Connect> for Resolver
[src]
type Result = ResponseActFuture<Self, Result<TcpStream, ResolverError>>
The type of value that this handler will return. Read more
fn handle(&mut self, msg: Connect, _: &mut Self::Context) -> Self::Result
[src]
impl Handler<ConnectAddr> for Resolver
[src]
type Result = ResponseActFuture<Self, Result<TcpStream, ResolverError>>
The type of value that this handler will return. Read more
fn handle(&mut self, msg: ConnectAddr, _: &mut Self::Context) -> Self::Result
[src]
impl Handler<Resolve> for Resolver
[src]
type Result = ResponseActFuture<Self, Result<VecDeque<SocketAddr>, ResolverError>>
The type of value that this handler will return. Read more
fn handle(&mut self, msg: Resolve, _: &mut Self::Context) -> Self::Result
[src]
impl Supervised for Resolver
[src]
fn restarting(&mut self, ctx: &mut Self::Context)
[src]
impl SystemService for Resolver
[src]
fn start_service(sys: &Arbiter) -> Addr<Self>
[src]
fn service_started(&mut self, ctx: &mut Context<Self>)
[src]
fn from_registry() -> Addr<Self>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Resolver
impl Send for Resolver
impl Sync for Resolver
impl Unpin for Resolver
impl !UnwindSafe for Resolver
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Ffn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut F
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,