pub struct PcieNativeHotplug {
pub slot_id: u32,
pub presence_detect: bool,
pub power_fault: bool,
pub attention_button: bool,
pub power_enabled: bool,
pub power_indicator: PowerIndicator,
pub attention_indicator: AttentionIndicator,
pub surprise_supported: bool,
pub hotplug_capable: bool,
pub dll_active: bool,
}Expand description
PCIe native hot-plug controller (per-slot)
Fields§
§slot_id: u32Slot ID
presence_detect: boolPresence detect state
power_fault: boolPower fault detected
Attention button pressed
power_enabled: boolPower controller enabled
power_indicator: PowerIndicatorPower indicator
attention_indicator: AttentionIndicatorAttention indicator
surprise_supported: boolSlot capabilities
hotplug_capable: boolHot-plug capable
dll_active: boolData link layer active
Implementations§
Trait Implementations§
Source§impl Clone for PcieNativeHotplug
impl Clone for PcieNativeHotplug
Source§fn clone(&self) -> PcieNativeHotplug
fn clone(&self) -> PcieNativeHotplug
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PcieNativeHotplug
impl Debug for PcieNativeHotplug
Source§impl Default for PcieNativeHotplug
impl Default for PcieNativeHotplug
Source§fn default() -> PcieNativeHotplug
fn default() -> PcieNativeHotplug
Returns the “default value” for a type. Read more
impl Copy for PcieNativeHotplug
Auto Trait Implementations§
impl Freeze for PcieNativeHotplug
impl RefUnwindSafe for PcieNativeHotplug
impl Send for PcieNativeHotplug
impl Sync for PcieNativeHotplug
impl Unpin for PcieNativeHotplug
impl UnwindSafe for PcieNativeHotplug
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)