pub struct AttachedProcess<'a, T>where
    T: GetContext,
{ pub api: MaybeOwned<'a, T>, pub context: T::Context, }

Fields

api: MaybeOwned<'a, T>context: T::Context

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Allocates size bytes of memory in the process with the specified protection. Returns the allocated memory or an error. Read more
Frees allocated memory at the specified address and size.
Sets the protection of the memory range to the specified protection. Returns the old memory protection or an error Read more
Reads bytes from the process at the specified address into a buffer. Returns None if the address is not valid Read more
Reads bytes from the process at the specified address and returns the bytes as a Vector. Returns none if the address is not valid Read more
Dumps a memory range into a Vector. If any part of the memory range is not valid, it will return None Read more
Returns true if the specified address is valid. By default reads one byte at that location and returns the success value Read more
Reads a string at the specified location with char length of 1. If the address is valid or there is no null terminator in MAX_STRING_SIZE characters, it will return None Read more
Reads a wide string at the specified location with char length of 1. If the address is valid or there is no null terminator in MAX_STRING_SIZE characters, it will return None Read more
Writes bytes from the buffer into the process at the specified address. Returns None if the address is not valid Read more
Returns a list of all modules. If the implementor can only provide a single module based on the name, this function should panic Read more
Returns a single module by name. If the module name does not exist, returns None Read more
Gets the main module from the process.

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.

Reads bytes from the process at the specified address into a value of type T. Returns None if the address is not valid Read more
Reads any type T from the process without the restriction of Pod
Reads bytes from the process at the specified address into a value of type T. Panics if the address is not valid Read more
Reads a const number of bytes from the process returning a stack allocated array.
Reads bytes from the process in chunks with the specified size
Reads bytes from the process in chunks with the specified size. The function will return Some(n) with the number of bytes read unless every single chunk fails Read more
Returns None if the address is not valid
Writes any type T to the process without the restriction of Pod
Writes bytes to the process at the specified address with the value of type T. Panics if the address is not valid Read more
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.