Module signal_hook::iterator::exfiltrator
source · Available on non-Windows and crate feature
iterator
only.Expand description
An abstraction over exfiltrating information out of signal handlers.
The Exfiltrator
trait provides a way to abstract the information extracted from a signal
handler and the way it is extracted out of it.
The implementations can be used to parametrize the
SignalsInfo
to specify what results are returned.
Sealed
Currently, the trait is sealed and all methods hidden. This is likely temporary, until some experience with them is gained.
Re-exports
pub use origin::WithOrigin;
pub use raw::WithRawSiginfo;
Modules
- origin
extended-siginfo
An exfiltrator providing the process that caused the signal. - An exfiltrator providing the raw
siginfo_t
.
Structs
- An
Exfiltrator
providing just the signal numbers.
Traits
- A trait describing what and how is extracted from signal handlers.