pub enum DeviceMapError {
OutOfDeviceMemory,
OutOfHostMemory,
MapFailed,
}
Expand description
Memory mapped error.
Variants§
OutOfDeviceMemory
Device memory exhausted.
OutOfHostMemory
Host memory exhausted.
MapFailed
Map failed due to implementation specific error.
Trait Implementations§
Source§impl Debug for DeviceMapError
impl Debug for DeviceMapError
Source§impl From<DeviceMapError> for MapError
impl From<DeviceMapError> for MapError
Source§fn from(err: DeviceMapError) -> Self
fn from(err: DeviceMapError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeviceMapError
impl RefUnwindSafe for DeviceMapError
impl Send for DeviceMapError
impl Sync for DeviceMapError
impl Unpin for DeviceMapError
impl UnwindSafe for DeviceMapError
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