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
[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 AccessError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for AccessError
[src]
fn eq(&self, __arg_0: &AccessError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AccessError) -> bool
[src]
This method tests for !=
.
impl Eq for AccessError
[src]
impl Error for AccessError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl Display for AccessError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl From<AccessError> for AccessCheckError
[src]
fn from(err: AccessError) -> AccessCheckError
[src]
Performs the conversion.
impl From<AccessError> for FlushError
[src]
fn from(err: AccessError) -> FlushError
[src]
Performs the conversion.