Enum signal_hook::low_level::siginfo::Sent
source · #[non_exhaustive]pub enum Sent {
User,
TKill,
Queue,
MesgQ,
}
Available on crate feature
extended-siginfo-raw
only.Expand description
The means by which a signal was sent by other process.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
User
The kill
call.
TKill
The tkill
call.
This is likely linux specific.
Queue
sigqueue
.
MesgQ
mq_notify
.
Trait Implementations§
source§impl PartialEq<Sent> for Sent
impl PartialEq<Sent> for Sent
impl Copy for Sent
impl Eq for Sent
impl StructuralEq for Sent
impl StructuralPartialEq for Sent
Auto Trait Implementations§
impl RefUnwindSafe for Sent
impl Send for Sent
impl Sync for Sent
impl Unpin for Sent
impl UnwindSafe for Sent
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