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
sourceimpl 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
sourceimpl Clone for MemoryError
impl Clone for MemoryError
sourcefn clone(&self) -> MemoryError
fn clone(&self) -> MemoryError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MemoryError
impl Debug for MemoryError
sourceimpl Hash for MemoryError
impl Hash for MemoryError
sourceimpl PartialEq<MemoryError> for MemoryError
impl PartialEq<MemoryError> for MemoryError
sourceimpl TryFrom<u32> for MemoryError
impl TryFrom<u32> for MemoryError
impl Eq for MemoryError
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more