pub enum ErrorCounterAttrs<'a> {
NodeId(u32),
ErrorId(u32),
ErrorName(&'a CStr),
ErrorValue(u32),
}Available on crate feature
drm-ras only.Variants§
NodeId(u32)
Node ID targeted by this error counter operation.
ErrorId(u32)
Unique identifier for a specific error counter within an node.
ErrorName(&'a CStr)
Name of the error.
ErrorValue(u32)
Current value of the requested error counter.
Implementations§
Source§impl ErrorCounterAttrs<'_>
impl ErrorCounterAttrs<'_>
pub fn new<'a>(buf: &'a [u8]) -> IterableErrorCounterAttrs<'a> ⓘ
Trait Implementations§
Source§impl<'a> Clone for ErrorCounterAttrs<'a>
impl<'a> Clone for ErrorCounterAttrs<'a>
Source§fn clone(&self) -> ErrorCounterAttrs<'a>
fn clone(&self) -> ErrorCounterAttrs<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for ErrorCounterAttrs<'a>
impl<'a> RefUnwindSafe for ErrorCounterAttrs<'a>
impl<'a> Send for ErrorCounterAttrs<'a>
impl<'a> Sync for ErrorCounterAttrs<'a>
impl<'a> Unpin for ErrorCounterAttrs<'a>
impl<'a> UnsafeUnpin for ErrorCounterAttrs<'a>
impl<'a> UnwindSafe for ErrorCounterAttrs<'a>
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