[−][src]Struct tempest::topology::SourceActor
Main actor for interacting with Source
instances.
Trait Implementations
impl Default for SourceActor
[src]
impl Actor for SourceActor
[src]
type Context = Context<Self>
Actor execution context type
fn started(&mut self, ctx: &mut Context<Self>)
[src]
The SourceActor was started, run initialization hooks
fn stopped(&mut self, _ctx: &mut Context<Self>)
[src]
The SourceActor
was stopped, run shutdown hooks.
fn stopping(&mut self, ctx: &mut Self::Context) -> Running
[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
F: FnOnce(&mut Context<Self>) -> Self + Send + 'static,
Self: Actor<Context = Context<Self>>,
[src]
F: FnOnce(&mut Context<Self>) -> Self + Send + 'static,
Self: Actor<Context = Context<Self>>,
fn create<F>(f: F) -> Addr<Self> where
F: FnOnce(&mut Context<Self>) -> Self + 'static,
Self: Actor<Context = Context<Self>>,
[src]
F: FnOnce(&mut Context<Self>) -> Self + 'static,
Self: Actor<Context = Context<Self>>,
impl Supervised for SourceActor
[src]
fn restarting(&mut self, ctx: &mut Self::Context)
[src]
impl Handler<SourceAckMsg> for SourceActor
[src]
type Result = ()
The type of value that this handler will return.
fn handle(&mut self, msg: SourceAckMsg, _ctx: &mut Context<Self>)
[src]
Handle SourceAckMsg messages and send the MsgId to the ack_queue
impl Handler<Flush> for SourceActor
[src]
type Result = ()
The type of value that this handler will return.
fn handle(&mut self, _msg: Flush, _ctx: &mut Context<Self>)
[src]
Handle metric::backend::Flush
messages. Flushes SourceActor
and Source
(if configured) metrics
impl SystemService for SourceActor
[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 Unpin for SourceActor
impl !Sync for SourceActor
impl !Send for SourceActor
impl !UnwindSafe for SourceActor
impl !RefUnwindSafe for SourceActor
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Wfn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut W
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,