pub enum LifecycleSignal<R: Reactor> {
Stop(StopReason),
SpawnChild(ChildSpec<R>),
}Expand description
Lifecycle signals from supervisor to actor (higher priority than user msgs).
Variants§
Stop(StopReason)
SpawnChild(ChildSpec<R>)
Trait Implementations§
Source§impl<R: Clone + Reactor> Clone for LifecycleSignal<R>
impl<R: Clone + Reactor> Clone for LifecycleSignal<R>
Source§fn clone(&self) -> LifecycleSignal<R>
fn clone(&self) -> LifecycleSignal<R>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<R> Freeze for LifecycleSignal<R>
impl<R> !RefUnwindSafe for LifecycleSignal<R>
impl<R> Send for LifecycleSignal<R>
impl<R> Sync for LifecycleSignal<R>
impl<R> Unpin for LifecycleSignal<R>
impl<R> UnsafeUnpin for LifecycleSignal<R>
impl<R> !UnwindSafe for LifecycleSignal<R>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more