Enum vulkano::sync::AccessError
[−]
[src]
pub enum AccessError { ExclusiveDenied, AlreadyInUse, UnexpectedImageLayout { allowed: ImageLayout, requested: ImageLayout, }, ImageNotInitialized { requested: ImageLayout, }, BufferNotInitialized, SwapchainImageAcquireOnly, }
Access to a resource was denied.
Variants
ExclusiveDenied
Exclusive access is denied.
AlreadyInUse
The resource is already in use, and there is no tracking of concurrent usages.
UnexpectedImageLayout
Fields of UnexpectedImageLayout
allowed: ImageLayout | |
requested: ImageLayout |
ImageNotInitialized
Trying to use an image without transitionning it from the "undefined" or "preinitialized" layouts first.
Fields of ImageNotInitialized
requested: ImageLayout | The layout that was requested for the image. |
BufferNotInitialized
Trying to use a buffer that still contains garbage data.
SwapchainImageAcquireOnly
Trying to use a swapchain image without depending on a corresponding acquire image future.
Trait Implementations
impl Clone for AccessError
[src]
fn clone(&self) -> AccessError
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 AccessError
[src]
impl PartialEq for AccessError
[src]
fn eq(&self, __arg_0: &AccessError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AccessError) -> bool
This method tests for !=
.
impl Eq for AccessError
[src]
impl Error for AccessError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more