Enum mem_map::errors::Error[][src]

pub enum Error {
    None,
    RestrictedID,
    InvalidID,
    InvalidHandle,
    ReadProcessMemoryFailed,
    AddressNotSaved,
}
Expand description

Error - More user-friendly way of representing error codes.

Variants

None

Successful operation.
Error code: [0]

RestrictedID

Tried to operate on a restricted ID.
Error code: [1]

InvalidID

Tried to get a pointer from map with not existing, or not extern ID.
Error code: [2]

InvalidHandle

Handle to a process was invalid.
Error code: [3]

ReadProcessMemoryFailed

WinAPI function ReadProcessMemory couldn’t read any memory.
Error code: [4]

AddressNotSaved

Address to a pointer could not be saved into the registry.
Error code: [5]

Trait Implementations

Converts u32 error code into Error enum variant.

Performs the conversion.

Converts Error enum variants into u32 error code.

Performs the conversion.

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

Performs the conversion.

Performs the conversion.

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.