logo
pub struct Process(_);
Expand description

A handle representing an attached process that can be used to read its memory.

Implementations

Reads a single value from the attached processes memory space. To be able to use this with your own types, they need to implement Pod (it’s implemented for the numeric types and fixed size arrays by default).

Search for a module (aka dynamic library) loaded by the attached process by name and return its base address.

Read bytes from the attached processes memory space starting at addr into buf.

Reads a null terminated string starting at the given base address. Returns an Error on a failed read, and panics if no null is encountered after 255 bytes or the bytes read are invalid unicode.

Trait Implementations

Formats the value using the given formatter. Read more
Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.