Enum vulkano::swapchain::AcquireError [] [src]

#[repr(u32)]
pub enum AcquireError { OomError(OomError), DeviceLost, Timeout, SurfaceLost, OutOfDate, }

Error that can happen when calling acquire_next_image.

Variants

Not enough memory.

The connection to the device has been lost.

The timeout of the function has been reached before an image was available.

The surface is no longer accessible and must be recreated.

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.

Trait Implementations

impl Copy for AcquireError
[src]

impl Clone for AcquireError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AcquireError
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for AcquireError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for AcquireError
[src]

impl Error for AcquireError
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl Display for AcquireError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<OomError> for AcquireError
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for AcquireError

impl Sync for AcquireError