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

pub enum AcquireError {
    OomError(OomError),
    DeviceLost,
    Timeout,
    SurfaceLost,
    OutOfDate,
}

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.

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.

Trait Implementations

impl Eq for AcquireError
[src]

impl PartialEq for AcquireError
[src]

fn eq(&self, __arg_0: &AcquireError) -> bool

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

fn ne(&self, __arg_0: &AcquireError) -> bool

This method tests for !=.

impl Debug for AcquireError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for AcquireError
[src]

fn clone(&self) -> AcquireError

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for AcquireError
[src]

impl Error for AcquireError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

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

impl Display for AcquireError
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl From<Error> for AcquireError
[src]

fn from(err: Error) -> AcquireError

Performs the conversion.