Enum vulkano::swapchain::PresentError [] [src]

pub enum PresentError {
    OomError(OomError),
    DeviceLost,
    SurfaceLost,
    OutOfDate,
}

Error that can happen when calling acquire_next_image.

Variants

Not enough memory.

The connection to the device has been lost.

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 PresentError
[src]

impl Clone for PresentError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PresentError
[src]

Formats the value using the given formatter.

impl PartialEq for PresentError
[src]

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

This method tests for !=.

impl Eq for PresentError
[src]

impl Error for PresentError
[src]

A short description of the error. Read more

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

impl Display for PresentError
[src]

Formats the value using the given formatter.

impl From<Error> for PresentError
[src]

Performs the conversion.