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),
Monitor(Arc<dyn Process>),
StopMonitoring {
process_id: u64,
},
ProcessDied(u64),
}
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
LinkDied(u64, Option<i64>, DeathReason)
Monitor(Arc<dyn Process>)
StopMonitoring
ProcessDied(u64)
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
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where T: AsFilelike,
Query the “status” flags for the
self
file descriptor.