pub enum SystemRequestError {
NotImplemented,
NotAllowed,
Failed,
}
Expand description
Possible failures for “system request” calls to the driver.
Variants§
NotImplemented
The driver does not implement this system request.
NotAllowed
The driver implements this system request but is not allowing it to be used in this circumstance.
Failed
The driver tried to execute this system request but it failed in some fashion. There’s no facility for providing more detailed information because the calling C/C++ code can’t do anything useful with the details.
Trait Implementations§
source§impl Clone for SystemRequestError
impl Clone for SystemRequestError
source§fn clone(&self) -> SystemRequestError
fn clone(&self) -> SystemRequestError
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 SystemRequestError
impl Debug for SystemRequestError
source§impl Display for SystemRequestError
impl Display for SystemRequestError
source§impl PartialEq for SystemRequestError
impl PartialEq for SystemRequestError
source§fn eq(&self, other: &SystemRequestError) -> bool
fn eq(&self, other: &SystemRequestError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SystemRequestError
impl Eq for SystemRequestError
impl StructuralPartialEq for SystemRequestError
Auto Trait Implementations§
impl RefUnwindSafe for SystemRequestError
impl Send for SystemRequestError
impl Sync for SystemRequestError
impl Unpin for SystemRequestError
impl UnwindSafe for SystemRequestError
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