Enum vsh_rust_proto::vm_tools::vsh::Signal
source · #[repr(i32)]pub enum Signal {
Unknown = 0,
Hup = 1,
Int = 2,
Quit = 3,
Term = 15,
}
Expand description
Encapsulates a POSIX signal to be sent to the target program.
Variants§
Implementations§
Trait Implementations§
source§impl Ord for Signal
impl Ord for Signal
source§impl PartialEq for Signal
impl PartialEq for Signal
source§impl PartialOrd for Signal
impl PartialOrd for Signal
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Signal
impl Eq for Signal
impl StructuralPartialEq for Signal
Auto Trait Implementations§
impl Freeze for Signal
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