pub struct HyperVPowerManagementDeviceHandle {
pub acpi_irq: u32,
pub pio_base: u16,
pub pm_timer_assist: Option<Resource<PmTimerAssistHandleKind>>,
}Expand description
A handle to the Hyper-V power management device (non-PCI, ACPI/PIO).
Fields§
§acpi_irq: u32IRQ line triggered on ACPI power event.
pio_base: u16Base port IO address of the device’s dynamic register region.
pm_timer_assist: Option<Resource<PmTimerAssistHandleKind>>Optional PM timer assist resource.
Trait Implementations§
Source§impl DefaultEncoding for HyperVPowerManagementDeviceHandle
impl DefaultEncoding for HyperVPowerManagementDeviceHandle
Source§impl ResourceId<ChipsetDeviceHandleKind> for HyperVPowerManagementDeviceHandle
impl ResourceId<ChipsetDeviceHandleKind> for HyperVPowerManagementDeviceHandle
Source§impl<'encoding> StructDecodeMetadata<'encoding, Resource> for HyperVPowerManagementDeviceHandle
impl<'encoding> StructDecodeMetadata<'encoding, Resource> for HyperVPowerManagementDeviceHandle
Source§impl StructEncodeMetadata<Resource> for HyperVPowerManagementDeviceHandle
impl StructEncodeMetadata<Resource> for HyperVPowerManagementDeviceHandle
Auto Trait Implementations§
impl Freeze for HyperVPowerManagementDeviceHandle
impl !RefUnwindSafe for HyperVPowerManagementDeviceHandle
impl Send for HyperVPowerManagementDeviceHandle
impl !Sync for HyperVPowerManagementDeviceHandle
impl Unpin for HyperVPowerManagementDeviceHandle
impl UnsafeUnpin for HyperVPowerManagementDeviceHandle
impl !UnwindSafe for HyperVPowerManagementDeviceHandle
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T, K> IntoResource<K> for Twhere
T: 'static + ResourceId<K> + MeshPayload + Send,
K: ResourceKind,
impl<T, K> IntoResource<K> for Twhere
T: 'static + ResourceId<K> + MeshPayload + Send,
K: ResourceKind,
§fn into_resource(self) -> Resource<K>
fn into_resource(self) -> Resource<K>
Converts
self into a Resource.§impl<T> MeshField for T
impl<T> MeshField for T
§impl<T> MeshPayload for T
impl<T> MeshPayload for T
§impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in [
MessageEncode::compute_message_size].§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in [
MessageEncode::write_message].