#[repr(i32)]
#[non_exhaustive]
pub enum Request {
Show 17 variants
PTRACE_TRACEME,
PTRACE_PEEKTEXT,
PTRACE_PEEKDATA,
PTRACE_PEEKUSER,
PTRACE_POKETEXT,
PTRACE_POKEDATA,
PTRACE_POKEUSER,
PTRACE_CONT,
PTRACE_KILL,
PTRACE_SINGLESTEP,
PTRACE_ATTACH,
PTRACE_DETACH,
PTRACE_SYSCALL,
PTRACE_SETOPTIONS,
PTRACE_GETEVENTMSG,
PTRACE_GETSIGINFO,
PTRACE_SETSIGINFO,
}
Available on crate feature
ptrace
only.Expand description
Ptrace Request enum defining the action to be taken.
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.
PTRACE_TRACEME
PTRACE_PEEKTEXT
PTRACE_PEEKDATA
PTRACE_PEEKUSER
PTRACE_POKETEXT
PTRACE_POKEDATA
PTRACE_POKEUSER
PTRACE_CONT
PTRACE_KILL
PTRACE_SINGLESTEP
PTRACE_ATTACH
PTRACE_DETACH
PTRACE_SYSCALL
PTRACE_SETOPTIONS
PTRACE_GETEVENTMSG
PTRACE_GETSIGINFO
PTRACE_SETSIGINFO
Trait Implementations§
source§impl Ord for Request
impl Ord for Request
source§impl PartialEq<Request> for Request
impl PartialEq<Request> for Request
source§impl PartialOrd<Request> for Request
impl PartialOrd<Request> for Request
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more