pub struct PciePortSettings {
pub acs_capabilities_supported: u16,
pub cxl_flex_bus_port_capability: Option<CxlFlexBusPortDvsecCapability>,
}Expand description
Express-level settings for a PCIe port.
Collects feature flags that apply uniformly to a port so that adding new capabilities does not require changing every constructor signature.
Fields§
§acs_capabilities_supported: u16ACS capability bits to advertise on this port. 0 means the ACS
extended capability is not present.
cxl_flex_bus_port_capability: Option<CxlFlexBusPortDvsecCapability>Flex Bus Port capability bits used to advertise CXL support on ports.
CXL DVSECs are added only when this is Some and either cache_capable
or mem_capable is set.
Trait Implementations§
Source§impl Clone for PciePortSettings
impl Clone for PciePortSettings
Source§fn clone(&self) -> PciePortSettings
fn clone(&self) -> PciePortSettings
Returns a duplicate 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 moreSource§impl Debug for PciePortSettings
impl Debug for PciePortSettings
Source§impl Default for PciePortSettings
impl Default for PciePortSettings
Source§fn default() -> PciePortSettings
fn default() -> PciePortSettings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PciePortSettings
impl RefUnwindSafe for PciePortSettings
impl Send for PciePortSettings
impl Sync for PciePortSettings
impl Unpin for PciePortSettings
impl UnsafeUnpin for PciePortSettings
impl UnwindSafe for PciePortSettings
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