Enum vulkano::sync::FlushError
[−]
[src]
pub enum FlushError { AccessError(AccessError), OomError(OomError), DeviceLost, SurfaceLost, OutOfDate, Timeout, }
Error that can happen when creating a graphics pipeline.
Variants
AccessError(AccessError)
Access to a resource has been denied.
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.
Timeout
The flush operation needed to block, but the timeout has elapsed.
Trait Implementations
impl Clone for FlushError
[src]
fn clone(&self) -> FlushError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for FlushError
[src]
impl PartialEq for FlushError
[src]
fn eq(&self, __arg_0: &FlushError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FlushError) -> bool
[src]
This method tests for !=
.
impl Eq for FlushError
[src]
impl Error for FlushError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl Display for FlushError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl From<AccessError> for FlushError
[src]
fn from(err: AccessError) -> FlushError
[src]
Performs the conversion.
impl From<SubmitPresentError> for FlushError
[src]
fn from(err: SubmitPresentError) -> FlushError
[src]
Performs the conversion.
impl From<SubmitCommandBufferError> for FlushError
[src]
fn from(err: SubmitCommandBufferError) -> FlushError
[src]
Performs the conversion.
impl From<SubmitBindSparseError> for FlushError
[src]
fn from(err: SubmitBindSparseError) -> FlushError
[src]
Performs the conversion.
impl From<FenceWaitError> for FlushError
[src]
fn from(err: FenceWaitError) -> FlushError
[src]
Performs the conversion.