pub enum ExternalMemoryExportError {
TooManyObjects,
OutOfHostMemory,
InvalidExternalHandle,
}
Expand description
Error while exporting a memory. Returned from Device::export_memory.
Variants§
TooManyObjects
Too many objects.
OutOfHostMemory
Out of host memory.
InvalidExternalHandle
Invalid external handle.
Trait Implementations§
Source§impl Clone for ExternalMemoryExportError
impl Clone for ExternalMemoryExportError
Source§fn clone(&self) -> ExternalMemoryExportError
fn clone(&self) -> ExternalMemoryExportError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExternalMemoryExportError
impl Debug for ExternalMemoryExportError
Source§impl Display for ExternalMemoryExportError
impl Display for ExternalMemoryExportError
Source§impl Error for ExternalMemoryExportError
impl Error for ExternalMemoryExportError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl StructuralPartialEq for ExternalMemoryExportError
Auto Trait Implementations§
impl Freeze for ExternalMemoryExportError
impl RefUnwindSafe for ExternalMemoryExportError
impl Send for ExternalMemoryExportError
impl Sync for ExternalMemoryExportError
impl Unpin for ExternalMemoryExportError
impl UnwindSafe for ExternalMemoryExportError
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