Enum lunatic_runtime::Signal [−][src]
pub enum Signal {
Message(Message),
Kill,
DieWhenLinkDies(bool),
Link(Option<i64>, Arc<dyn Process>),
UnLink(Arc<dyn Process>),
LinkDied(Option<i64>),
}Expand description
Signals can be sent to processes to interact with them.
Variants
Message(Message)
Tuple Fields
0: MessageKill
DieWhenLinkDies(bool)
Tuple Fields
0: boolLink(Option<i64>, Arc<dyn Process>)
UnLink(Arc<dyn Process>)
LinkDied(Option<i64>)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Signal
impl !UnwindSafe for Signal
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn get_fd_flags(&self) -> Result<FdFlags, Error> where
T: AsFilelike,
pub fn get_fd_flags(&self) -> Result<FdFlags, Error> where
T: AsFilelike,
Query the “status” flags for the self file descriptor.
pub fn new_set_fd_flags(
&self,
fd_flags: FdFlags
) -> Result<SetFdFlags<T>, Error> where
T: AsFilelike,
pub fn new_set_fd_flags(
&self,
fd_flags: FdFlags
) -> Result<SetFdFlags<T>, Error> where
T: AsFilelike,
Create a new SetFdFlags value for use with set_fd_flags. Read more
pub fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error> where
T: AsFilelike,
pub fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error> where
T: AsFilelike,
Set the “status” flags for the self file descriptor. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more