Enum nix::sys::ptrace::Event [] [src]

#[repr(i32)]
pub enum Event { PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK, PTRACE_EVENT_CLONE, PTRACE_EVENT_EXEC, PTRACE_EVENT_VFORK_DONE, PTRACE_EVENT_EXIT, PTRACE_EVENT_SECCOMP, }

Using the ptrace options the tracer can configure the tracee to stop at certain events. This enum is used to define those events as defined in man ptrace.

Variants

Event that stops before a return from fork or clone.

Event that stops before a return from vfork or clone.

Event that stops before a return from clone.

Event that stops before a return from execve.

Event for a return from vfork.

Event for a stop before an exit. Unlike the waitpid Exit status program. registers can still be examined

STop triggered by a seccomp rule on a tracee.

Trait Implementations

impl Clone for Event
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Event
[src]

impl Debug for Event
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Event
[src]

impl Hash for Event
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Ord for Event
[src]

[src]

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl PartialEq for Event
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl PartialOrd for Event
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more