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]
impl Clone for AccessCheckError
fn clone(&self) -> AccessCheckError
[src]
fn clone(&self) -> AccessCheckError
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for AccessCheckError
[src]
impl Debug for AccessCheckError
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 AccessCheckError
[src]
impl PartialEq for AccessCheckError
fn eq(&self, other: &AccessCheckError) -> bool
[src]
fn eq(&self, other: &AccessCheckError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AccessCheckError) -> bool
[src]
fn ne(&self, other: &AccessCheckError) -> bool
This method tests for !=
.
impl Eq for AccessCheckError
[src]
impl Eq for AccessCheckError
impl Error for AccessCheckError
[src]
impl Error for AccessCheckError
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>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for AccessCheckError
[src]
impl Display for AccessCheckError
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.
Auto Trait Implementations
impl Send for AccessCheckError
impl Send for AccessCheckError
impl Sync for AccessCheckError
impl Sync for AccessCheckError