pub struct NvmlSource { /* private fields */ }Expand description
2026-09-26: NVML-backed source for one device ordinal.
Implementations§
Source§impl NvmlSource
impl NvmlSource
Trait Implementations§
Source§impl DeviceSource for NvmlSource
impl DeviceSource for NvmlSource
Source§fn read(&mut self) -> DeviceReading
fn read(&mut self) -> DeviceReading
2026-09-26: One reading, now. Never fails as a whole: an unreadable
field is
None.Source§fn read_errors(&self) -> u64
fn read_errors(&self) -> u64
2026-09-26: Failed reads so far. A “not supported” or “no permission”
answer is not a failure.
NvmlSource does not count the NVLink state
queries: a link that does not answer is skipped.Auto Trait Implementations§
impl Freeze for NvmlSource
impl RefUnwindSafe for NvmlSource
impl Send for NvmlSource
impl Sync for NvmlSource
impl Unpin for NvmlSource
impl UnwindSafe for NvmlSource
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