pub enum OomError {
OutOfHostMemory,
OutOfDeviceMemory,
}
Expand description
Error type returned by most Vulkan functions.
Variants
OutOfHostMemory
There is no memory available on the host (ie. the CPU, RAM, etc.).
OutOfDeviceMemory
There is no memory available on the device (ie. video memory).
Trait Implementations
sourceimpl Error for OomError
impl Error for OomError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<OomError> for AcquireError
impl From<OomError> for AcquireError
sourcefn from(err: OomError) -> AcquireError
fn from(err: OomError) -> AcquireError
Converts to this type from the input type.
sourceimpl From<OomError> for BufferCreationError
impl From<OomError> for BufferCreationError
sourcefn from(err: OomError) -> BufferCreationError
fn from(err: OomError) -> BufferCreationError
Converts to this type from the input type.
sourceimpl From<OomError> for BufferViewCreationError
impl From<OomError> for BufferViewCreationError
sourcefn from(err: OomError) -> BufferViewCreationError
fn from(err: OomError) -> BufferViewCreationError
Converts to this type from the input type.
sourceimpl From<OomError> for BuildError
impl From<OomError> for BuildError
sourcefn from(err: OomError) -> BuildError
fn from(err: OomError) -> BuildError
Converts to this type from the input type.
sourceimpl From<OomError> for CommandBufferBeginError
impl From<OomError> for CommandBufferBeginError
sourceimpl From<OomError> for ComputePipelineCreationError
impl From<OomError> for ComputePipelineCreationError
sourcefn from(err: OomError) -> ComputePipelineCreationError
fn from(err: OomError) -> ComputePipelineCreationError
Converts to this type from the input type.
sourceimpl From<OomError> for DescriptorSetCreationError
impl From<OomError> for DescriptorSetCreationError
sourceimpl From<OomError> for DeviceMemoryAllocationError
impl From<OomError> for DeviceMemoryAllocationError
sourceimpl From<OomError> for DeviceMemoryExportError
impl From<OomError> for DeviceMemoryExportError
sourcefn from(err: OomError) -> DeviceMemoryExportError
fn from(err: OomError) -> DeviceMemoryExportError
Converts to this type from the input type.
sourceimpl From<OomError> for FramebufferCreationError
impl From<OomError> for FramebufferCreationError
sourceimpl From<OomError> for FullScreenExclusiveError
impl From<OomError> for FullScreenExclusiveError
sourcefn from(err: OomError) -> FullScreenExclusiveError
fn from(err: OomError) -> FullScreenExclusiveError
Converts to this type from the input type.
sourceimpl From<OomError> for GetResultsError
impl From<OomError> for GetResultsError
sourceimpl From<OomError> for GraphicsPipelineCreationError
impl From<OomError> for GraphicsPipelineCreationError
sourcefn from(err: OomError) -> GraphicsPipelineCreationError
fn from(err: OomError) -> GraphicsPipelineCreationError
Converts to this type from the input type.
sourceimpl From<OomError> for ImageCreationError
impl From<OomError> for ImageCreationError
sourceimpl From<OomError> for ImageViewCreationError
impl From<OomError> for ImageViewCreationError
sourcefn from(err: OomError) -> ImageViewCreationError
fn from(err: OomError) -> ImageViewCreationError
Converts to this type from the input type.
sourceimpl From<OomError> for ImmutableBufferCreationError
impl From<OomError> for ImmutableBufferCreationError
sourceimpl From<OomError> for ImmutableImageCreationError
impl From<OomError> for ImmutableImageCreationError
sourceimpl From<OomError> for InstanceCreationError
impl From<OomError> for InstanceCreationError
sourceimpl From<OomError> for LayersListError
impl From<OomError> for LayersListError
sourcefn from(err: OomError) -> LayersListError
fn from(err: OomError) -> LayersListError
Converts to this type from the input type.
sourceimpl From<OomError> for MemoryMapError
impl From<OomError> for MemoryMapError
sourceimpl From<OomError> for PipelineLayoutCreationError
impl From<OomError> for PipelineLayoutCreationError
sourcefn from(err: OomError) -> PipelineLayoutCreationError
fn from(err: OomError) -> PipelineLayoutCreationError
Converts to this type from the input type.
sourceimpl From<OomError> for QueryPoolCreationError
impl From<OomError> for QueryPoolCreationError
sourcefn from(err: OomError) -> QueryPoolCreationError
fn from(err: OomError) -> QueryPoolCreationError
Converts to this type from the input type.
sourceimpl From<OomError> for RenderPassCreationError
impl From<OomError> for RenderPassCreationError
sourcefn from(err: OomError) -> RenderPassCreationError
fn from(err: OomError) -> RenderPassCreationError
Converts to this type from the input type.
sourceimpl From<OomError> for SamplerCreationError
impl From<OomError> for SamplerCreationError
sourceimpl From<OomError> for SamplerYcbcrConversionCreationError
impl From<OomError> for SamplerYcbcrConversionCreationError
sourcefn from(err: OomError) -> SamplerYcbcrConversionCreationError
fn from(err: OomError) -> SamplerYcbcrConversionCreationError
Converts to this type from the input type.
sourceimpl From<OomError> for SemaphoreCreationError
impl From<OomError> for SemaphoreCreationError
sourceimpl From<OomError> for SupportedExtensionsError
impl From<OomError> for SupportedExtensionsError
sourcefn from(err: OomError) -> SupportedExtensionsError
fn from(err: OomError) -> SupportedExtensionsError
Converts to this type from the input type.
sourceimpl From<OomError> for SurfaceCreationError
impl From<OomError> for SurfaceCreationError
sourcefn from(err: OomError) -> SurfaceCreationError
fn from(err: OomError) -> SurfaceCreationError
Converts to this type from the input type.
sourceimpl From<OomError> for SurfacePropertiesError
impl From<OomError> for SurfacePropertiesError
sourcefn from(err: OomError) -> SurfacePropertiesError
fn from(err: OomError) -> SurfacePropertiesError
Converts to this type from the input type.
sourceimpl From<OomError> for SwapchainCreationError
impl From<OomError> for SwapchainCreationError
sourcefn from(err: OomError) -> SwapchainCreationError
fn from(err: OomError) -> SwapchainCreationError
Converts to this type from the input type.
impl Copy for OomError
impl Eq for OomError
impl StructuralEq for OomError
impl StructuralPartialEq for OomError
Auto Trait Implementations
impl RefUnwindSafe for OomError
impl Send for OomError
impl Sync for OomError
impl Unpin for OomError
impl UnwindSafe for OomError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more