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 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 Clone for AccessError
fn clone(&self) -> AccessError
[src]
fn clone(&self) -> AccessError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for AccessError
[src]
impl Debug for AccessError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for AccessError
[src]
impl PartialEq for AccessError
fn eq(&self, other: &AccessError) -> bool
[src]
fn eq(&self, other: &AccessError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AccessError) -> bool
[src]
fn ne(&self, other: &AccessError) -> bool
This method tests for !=
.
impl Eq for AccessError
[src]
impl Eq for AccessError
impl Error for AccessError
[src]
impl Error for AccessError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for AccessError
[src]
impl Display for AccessError
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<AccessError> for AccessCheckError
[src]
impl From<AccessError> for AccessCheckError
fn from(err: AccessError) -> AccessCheckError
[src]
fn from(err: AccessError) -> AccessCheckError
Performs the conversion.
impl From<AccessError> for FlushError
[src]
impl From<AccessError> for FlushError
fn from(err: AccessError) -> FlushError
[src]
fn from(err: AccessError) -> FlushError
Performs the conversion.
Auto Trait Implementations
impl Send for AccessError
impl Send for AccessError
impl Sync for AccessError
impl Sync for AccessError