pub struct PushErrorCounterAttrs<Prev: Pusher> { /* private fields */ }Available on crate feature
drm-ras only.Implementations§
Source§impl<Prev: Pusher> PushErrorCounterAttrs<Prev>
impl<Prev: Pusher> PushErrorCounterAttrs<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
Sourcepub fn push_node_id(self, value: u32) -> Self
pub fn push_node_id(self, value: u32) -> Self
Node ID targeted by this error counter operation.
Sourcepub fn push_error_id(self, value: u32) -> Self
pub fn push_error_id(self, value: u32) -> Self
Unique identifier for a specific error counter within an node.
Sourcepub fn push_error_name(self, value: &CStr) -> Self
pub fn push_error_name(self, value: &CStr) -> Self
Name of the error.
Sourcepub fn push_error_name_bytes(self, value: &[u8]) -> Self
pub fn push_error_name_bytes(self, value: &[u8]) -> Self
Name of the error.
Sourcepub fn push_error_value(self, value: u32) -> Self
pub fn push_error_value(self, value: u32) -> Self
Current value of the requested error counter.
Trait Implementations§
Source§impl<Prev: Pusher> Drop for PushErrorCounterAttrs<Prev>
impl<Prev: Pusher> Drop for PushErrorCounterAttrs<Prev>
Source§impl<Prev: Pusher> Pusher for PushErrorCounterAttrs<Prev>
impl<Prev: Pusher> Pusher for PushErrorCounterAttrs<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushErrorCounterAttrs<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushErrorCounterAttrs<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushErrorCounterAttrs<Prev>where
Prev: Send,
impl<Prev> Sync for PushErrorCounterAttrs<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushErrorCounterAttrs<Prev>where
Prev: Unpin,
impl<Prev> UnsafeUnpin for PushErrorCounterAttrs<Prev>where
Prev: UnsafeUnpin,
impl<Prev> UnwindSafe for PushErrorCounterAttrs<Prev>where
Prev: UnwindSafe,
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