Enum gpu_alloc::DeviceMapError
source · 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 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