pub enum SignalValue {
Integer(i32),
Pointer(u64),
}Expand description
Valeur attachée à un signal envoyé via le pattern SI_QUEUE
(rt_sigqueueinfo, ou pidfd_send_signal avec info non-null).
Côté kernel siginfo_t, c’est l’union sigval_t { int si_int; void *si_ptr; } — discrimination via si_code (mais ici la
discrimination est portée par la variante Rust).
Variants§
Trait Implementations§
Source§impl Clone for SignalValue
impl Clone for SignalValue
Source§fn clone(&self) -> SignalValue
fn clone(&self) -> SignalValue
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 SignalValue
Source§impl Debug for SignalValue
impl Debug for SignalValue
impl Eq for SignalValue
Source§impl Hash for SignalValue
impl Hash for SignalValue
Source§impl PartialEq for SignalValue
impl PartialEq for SignalValue
impl StructuralPartialEq for SignalValue
Auto Trait Implementations§
impl Freeze for SignalValue
impl RefUnwindSafe for SignalValue
impl Send for SignalValue
impl Sync for SignalValue
impl Unpin for SignalValue
impl UnsafeUnpin for SignalValue
impl UnwindSafe for SignalValue
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