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

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: ImageLayoutrequested: ImageLayout
ImageNotInitialized

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.

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]

impl Debug for AccessError[src]

impl Display for AccessError[src]

impl Eq for AccessError[src]

impl Error for AccessError[src]

impl From<AccessError> for AccessCheckError[src]

impl From<AccessError> for FlushError[src]

impl PartialEq<AccessError> for AccessError[src]

impl StructuralEq for AccessError[src]

impl StructuralPartialEq for AccessError[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.