Enum twizzler_abi::device::BusType
source · #[repr(u32)]pub enum BusType {
Unknown,
System,
Pcie,
}
Expand description
All supported kernel-discovered bus types.
Variants§
Unknown
An unknown bus. Should be ignored.
System
The “system” bus. Typically comprised of devices created by the kernel.
Pcie
PCIe.
Trait Implementations§
source§impl Ord for BusType
impl Ord for BusType
source§impl PartialEq<BusType> for BusType
impl PartialEq<BusType> for BusType
source§impl PartialOrd<BusType> for BusType
impl PartialOrd<BusType> 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 StructuralEq for BusType
impl StructuralPartialEq for BusType
Auto Trait Implementations§
impl ObjSafe 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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.