[][src]Enum vulkano::sync::AccessError

pub enum AccessError {
    UnexpectedImageLayout {
        allowed: ImageLayout,
        requested: ImageLayout,
    ImageNotInitialized {
        requested: ImageLayout,

Access to a resource was denied.



Exclusive access is denied.


The resource is already in use, and there is no tracking of concurrent usages.


Fields of UnexpectedImageLayout

allowed: ImageLayoutrequested: ImageLayout

Trying to use an image without transitioning it from the "undefined" or "preinitialized" layouts first.

Fields of ImageNotInitialized

requested: ImageLayout

The layout that was requested for the image.


Trying to use a buffer that still contains garbage data.


Trying to use a swapchain image without depending on a corresponding acquire image future.

Trait Implementations

impl From<AccessError> for AccessCheckError[src]

impl From<AccessError> for FlushError[src]

impl Clone for AccessError[src]

impl Eq for AccessError[src]

impl PartialEq<AccessError> for AccessError[src]

impl Display for AccessError[src]

impl Debug for AccessError[src]

impl StructuralPartialEq for AccessError[src]

impl StructuralEq for AccessError[src]

impl Error for AccessError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Content for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized