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
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: 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
sourceimpl From<OomError> for BuildError
impl From<OomError> for BuildError
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 DeviceMemoryError
impl From<OomError> for DeviceMemoryError
sourceimpl From<OomError> for FenceError
impl From<OomError> for FenceError
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 ImmutableImageCreationError
impl From<OomError> for ImmutableImageCreationError
sourceimpl From<OomError> for InstanceCreationError
impl From<OomError> for InstanceCreationError
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 PresentWaitError
impl From<OomError> for PresentWaitError
sourcefn from(err: OomError) -> PresentWaitError
fn from(err: OomError) -> PresentWaitError
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 SemaphoreError
impl From<OomError> for SemaphoreError
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 SwapchainCreationError
impl From<OomError> for SwapchainCreationError
sourcefn from(err: OomError) -> SwapchainCreationError
fn from(err: OomError) -> SwapchainCreationError
Converts to this type from the input type.
sourceimpl From<VulkanError> for OomError
impl From<VulkanError> for OomError
sourcefn from(err: VulkanError) -> OomError
fn from(err: VulkanError) -> OomError
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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