Enum vulkano::sync::AccessConflict
source · pub enum AccessConflict {
HostRead,
HostWrite,
DeviceRead,
DeviceWrite,
}
Expand description
Conflict when attempting to access a resource.
Variants§
HostRead
The resource is already locked for reading by the host (CPU).
HostWrite
The resource is already locked for writing by the host (CPU).
DeviceRead
The resource is already locked for reading by the device (GPU).
DeviceWrite
The resource is already locked for writing by the device (GPU).
Trait Implementations§
source§impl Clone for AccessConflict
impl Clone for AccessConflict
source§fn clone(&self) -> AccessConflict
fn clone(&self) -> AccessConflict
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AccessConflict
impl Debug for AccessConflict
source§impl Display for AccessConflict
impl Display for AccessConflict
source§impl Error for AccessConflict
impl Error for AccessConflict
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for AccessConflict
impl PartialEq for AccessConflict
source§fn eq(&self, other: &AccessConflict) -> bool
fn eq(&self, other: &AccessConflict) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AccessConflict
impl StructuralEq for AccessConflict
impl StructuralPartialEq for AccessConflict
Auto Trait Implementations§
impl RefUnwindSafe for AccessConflict
impl Send for AccessConflict
impl Sync for AccessConflict
impl Unpin for AccessConflict
impl UnwindSafe for AccessConflict
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more