#[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 Freeze for BusType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.