Enum vulkano::OomError
[−]
[src]
pub enum OomError { OutOfHostMemory, OutOfDeviceMemory, }
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
impl From<OomError> for BufferCreationError
[src]
fn from(err: OomError) -> BufferCreationError
[src]
Performs the conversion.
impl From<OomError> for BufferViewCreationError
[src]
fn from(err: OomError) -> BufferViewCreationError
[src]
Performs the conversion.
impl From<OomError> for BuildError
[src]
fn from(err: OomError) -> BuildError
[src]
Performs the conversion.
impl From<OomError> for PersistentDescriptorSetBuildError
[src]
fn from(err: OomError) -> PersistentDescriptorSetBuildError
[src]
Performs the conversion.
impl From<OomError> for PipelineLayoutCreationError
[src]
fn from(err: OomError) -> PipelineLayoutCreationError
[src]
Performs the conversion.
impl From<OomError> for FramebufferCreationError
[src]
fn from(err: OomError) -> FramebufferCreationError
[src]
Performs the conversion.
impl From<OomError> for RenderPassCreationError
[src]
fn from(err: OomError) -> RenderPassCreationError
[src]
Performs the conversion.
impl From<OomError> for ImageCreationError
[src]
fn from(err: OomError) -> ImageCreationError
[src]
Performs the conversion.
impl From<OomError> for InstanceCreationError
[src]
fn from(err: OomError) -> InstanceCreationError
[src]
Performs the conversion.
impl From<OomError> for LayersListError
[src]
fn from(err: OomError) -> LayersListError
[src]
Performs the conversion.
impl From<OomError> for DeviceMemoryAllocError
[src]
fn from(err: OomError) -> DeviceMemoryAllocError
[src]
Performs the conversion.
impl From<OomError> for ComputePipelineCreationError
[src]
fn from(err: OomError) -> ComputePipelineCreationError
[src]
Performs the conversion.
impl From<OomError> for GraphicsPipelineCreationError
[src]
fn from(err: OomError) -> GraphicsPipelineCreationError
[src]
Performs the conversion.
impl From<OomError> for QueryPoolCreationError
[src]
fn from(err: OomError) -> QueryPoolCreationError
[src]
Performs the conversion.
impl From<OomError> for SamplerCreationError
[src]
fn from(err: OomError) -> SamplerCreationError
[src]
Performs the conversion.
impl From<OomError> for SurfaceCreationError
[src]
fn from(err: OomError) -> SurfaceCreationError
[src]
Performs the conversion.
impl From<OomError> for CapabilitiesError
[src]
fn from(err: OomError) -> CapabilitiesError
[src]
Performs the conversion.
impl From<OomError> for SwapchainCreationError
[src]
fn from(err: OomError) -> SwapchainCreationError
[src]
Performs the conversion.
impl From<OomError> for AcquireError
[src]
fn from(err: OomError) -> AcquireError
[src]
Performs the conversion.
impl Copy for OomError
[src]
impl Clone for OomError
[src]
fn clone(&self) -> OomError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for OomError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for OomError
[src]
fn eq(&self, __arg_0: &OomError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for OomError
[src]
impl Error for OomError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more