Enum vulkano::swapchain::AcquireError
source · [−]#[repr(u32)]
pub enum AcquireError {
OomError(OomError),
DeviceLost,
Timeout,
SurfaceLost,
FullscreenExclusiveLost,
OutOfDate,
SemaphoreError(SemaphoreError),
}
Expand description
Error that can happen when calling acquire_next_image
.
Variants
OomError(OomError)
Not enough memory.
DeviceLost
The connection to the device has been lost.
Timeout
The timeout of the function has been reached before an image was available.
SurfaceLost
The surface is no longer accessible and must be recreated.
FullscreenExclusiveLost
The swapchain has lost or doesn’t have fullscreen exclusivity possibly for implementation-specific reasons outside of the application’s control.
OutOfDate
The surface has changed in a way that makes the swapchain unusable. You must query the surface’s new properties and recreate a new swapchain if you want to continue drawing.
SemaphoreError(SemaphoreError)
Error during semaphore creation
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AcquireError
impl Send for AcquireError
impl Sync for AcquireError
impl Unpin for AcquireError
impl UnwindSafe for AcquireError
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.