pub enum SignalBinding {
Bound,
CheckedNumeric,
}Expand description
Re-exported process-bound signal and exit-watch handle (ProcessHandle) from sysprims-signal.
How tightly signal delivery on a ProcessHandle is bound to the target
process incarnation.
Variants§
Bound
Kernel-bound: signal delivery uses an OS descriptor/handle (pidfd on
Linux >= 5.3, HANDLE on Windows) and cannot reach a later holder of
the numeric PID.
CheckedNumeric
Exit watch and process start-identity are verified immediately before a
numeric kill(pid, sig) call; the narrow exit-reap-reuse window remains
(macOS; Linux < 5.3 ENOSYS fallback).
Implementations§
Trait Implementations§
Source§impl Clone for SignalBinding
impl Clone for SignalBinding
Source§fn clone(&self) -> SignalBinding
fn clone(&self) -> SignalBinding
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 moreimpl Copy for SignalBinding
Source§impl Debug for SignalBinding
impl Debug for SignalBinding
Source§impl Display for SignalBinding
impl Display for SignalBinding
impl Eq for SignalBinding
Source§impl Hash for SignalBinding
impl Hash for SignalBinding
Source§impl PartialEq for SignalBinding
impl PartialEq for SignalBinding
impl StructuralPartialEq for SignalBinding
Auto Trait Implementations§
impl Forget for SignalBinding
impl Freeze for SignalBinding
impl Move for SignalBinding
impl RefUnwindSafe for SignalBinding
impl Send for SignalBinding
impl Sync for SignalBinding
impl Unpin for SignalBinding
impl UnsafeUnpin for SignalBinding
impl UnwindSafe for SignalBinding
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.