pub enum DlHealthReporter<'a> {
HealthReporterName(&'a CStr),
HealthReporterState(u8),
HealthReporterErrCount(u64),
HealthReporterRecoverCount(u64),
HealthReporterDumpTs(u64),
HealthReporterGracefulPeriod(u64),
HealthReporterAutoRecover(u8),
HealthReporterDumpTsNs(u64),
HealthReporterAutoDump(u8),
HealthReporterBurstPeriod(u64),
}Available on crate feature
devlink only.Variants§
HealthReporterName(&'a CStr)
HealthReporterState(u8)
HealthReporterErrCount(u64)
HealthReporterRecoverCount(u64)
HealthReporterDumpTs(u64)
HealthReporterGracefulPeriod(u64)
HealthReporterAutoRecover(u8)
HealthReporterDumpTsNs(u64)
HealthReporterAutoDump(u8)
HealthReporterBurstPeriod(u64)
Time (in msec) for recoveries before starting the grace period.
Implementations§
Source§impl DlHealthReporter<'_>
impl DlHealthReporter<'_>
pub fn new<'a>(buf: &'a [u8]) -> IterableDlHealthReporter<'a> ⓘ
Trait Implementations§
Source§impl<'a> Clone for DlHealthReporter<'a>
impl<'a> Clone for DlHealthReporter<'a>
Source§fn clone(&self) -> DlHealthReporter<'a>
fn clone(&self) -> DlHealthReporter<'a>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<'a> Freeze for DlHealthReporter<'a>
impl<'a> RefUnwindSafe for DlHealthReporter<'a>
impl<'a> Send for DlHealthReporter<'a>
impl<'a> Sync for DlHealthReporter<'a>
impl<'a> Unpin for DlHealthReporter<'a>
impl<'a> UnsafeUnpin for DlHealthReporter<'a>
impl<'a> UnwindSafe for DlHealthReporter<'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