pub enum MemoryFault {
Range,
Alignment,
}Expand description
Why an address did not name memory this side may touch that way.
Variants§
Range
Some byte of the range is not shared, or not for the access asked.
Alignment
A word access named an address that is not a multiple of its size.
Trait Implementations§
Source§impl Clone for MemoryFault
impl Clone for MemoryFault
impl Copy for MemoryFault
Source§impl Debug for MemoryFault
impl Debug for MemoryFault
impl Eq for MemoryFault
Source§impl From<MemoryFault> for QueueError<DeviceRingError>
impl From<MemoryFault> for QueueError<DeviceRingError>
Source§fn from(fault: MemoryFault) -> Self
fn from(fault: MemoryFault) -> Self
Converts to this type from the input type.
Source§impl From<MemoryFault> for QueueError<DriverRingError>
impl From<MemoryFault> for QueueError<DriverRingError>
Source§fn from(fault: MemoryFault) -> Self
fn from(fault: MemoryFault) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MemoryFault
impl PartialEq for MemoryFault
impl StructuralPartialEq for MemoryFault
Auto Trait Implementations§
impl Freeze for MemoryFault
impl RefUnwindSafe for MemoryFault
impl Send for MemoryFault
impl Sync for MemoryFault
impl Unpin for MemoryFault
impl UnsafeUnpin for MemoryFault
impl UnwindSafe for MemoryFault
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more