pub enum BusType {
Show 23 variants
BUS_PCI = 1,
BUS_ISAPNP = 2,
BUS_USB = 3,
BUS_HIL = 4,
BUS_BLUETOOTH = 5,
BUS_VIRTUAL = 6,
BUS_ISA = 16,
BUS_I8042 = 17,
BUS_XTKBD = 18,
BUS_RS232 = 19,
BUS_GAMEPORT = 20,
BUS_PARPORT = 21,
BUS_AMIGA = 22,
BUS_ADB = 23,
BUS_I2C = 24,
BUS_HOST = 25,
BUS_GSC = 26,
BUS_ATARI = 27,
BUS_SPI = 28,
BUS_RMI = 29,
BUS_CEC = 30,
BUS_INTEL_ISHTP = 31,
BUS_AMD_SFH = 32,
}
Variants§
BUS_PCI = 1
BUS_ISAPNP = 2
BUS_USB = 3
BUS_HIL = 4
BUS_BLUETOOTH = 5
BUS_VIRTUAL = 6
BUS_ISA = 16
BUS_I8042 = 17
BUS_XTKBD = 18
BUS_RS232 = 19
BUS_GAMEPORT = 20
BUS_PARPORT = 21
BUS_AMIGA = 22
BUS_ADB = 23
BUS_I2C = 24
BUS_HOST = 25
BUS_GSC = 26
BUS_ATARI = 27
BUS_SPI = 28
BUS_RMI = 29
BUS_CEC = 30
BUS_INTEL_ISHTP = 31
BUS_AMD_SFH = 32
Trait Implementations§
source§impl<'de> Deserialize<'de> for BusType
impl<'de> Deserialize<'de> for BusType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for BusType
impl Ord for BusType
source§impl PartialEq for BusType
impl PartialEq for BusType
source§impl PartialOrd for BusType
impl PartialOrd for BusType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for BusType
impl Eq for BusType
impl StructuralPartialEq for BusType
Auto Trait Implementations§
impl Freeze for BusType
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