pub struct GpuProbe {
pub timestamp_unix_seconds: Option<u64>,
pub available: bool,
pub gpu_name: Option<String>,
pub driver_version: Option<String>,
pub total_vram_mib: Option<u64>,
pub used_vram_mib: Option<u64>,
pub free_vram_mib: Option<u64>,
pub processes: Vec<GpuProcess>,
pub error: Option<String>,
}Fields§
§timestamp_unix_seconds: Option<u64>§available: bool§gpu_name: Option<String>§driver_version: Option<String>§total_vram_mib: Option<u64>§used_vram_mib: Option<u64>§free_vram_mib: Option<u64>§processes: Vec<GpuProcess>§error: Option<String>Implementations§
Trait Implementations§
impl Eq for GpuProbe
impl StructuralPartialEq for GpuProbe
Auto Trait Implementations§
impl Freeze for GpuProbe
impl RefUnwindSafe for GpuProbe
impl Send for GpuProbe
impl Sync for GpuProbe
impl Unpin for GpuProbe
impl UnsafeUnpin for GpuProbe
impl UnwindSafe for GpuProbe
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