Enum nvml_wrapper::enum_wrappers::device::MemoryError
source · pub enum MemoryError {
Corrected,
Uncorrected,
}
Expand description
Memory error types.
Variants§
Corrected
A memory error that was corrected.
ECC error: single bit error. Texture memory: error fixed by a resend.
Uncorrected
A memory error that was not corrected.
ECC error: double bit error. Texture memory: error occurred and resend failed.
Implementations§
source§impl MemoryError
impl MemoryError
sourcepub fn as_c(&self) -> nvmlMemoryErrorType_enum
pub fn as_c(&self) -> nvmlMemoryErrorType_enum
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations§
source§impl Clone for MemoryError
impl Clone for MemoryError
source§fn clone(&self) -> MemoryError
fn clone(&self) -> MemoryError
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 MemoryError
impl Debug for MemoryError
source§impl Hash for MemoryError
impl Hash for MemoryError
source§impl PartialEq for MemoryError
impl PartialEq for MemoryError
source§fn eq(&self, other: &MemoryError) -> bool
fn eq(&self, other: &MemoryError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for MemoryError
impl TryFrom<u32> for MemoryError
impl Eq for MemoryError
impl StructuralPartialEq for MemoryError
Auto Trait Implementations§
impl RefUnwindSafe for MemoryError
impl Send for MemoryError
impl Sync for MemoryError
impl Unpin for MemoryError
impl UnwindSafe for MemoryError
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