Enum vulkano::OomError [−][src]
pub enum OomError { OutOfHostMemory, OutOfDeviceMemory, }
Error type returned by most Vulkan functions.
Variants
There is no memory available on the host (ie. the CPU, RAM, etc.).
There is no memory available on the device (ie. video memory).
Trait Implementations
impl Error for OomError
[src]
impl Error for OomError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]use the Display impl or to_string()
impl From<OomError> for BufferCreationError
[src]
impl From<OomError> for BufferCreationError
[src]fn from(err: OomError) -> BufferCreationError
[src]
fn from(err: OomError) -> BufferCreationError
[src]Performs the conversion.
impl From<OomError> for BufferViewCreationError
[src]
impl From<OomError> for BufferViewCreationError
[src]fn from(err: OomError) -> BufferViewCreationError
[src]
fn from(err: OomError) -> BufferViewCreationError
[src]Performs the conversion.
impl From<OomError> for InstanceCreationError
[src]
impl From<OomError> for InstanceCreationError
[src]fn from(err: OomError) -> InstanceCreationError
[src]
fn from(err: OomError) -> InstanceCreationError
[src]Performs the conversion.
impl From<OomError> for LayersListError
[src]
impl From<OomError> for LayersListError
[src]fn from(err: OomError) -> LayersListError
[src]
fn from(err: OomError) -> LayersListError
[src]Performs the conversion.
impl From<OomError> for DeviceMemoryAllocError
[src]
impl From<OomError> for DeviceMemoryAllocError
[src]fn from(err: OomError) -> DeviceMemoryAllocError
[src]
fn from(err: OomError) -> DeviceMemoryAllocError
[src]Performs the conversion.
impl From<OomError> for ComputePipelineCreationError
[src]
impl From<OomError> for ComputePipelineCreationError
[src]fn from(err: OomError) -> ComputePipelineCreationError
[src]
fn from(err: OomError) -> ComputePipelineCreationError
[src]Performs the conversion.
impl From<OomError> for GraphicsPipelineCreationError
[src]
impl From<OomError> for GraphicsPipelineCreationError
[src]fn from(err: OomError) -> GraphicsPipelineCreationError
[src]
fn from(err: OomError) -> GraphicsPipelineCreationError
[src]Performs the conversion.
impl From<OomError> for QueryPoolCreationError
[src]
impl From<OomError> for QueryPoolCreationError
[src]fn from(err: OomError) -> QueryPoolCreationError
[src]
fn from(err: OomError) -> QueryPoolCreationError
[src]Performs the conversion.
impl From<OomError> for GetResultsError
[src]
impl From<OomError> for GetResultsError
[src]impl From<OomError> for SamplerCreationError
[src]
impl From<OomError> for SamplerCreationError
[src]fn from(err: OomError) -> SamplerCreationError
[src]
fn from(err: OomError) -> SamplerCreationError
[src]Performs the conversion.
impl From<OomError> for SurfaceCreationError
[src]
impl From<OomError> for SurfaceCreationError
[src]fn from(err: OomError) -> SurfaceCreationError
[src]
fn from(err: OomError) -> SurfaceCreationError
[src]Performs the conversion.
impl From<OomError> for CapabilitiesError
[src]
impl From<OomError> for CapabilitiesError
[src]fn from(err: OomError) -> CapabilitiesError
[src]
fn from(err: OomError) -> CapabilitiesError
[src]Performs the conversion.
impl From<OomError> for SwapchainCreationError
[src]
impl From<OomError> for SwapchainCreationError
[src]fn from(err: OomError) -> SwapchainCreationError
[src]
fn from(err: OomError) -> SwapchainCreationError
[src]Performs the conversion.
impl From<OomError> for FullscreenExclusiveError
[src]
impl From<OomError> for FullscreenExclusiveError
[src]fn from(err: OomError) -> FullscreenExclusiveError
[src]
fn from(err: OomError) -> FullscreenExclusiveError
[src]Performs the conversion.
impl From<OomError> for AcquireError
[src]
impl From<OomError> for AcquireError
[src]fn from(err: OomError) -> AcquireError
[src]
fn from(err: OomError) -> AcquireError
[src]Performs the conversion.
impl From<OomError> for BuildError
[src]
impl From<OomError> for BuildError
[src]fn from(err: OomError) -> BuildError
[src]
fn from(err: OomError) -> BuildError
[src]Performs the conversion.
impl From<OomError> for PersistentDescriptorSetBuildError
[src]
impl From<OomError> for PersistentDescriptorSetBuildError
[src]fn from(err: OomError) -> PersistentDescriptorSetBuildError
[src]
fn from(err: OomError) -> PersistentDescriptorSetBuildError
[src]Performs the conversion.
impl From<OomError> for PipelineLayoutCreationError
[src]
impl From<OomError> for PipelineLayoutCreationError
[src]fn from(err: OomError) -> PipelineLayoutCreationError
[src]
fn from(err: OomError) -> PipelineLayoutCreationError
[src]Performs the conversion.
impl From<OomError> for FramebufferCreationError
[src]
impl From<OomError> for FramebufferCreationError
[src]fn from(err: OomError) -> FramebufferCreationError
[src]
fn from(err: OomError) -> FramebufferCreationError
[src]Performs the conversion.
impl From<OomError> for RenderPassCreationError
[src]
impl From<OomError> for RenderPassCreationError
[src]fn from(err: OomError) -> RenderPassCreationError
[src]
fn from(err: OomError) -> RenderPassCreationError
[src]Performs the conversion.
impl From<OomError> for ImageCreationError
[src]
impl From<OomError> for ImageCreationError
[src]fn from(err: OomError) -> ImageCreationError
[src]
fn from(err: OomError) -> ImageCreationError
[src]Performs the conversion.
impl From<OomError> for ImageViewCreationError
[src]
impl From<OomError> for ImageViewCreationError
[src]fn from(err: OomError) -> ImageViewCreationError
[src]
fn from(err: OomError) -> ImageViewCreationError
[src]Performs the conversion.
impl Copy for OomError
[src]
impl Eq for OomError
[src]
impl StructuralEq for OomError
[src]
impl StructuralPartialEq for OomError
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Content for T
[src]
impl<T> Content for T
[src]pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]Builds a pointer to this type from a raw pointer.
pub fn is_size_suitable(usize) -> bool
[src]
pub fn is_size_suitable(usize) -> bool
[src]Returns true if the size is suitable to store a type like this.
pub fn indiv_size() -> usize
[src]
pub fn indiv_size() -> usize
[src]Returns the size of an individual element.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more