[][src]Struct tempest::topology::TopologyActor

pub struct TopologyActor { /* fields omitted */ }

Trait Implementations

impl Default for TopologyActor[src]

impl Actor for TopologyActor[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 start_in_arbiter<F>(arb: &Arbiter, f: F) -> Addr<Self> where
    F: FnOnce(&mut Context<Self>) -> Self + Send + 'static,
    Self: Actor<Context = Context<Self>>, 
[src]

Start new actor in arbiter's thread.

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

Start a new asynchronous actor given a Context. Read more

impl Supervised for TopologyActor[src]

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

Called when the supervisor restarts a failed actor.

impl Handler<SourceMsg> for TopologyActor[src]

type Result = ()

The type of value that this handler will return.

impl Handler<TaskRequest> for TopologyActor[src]

type Result = ()

The type of value that this handler will return.

impl Handler<TaskResponse> for TopologyActor[src]

type Result = ()

The type of value that this handler will return.

impl Handler<PipelineMsg> for TopologyActor[src]

type Result = ()

The type of value that this handler will return.

impl Handler<Flush> for TopologyActor[src]

type Result = ()

The type of value that this handler will return.

impl SystemService for TopologyActor[src]

fn start_service(sys: &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

Auto Trait Implementations

Blanket Implementations

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T

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