pub struct KillByPidResponse {
pub pid: u32,
pub signal: i32,
pub killed_after_grace: bool,
}Fields§
§pid: u32§signal: i32§killed_after_grace: boolTrait Implementations§
Source§impl CliOutput for KillByPidResponse
impl CliOutput for KillByPidResponse
fn render_human(&self, f: &mut impl Write) -> Result
Source§impl Clone for KillByPidResponse
impl Clone for KillByPidResponse
Source§fn clone(&self) -> KillByPidResponse
fn clone(&self) -> KillByPidResponse
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 KillByPidResponse
impl Debug for KillByPidResponse
Source§impl<'de> Deserialize<'de> for KillByPidResponse
impl<'de> Deserialize<'de> for KillByPidResponse
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
Source§impl PartialEq for KillByPidResponse
impl PartialEq for KillByPidResponse
Source§fn eq(&self, other: &KillByPidResponse) -> bool
fn eq(&self, other: &KillByPidResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KillByPidResponse
impl Serialize for KillByPidResponse
impl Eq for KillByPidResponse
impl StructuralPartialEq for KillByPidResponse
Auto Trait Implementations§
impl Freeze for KillByPidResponse
impl RefUnwindSafe for KillByPidResponse
impl Send for KillByPidResponse
impl Sync for KillByPidResponse
impl Unpin for KillByPidResponse
impl UnsafeUnpin for KillByPidResponse
impl UnwindSafe for KillByPidResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.