pub enum ShellKillSignal {
SIGTERM,
SIGKILL,
SIGINT,
Unknown,
}Expand description
Signal to send (default: SIGTERM)
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
SIGTERM
Request graceful process termination.
SIGKILL
Forcefully terminate the process.
SIGINT
Send an interrupt signal to the process.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for ShellKillSignal
impl Clone for ShellKillSignal
Source§fn clone(&self) -> ShellKillSignal
fn clone(&self) -> ShellKillSignal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShellKillSignal
impl Debug for ShellKillSignal
Source§impl Default for ShellKillSignal
impl Default for ShellKillSignal
Source§fn default() -> ShellKillSignal
fn default() -> ShellKillSignal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShellKillSignal
impl<'de> Deserialize<'de> for ShellKillSignal
Source§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
impl Eq for ShellKillSignal
Source§impl PartialEq for ShellKillSignal
impl PartialEq for ShellKillSignal
Source§fn eq(&self, other: &ShellKillSignal) -> bool
fn eq(&self, other: &ShellKillSignal) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ShellKillSignal
impl Serialize for ShellKillSignal
impl StructuralPartialEq for ShellKillSignal
Auto Trait Implementations§
impl Freeze for ShellKillSignal
impl RefUnwindSafe for ShellKillSignal
impl Send for ShellKillSignal
impl Sync for ShellKillSignal
impl Unpin for ShellKillSignal
impl UnsafeUnpin for ShellKillSignal
impl UnwindSafe for ShellKillSignal
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