Enum nvml_wrapper::enums::event::XidError
source · pub enum XidError {
Value(u64),
Unknown,
}
Expand description
A simple wrapper used to encode the Unknown
value into the type system.
Unknown
would otherwise be a value of 999 (if it were not an enum
variant).
Variants§
Trait Implementations§
source§impl PartialEq for XidError
impl PartialEq for XidError
impl Eq for XidError
impl StructuralPartialEq for XidError
Auto Trait Implementations§
impl RefUnwindSafe for XidError
impl Send for XidError
impl Sync for XidError
impl Unpin for XidError
impl UnwindSafe for XidError
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