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 SupportedExtensionsError
impl From<OomError> for SupportedExtensionsError
sourcefn from(err: OomError) -> SupportedExtensionsError
fn from(err: OomError) -> SupportedExtensionsError
Performs the conversion.
sourceimpl From<OomError> for BufferCreationError
impl From<OomError> for BufferCreationError
sourcefn from(err: OomError) -> BufferCreationError
fn from(err: OomError) -> BufferCreationError
Performs the conversion.
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
Performs the conversion.
sourceimpl From<OomError> for LayersListError
impl From<OomError> for LayersListError
sourcefn from(err: OomError) -> LayersListError
fn from(err: OomError) -> LayersListError
Performs the conversion.
sourceimpl From<OomError> for InstanceCreationError
impl From<OomError> for InstanceCreationError
sourcefn from(err: OomError) -> InstanceCreationError
fn from(err: OomError) -> InstanceCreationError
Performs the conversion.
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
Performs the conversion.
sourceimpl From<OomError> for ComputePipelineCreationError
impl From<OomError> for ComputePipelineCreationError
sourcefn from(err: OomError) -> ComputePipelineCreationError
fn from(err: OomError) -> ComputePipelineCreationError
Performs the conversion.
sourceimpl From<OomError> for GraphicsPipelineCreationError
impl From<OomError> for GraphicsPipelineCreationError
sourcefn from(err: OomError) -> GraphicsPipelineCreationError
fn from(err: OomError) -> GraphicsPipelineCreationError
Performs the conversion.
sourceimpl From<OomError> for PipelineLayoutCreationError
impl From<OomError> for PipelineLayoutCreationError
sourcefn from(err: OomError) -> PipelineLayoutCreationError
fn from(err: OomError) -> PipelineLayoutCreationError
Performs the conversion.
sourceimpl From<OomError> for QueryPoolCreationError
impl From<OomError> for QueryPoolCreationError
sourcefn from(err: OomError) -> QueryPoolCreationError
fn from(err: OomError) -> QueryPoolCreationError
Performs the conversion.
sourceimpl From<OomError> for BufferViewCreationError
impl From<OomError> for BufferViewCreationError
sourcefn from(err: OomError) -> BufferViewCreationError
fn from(err: OomError) -> BufferViewCreationError
Performs the conversion.
sourceimpl From<OomError> for GetResultsError
impl From<OomError> for GetResultsError
sourceimpl From<OomError> for SamplerYcbcrConversionCreationError
impl From<OomError> for SamplerYcbcrConversionCreationError
sourcefn from(err: OomError) -> SamplerYcbcrConversionCreationError
fn from(err: OomError) -> SamplerYcbcrConversionCreationError
Performs the conversion.
sourceimpl From<OomError> for SamplerCreationError
impl From<OomError> for SamplerCreationError
sourceimpl From<OomError> for SurfaceCreationError
impl From<OomError> for SurfaceCreationError
sourcefn from(err: OomError) -> SurfaceCreationError
fn from(err: OomError) -> SurfaceCreationError
Performs the conversion.
sourceimpl From<OomError> for SwapchainCreationError
impl From<OomError> for SwapchainCreationError
sourcefn from(err: OomError) -> SwapchainCreationError
fn from(err: OomError) -> SwapchainCreationError
Performs the conversion.
sourceimpl From<OomError> for FullScreenExclusiveError
impl From<OomError> for FullScreenExclusiveError
sourcefn from(err: OomError) -> FullScreenExclusiveError
fn from(err: OomError) -> FullScreenExclusiveError
Performs the conversion.
sourceimpl From<OomError> for AcquireError
impl From<OomError> for AcquireError
sourcefn from(err: OomError) -> AcquireError
fn from(err: OomError) -> AcquireError
Performs the conversion.
sourceimpl From<OomError> for SemaphoreCreationError
impl From<OomError> for SemaphoreCreationError
sourceimpl From<OomError> for BeginError
impl From<OomError> for BeginError
sourceimpl From<OomError> for BuildError
impl From<OomError> for BuildError
sourcefn from(err: OomError) -> BuildError
fn from(err: OomError) -> BuildError
Performs the conversion.
sourceimpl From<OomError> for DescriptorSetCreationError
impl From<OomError> for DescriptorSetCreationError
sourceimpl From<OomError> for SurfacePropertiesError
impl From<OomError> for SurfacePropertiesError
sourcefn from(err: OomError) -> SurfacePropertiesError
fn from(err: OomError) -> SurfacePropertiesError
Performs the conversion.
sourceimpl From<OomError> for RenderPassCreationError
impl From<OomError> for RenderPassCreationError
sourcefn from(err: OomError) -> RenderPassCreationError
fn from(err: OomError) -> RenderPassCreationError
Performs the conversion.
sourceimpl From<OomError> for FramebufferCreationError
impl From<OomError> for FramebufferCreationError
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more