#[repr(u16)]pub enum ExtendedCapabilityId {
Show 46 variants
Null = 0,
AdvancedErrorReporting = 1,
VirtualChannelNoMfvc = 2,
DeviceSerialNumber = 3,
PowerBudgeting = 4,
RootComplexLinkDeclaration = 5,
RootComplexInternalLinkControl = 6,
RootComplexEventCollectorEndpointAssociation = 7,
MultiFunctionVirtualChannel = 8,
VirtualChannel = 9,
Rcrb = 10,
Vendor = 11,
Cac = 12,
Acs = 13,
Ari = 14,
Ats = 15,
SrIov = 16,
MrIov = 17,
Multicast = 18,
Pri = 19,
EnhancedAllocation = 20,
ResizableBar = 21,
DynamicPowerAllocation = 22,
Tph = 23,
LatencyToleranceReporting = 24,
SecondaryPciExpress = 25,
Pmux = 26,
Pasid = 27,
Lnr = 28,
Dpc = 29,
L1PmSubstates = 30,
PrecisionTimeMeasurement = 31,
Mpcie = 32,
FrsQueueing = 33,
ReadinessTimeReporting = 34,
DesignatedVendor = 35,
VfResizableBar = 36,
DataLinkFeature = 37,
PhysicalLayer16 = 38,
LaneMarginingAtReceiver = 39,
HierarchyId = 40,
NativePcieEnclosure = 41,
PhysicalLayer32 = 42,
AlternateProtocol = 43,
SystemFirmwareIntermediary = 44,
UnknownOrdinal_(u16),
}Expand description
PCI Extended Capability IDs. PCIe Base Specification rev4, chapter 7.6.
Variants§
Null = 0
AdvancedErrorReporting = 1
VirtualChannelNoMfvc = 2
DeviceSerialNumber = 3
PowerBudgeting = 4
RootComplexLinkDeclaration = 5
RootComplexInternalLinkControl = 6
RootComplexEventCollectorEndpointAssociation = 7
MultiFunctionVirtualChannel = 8
VirtualChannel = 9
Rcrb = 10
Vendor = 11
Cac = 12
Acs = 13
Ari = 14
Ats = 15
SrIov = 16
MrIov = 17
Multicast = 18
Pri = 19
EnhancedAllocation = 20
ResizableBar = 21
DynamicPowerAllocation = 22
Tph = 23
LatencyToleranceReporting = 24
SecondaryPciExpress = 25
Pmux = 26
Pasid = 27
Lnr = 28
Dpc = 29
L1PmSubstates = 30
PrecisionTimeMeasurement = 31
Mpcie = 32
FrsQueueing = 33
ReadinessTimeReporting = 34
DesignatedVendor = 35
VfResizableBar = 36
DataLinkFeature = 37
PhysicalLayer16 = 38
LaneMarginingAtReceiver = 39
HierarchyId = 40
NativePcieEnclosure = 41
PhysicalLayer32 = 42
AlternateProtocol = 43
SystemFirmwareIntermediary = 44
UnknownOrdinal_(u16)
Trait Implementations§
Source§impl Clone for ExtendedCapabilityId
impl Clone for ExtendedCapabilityId
Source§fn clone(&self) -> ExtendedCapabilityId
fn clone(&self) -> ExtendedCapabilityId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtendedCapabilityId
impl Debug for ExtendedCapabilityId
Source§impl<'a, ___E> Encode<ExtendedCapabilityId, ___E> for &'a ExtendedCapabilityIdwhere
___E: ?Sized,
impl<'a, ___E> Encode<ExtendedCapabilityId, ___E> for &'a ExtendedCapabilityIdwhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<ExtendedCapabilityId>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<ExtendedCapabilityId>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<ExtendedCapabilityId, ___E> for ExtendedCapabilityIdwhere
___E: ?Sized,
impl<___E> Encode<ExtendedCapabilityId, ___E> for ExtendedCapabilityIdwhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<ExtendedCapabilityId>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<ExtendedCapabilityId>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl From<ExtendedCapabilityId> for ExtendedCapabilityId
impl From<ExtendedCapabilityId> for ExtendedCapabilityId
Source§fn from(wire: ExtendedCapabilityId) -> ExtendedCapabilityId
fn from(wire: ExtendedCapabilityId) -> ExtendedCapabilityId
Converts to this type from the input type.
Source§impl From<ExtendedCapabilityId> for ExtendedCapabilityId
impl From<ExtendedCapabilityId> for ExtendedCapabilityId
Source§fn from(natural: ExtendedCapabilityId) -> ExtendedCapabilityId
fn from(natural: ExtendedCapabilityId) -> ExtendedCapabilityId
Converts to this type from the input type.
Source§impl From<u16> for ExtendedCapabilityId
impl From<u16> for ExtendedCapabilityId
Source§fn from(value: u16) -> ExtendedCapabilityId
fn from(value: u16) -> ExtendedCapabilityId
Converts to this type from the input type.
Source§impl FromWire<ExtendedCapabilityId> for ExtendedCapabilityId
impl FromWire<ExtendedCapabilityId> for ExtendedCapabilityId
Source§fn from_wire(wire: ExtendedCapabilityId) -> ExtendedCapabilityId
fn from_wire(wire: ExtendedCapabilityId) -> ExtendedCapabilityId
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<ExtendedCapabilityId> for ExtendedCapabilityId
impl FromWireRef<ExtendedCapabilityId> for ExtendedCapabilityId
Source§fn from_wire_ref(wire: &ExtendedCapabilityId) -> ExtendedCapabilityId
fn from_wire_ref(wire: &ExtendedCapabilityId) -> ExtendedCapabilityId
Converts the given reference to this type.
Source§impl Hash for ExtendedCapabilityId
impl Hash for ExtendedCapabilityId
Source§impl Ord for ExtendedCapabilityId
impl Ord for ExtendedCapabilityId
Source§fn cmp(&self, other: &ExtendedCapabilityId) -> Ordering
fn cmp(&self, other: &ExtendedCapabilityId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExtendedCapabilityId
impl PartialEq for ExtendedCapabilityId
Source§fn eq(&self, other: &ExtendedCapabilityId) -> bool
fn eq(&self, other: &ExtendedCapabilityId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ExtendedCapabilityId
impl PartialOrd for ExtendedCapabilityId
impl Copy for ExtendedCapabilityId
impl Eq for ExtendedCapabilityId
impl StructuralPartialEq for ExtendedCapabilityId
Auto Trait Implementations§
impl Freeze for ExtendedCapabilityId
impl RefUnwindSafe for ExtendedCapabilityId
impl Send for ExtendedCapabilityId
impl Sync for ExtendedCapabilityId
impl Unpin for ExtendedCapabilityId
impl UnsafeUnpin for ExtendedCapabilityId
impl UnwindSafe for ExtendedCapabilityId
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,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]