Enum nvml_wrapper::enums::device::BusType
source · pub enum BusType {
Unknown,
Pci,
Pcie,
Fpci,
Agp,
}
Expand description
Returned by crate::Device::bus_type()
.
Variants§
Unknown
Unknown bus type.
Pci
PCI (Peripheral Component Interconnect) bus type.
Pcie
PCIE (Peripheral Component Interconnect Express) bus type.
This is the most common bus type.
Fpci
FPCI (Fast Peripheral Component Interconnect) bus type.
Agp
AGP (Accelerated Graphics Port) bus type.
This is old and was dropped in favor of PCIE.
Implementations§
Trait Implementations§
source§impl PartialEq for BusType
impl PartialEq for BusType
impl Eq for BusType
impl StructuralPartialEq for BusType
Auto Trait Implementations§
impl RefUnwindSafe for BusType
impl Send for BusType
impl Sync for BusType
impl Unpin for BusType
impl UnwindSafe for BusType
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