pub enum KillError {
SignalDoesNotExist,
FailedToSendSignal,
}Expand description
Enum describing possible Process::kill_and_wait errors.
Variants§
SignalDoesNotExist
This signal doesn’t exist on this platform.
FailedToSendSignal
The signal failed to be sent to the target process.
Trait Implementations§
Source§impl Error for KillError
impl Error for KillError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl Copy for KillError
impl Eq for KillError
impl StructuralPartialEq for KillError
Auto Trait Implementations§
impl Freeze for KillError
impl RefUnwindSafe for KillError
impl Send for KillError
impl Sync for KillError
impl Unpin for KillError
impl UnsafeUnpin for KillError
impl UnwindSafe for KillError
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