pub enum SystemEvent {
ActorError {
path: ActorPath,
error: Error,
},
StopSystem(ShutdownReason),
}Expand description
System-level events broadcast on the observable system event channel.
Variants§
ActorError
Non-fatal error emitted by a root actor that has no parent to receive it.
Fields
StopSystem(ShutdownReason)
Signals that the actor system should stop. Carries the reason so the runner can report it to the caller.
Trait Implementations§
Source§impl Clone for SystemEvent
impl Clone for SystemEvent
Source§fn clone(&self) -> SystemEvent
fn clone(&self) -> SystemEvent
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 Freeze for SystemEvent
impl RefUnwindSafe for SystemEvent
impl Send for SystemEvent
impl Sync for SystemEvent
impl Unpin for SystemEvent
impl UnsafeUnpin for SystemEvent
impl UnwindSafe for SystemEvent
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