Enum vulkano::sync::AccessCheckError
[−]
[src]
pub enum AccessCheckError { Denied(AccessError), Unknown, }
Error that can happen when checking whether we have access to a resource.
Variants
Denied(AccessError)
Access to the resource has been denied.
Unknown
The resource is unknown, therefore we cannot possibly answer whether we have access or not.
Trait Implementations
impl Clone for AccessCheckError
[src]
fn clone(&self) -> AccessCheckError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for AccessCheckError
[src]
impl PartialEq for AccessCheckError
[src]
fn eq(&self, __arg_0: &AccessCheckError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AccessCheckError) -> bool
This method tests for !=
.
impl Eq for AccessCheckError
[src]
impl Error for AccessCheckError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more
impl Display for AccessCheckError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<AccessError> for AccessCheckError
[src]
fn from(err: AccessError) -> AccessCheckError
Performs the conversion.