Enum vulkano::swapchain::PresentError
[−]
[src]
pub enum PresentError { OomError(OomError), DeviceLost, 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.
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 Copy for PresentError
[src]
impl Clone for PresentError
[src]
fn clone(&self) -> PresentError
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 Debug for PresentError
[src]
impl PartialEq for PresentError
[src]
fn eq(&self, __arg_0: &PresentError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PresentError) -> bool
This method tests for !=
.
impl Eq for PresentError
[src]
impl Error for PresentError
[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 PresentError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl From<Error> for PresentError
[src]
fn from(err: Error) -> PresentError
Performs the conversion.