Enum agner_actors::Signal
source · pub enum Signal {
Exit(ActorID, Exit),
}Expand description
A signal received by an actor.
Note: only actors that “trap exits” can handle signals.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Signal
impl Send for Signal
impl Sync for Signal
impl Unpin for Signal
impl !UnwindSafe for Signal
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