Enum pueue_lib::network::message::Signal [−][src]
pub enum Signal { SigInt, SigKill, SigTerm, SigCont, SigStop, }
Expand description
This is a small custom Enum for all currently supported unix signals. Supporting all unix signals would be a mess, since there is a LOT of them.
This is also needed for usage in clap, since nix’s Signal doesn’t implement Display and std::str::FromStr.
Variants
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Signal
impl UnwindSafe for Signal
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V