Enum region::Error [−][src]
pub enum Error { UnmappedRegion, InvalidParameter(&'static str), ProcfsInput(String), SystemCall(Error), MachCall(c_int), }
Expand description
A collection of possible errors.
Variants
The queried memory is unmapped.
This does not necessarily mean that the memory region is available for allocation. Besides OS-specific semantics, queried addresses outside of a process’ adress range are also identified as unmapped regions.
A supplied parameter is invalid.
Tuple Fields of InvalidParameter
0: &'static str
A procfs region could not be parsed.
Tuple Fields of ProcfsInput
0: String
A system call failed.
Tuple Fields of SystemCall
0: Error
A macOS kernel call failed
Tuple Fields of MachCall
0: c_int