Enum driver_pci::HeaderType
pub enum HeaderType {
Standard,
PciPciBridge,
PciCardbusBridge,
Unrecognised(u8),
}
Expand description
The type of a PCI device function header.
Variants§
Standard
A normal PCI device.
PciPciBridge
A PCI to PCI bridge.
PciCardbusBridge
A PCI to CardBus bridge.
Unrecognised(u8)
Unrecognised header type.
Trait Implementations§
§impl Clone for HeaderType
impl Clone for HeaderType
§fn clone(&self) -> HeaderType
fn clone(&self) -> HeaderType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for HeaderType
impl Debug for HeaderType
§impl From<u8> for HeaderType
impl From<u8> for HeaderType
§fn from(value: u8) -> HeaderType
fn from(value: u8) -> HeaderType
Converts to this type from the input type.
§impl PartialEq for HeaderType
impl PartialEq for HeaderType
§fn eq(&self, other: &HeaderType) -> bool
fn eq(&self, other: &HeaderType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HeaderType
impl Eq for HeaderType
impl StructuralEq for HeaderType
impl StructuralPartialEq for HeaderType
Auto Trait Implementations§
impl RefUnwindSafe for HeaderType
impl Send for HeaderType
impl Sync for HeaderType
impl Unpin for HeaderType
impl UnwindSafe for HeaderType
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