pub struct KillArgs {
pub pid: u32,
pub signal: Option<i32>,
}Expand description
Input parameters for Kill::execute.
Fields§
§pid: u32Process ID to kill.
signal: Option<i32>Signal to send (default: 15 = SIGTERM). Must be valid POSIX: 1-31 or 64.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KillArgs
impl<'de> Deserialize<'de> for KillArgs
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
Auto Trait Implementations§
impl Freeze for KillArgs
impl RefUnwindSafe for KillArgs
impl Send for KillArgs
impl Sync for KillArgs
impl Unpin for KillArgs
impl UnsafeUnpin for KillArgs
impl UnwindSafe for KillArgs
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