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§
source§impl Error for OomError
impl Error for OomError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl From<OomError> for AcquireError
impl From<OomError> for AcquireError
source§fn from(err: OomError) -> AcquireError
fn from(err: OomError) -> AcquireError
Converts to this type from the input type.
source§impl From<OomError> for BufferViewCreationError
impl From<OomError> for BufferViewCreationError
source§impl From<OomError> for BuildError
impl From<OomError> for BuildError
source§impl From<OomError> for CommandBufferBeginError
impl From<OomError> for CommandBufferBeginError
source§impl From<OomError> for ComputePipelineCreationError
impl From<OomError> for ComputePipelineCreationError
source§fn from(err: OomError) -> ComputePipelineCreationError
fn from(err: OomError) -> ComputePipelineCreationError
Converts to this type from the input type.
source§impl From<OomError> for DescriptorSetCreationError
impl From<OomError> for DescriptorSetCreationError
source§impl From<OomError> for DeviceMemoryError
impl From<OomError> for DeviceMemoryError
source§impl From<OomError> for FenceError
impl From<OomError> for FenceError
source§impl From<OomError> for FramebufferCreationError
impl From<OomError> for FramebufferCreationError
source§impl From<OomError> for FullScreenExclusiveError
impl From<OomError> for FullScreenExclusiveError
source§fn from(err: OomError) -> FullScreenExclusiveError
fn from(err: OomError) -> FullScreenExclusiveError
Converts to this type from the input type.
source§impl From<OomError> for GetResultsError
impl From<OomError> for GetResultsError
source§impl From<OomError> for GraphicsPipelineCreationError
impl From<OomError> for GraphicsPipelineCreationError
source§fn from(err: OomError) -> GraphicsPipelineCreationError
fn from(err: OomError) -> GraphicsPipelineCreationError
Converts to this type from the input type.
source§impl From<OomError> for ImageViewCreationError
impl From<OomError> for ImageViewCreationError
source§fn from(err: OomError) -> ImageViewCreationError
fn from(err: OomError) -> ImageViewCreationError
Converts to this type from the input type.
source§impl From<OomError> for InstanceCreationError
impl From<OomError> for InstanceCreationError
source§impl From<OomError> for MemoryMapError
impl From<OomError> for MemoryMapError
source§impl From<OomError> for PipelineLayoutCreationError
impl From<OomError> for PipelineLayoutCreationError
source§fn from(err: OomError) -> PipelineLayoutCreationError
fn from(err: OomError) -> PipelineLayoutCreationError
Converts to this type from the input type.
source§impl From<OomError> for PresentWaitError
impl From<OomError> for PresentWaitError
source§fn from(err: OomError) -> PresentWaitError
fn from(err: OomError) -> PresentWaitError
Converts to this type from the input type.
source§impl From<OomError> for QueryPoolCreationError
impl From<OomError> for QueryPoolCreationError
source§fn from(err: OomError) -> QueryPoolCreationError
fn from(err: OomError) -> QueryPoolCreationError
Converts to this type from the input type.
source§impl From<OomError> for RenderPassCreationError
impl From<OomError> for RenderPassCreationError
source§fn from(err: OomError) -> RenderPassCreationError
fn from(err: OomError) -> RenderPassCreationError
Converts to this type from the input type.
source§impl From<OomError> for SamplerCreationError
impl From<OomError> for SamplerCreationError
source§impl From<OomError> for SamplerYcbcrConversionCreationError
impl From<OomError> for SamplerYcbcrConversionCreationError
source§fn from(err: OomError) -> SamplerYcbcrConversionCreationError
fn from(err: OomError) -> SamplerYcbcrConversionCreationError
Converts to this type from the input type.
source§impl From<OomError> for SemaphoreError
impl From<OomError> for SemaphoreError
source§impl From<OomError> for SurfaceCreationError
impl From<OomError> for SurfaceCreationError
source§fn from(err: OomError) -> SurfaceCreationError
fn from(err: OomError) -> SurfaceCreationError
Converts to this type from the input type.
source§impl From<OomError> for SwapchainCreationError
impl From<OomError> for SwapchainCreationError
source§fn from(err: OomError) -> SwapchainCreationError
fn from(err: OomError) -> SwapchainCreationError
Converts to this type from the input type.
source§impl From<VulkanError> for OomError
impl From<VulkanError> for OomError
source§fn from(err: VulkanError) -> OomError
fn from(err: VulkanError) -> OomError
Converts to this type from the input type.