sinf 0.1.0

Library for obtaining in-depth system information at both the hardware and software levels
Documentation
use crate::{Gpu, PCI};

pub(crate) struct GpusInner {
    pub(crate) gpus: Vec<Gpu>,
}

impl GpusInner {
    pub(crate) fn new() -> Result<Self, crate::Error> {
        Err(crate::Error::Unsupported)
    }

    pub(crate) fn refresh(&mut self) {
        unreachable!()
    }
}

pub(crate) struct GpuInner {
    pub(crate) updated: bool,
}

impl GpuInner {
    pub(crate) fn pci(&self) -> &PCI {
        unreachable!()
    }
    pub(crate) fn vendor(&self) -> Option<&str> {
        unreachable!()
    }
    pub(crate) fn model(&self) -> Option<&str> {
        unreachable!()
    }
    pub(crate) fn usage(&self) -> Option<f32> {
        unreachable!()
    }
    pub(crate) fn total_memory(&self) -> Option<u64> {
        unreachable!()
    }
    pub(crate) fn used_memory(&self) -> Option<u64> {
        unreachable!()
    }
}