Enum vm_memory::volatile_memory::Error [−][src]
pub enum Error { OutOfBounds { addr: usize, }, Overflow { base: usize, offset: usize, }, TooBig { nelements: usize, size: usize, }, Misaligned { addr: usize, alignment: usize, }, IOError(Error), PartialBuffer { expected: usize, completed: usize, }, }
Expand description
VolatileMemory
related errors.
Variants
addr
is out of bounds of the volatile memory slice.
Fields of OutOfBounds
addr: usize
Taking a slice at base
with offset
would overflow usize
.
Taking a slice whose size overflows usize
.
Trying to obtain a misaligned reference.
Writing to memory failed
Tuple Fields of IOError
0: Error
Incomplete read or write