pub enum DeviceStateError {
InvalidArgument,
InvalidObject,
StaleObject,
ContextMismatch,
Busy,
ResourceLimit,
OutOfMemory,
Releasing,
InvalidTransition,
ReferenceCountOverflow,
}Variants§
InvalidArgument
InvalidObject
StaleObject
ContextMismatch
Busy
ResourceLimit
OutOfMemory
Releasing
InvalidTransition
ReferenceCountOverflow
Trait Implementations§
Source§impl Clone for DeviceStateError
impl Clone for DeviceStateError
Source§fn clone(&self) -> DeviceStateError
fn clone(&self) -> DeviceStateError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeviceStateError
Source§impl Debug for DeviceStateError
impl Debug for DeviceStateError
impl Eq for DeviceStateError
Source§impl<E> From<DeviceStateError> for CreateError<E>
impl<E> From<DeviceStateError> for CreateError<E>
Source§fn from(error: DeviceStateError) -> Self
fn from(error: DeviceStateError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeviceStateError
impl PartialEq for DeviceStateError
impl StructuralPartialEq for DeviceStateError
Auto Trait Implementations§
impl Freeze for DeviceStateError
impl RefUnwindSafe for DeviceStateError
impl Send for DeviceStateError
impl Sync for DeviceStateError
impl Unpin for DeviceStateError
impl UnsafeUnpin for DeviceStateError
impl UnwindSafe for DeviceStateError
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