#[repr(u32)]pub enum BusType {
Unknown = 0,
System = 1,
Pcie = 2,
}
Expand description
All supported kernel-discovered bus types.
Variants§
Unknown = 0
An unknown bus. Should be ignored.
System = 1
The “system” bus. Typically comprised of devices created by the kernel.
Pcie = 2
PCIe.
Trait Implementations§
Source§impl Ord for BusType
impl Ord for BusType
Source§impl PartialOrd for BusType
impl PartialOrd for BusType
impl Copy for BusType
impl Eq for BusType
impl StructuralPartialEq for BusType
Auto Trait Implementations§
impl DeviceSync for BusType
impl Freeze for BusType
impl ObjSafe for BusType
impl RefUnwindSafe for BusType
impl Send for BusType
impl StoreCopy 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