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

Exclusive access is denied.

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

Fields of UnexpectedImageLayout

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

Fields of ImageNotInitialized

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 Clone for AccessError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AccessError
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for AccessError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for AccessError
[src]

impl Error for AccessError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl Display for AccessError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<AccessError> for AccessCheckError
[src]

[src]

Performs the conversion.

impl From<AccessError> for FlushError
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for AccessError

impl Sync for AccessError