Enum lunatic_process::Signal
source · pub enum Signal {
Message(Message),
Kill,
DieWhenLinkDies(bool),
Link(Option<i64>, Arc<dyn Process>),
UnLink {
process_id: u64,
},
LinkDied(u64, Option<i64>, DeathReason),
}Expand description
Signals can be sent to processes to interact with them.
Variants
Message(Message)
Kill
DieWhenLinkDies(bool)
Link(Option<i64>, Arc<dyn Process>)
UnLink
Fields
process_id: u64LinkDied(u64, Option<i64>, DeathReason)
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more