pub struct AcpiPowerButtonResolver;Expand description
Resolver for the ACPI power-button generic event device.
Trait Implementations§
Source§impl AsyncResolveResource<ChipsetDeviceHandleKind, AcpiPowerButtonDeviceHandle> for AcpiPowerButtonResolver
impl AsyncResolveResource<ChipsetDeviceHandleKind, AcpiPowerButtonDeviceHandle> for AcpiPowerButtonResolver
Source§type Error = Infallible
type Error = Infallible
The error type for
resolve.Source§fn resolve<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_resolver: &'life1 ResourceResolver,
resource: AcpiPowerButtonDeviceHandle,
input: ResolveChipsetDeviceHandleParams<'life2>,
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_resolver: &'life1 ResourceResolver,
resource: AcpiPowerButtonDeviceHandle,
input: ResolveChipsetDeviceHandleParams<'life2>,
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Resolves the resource. Read more
Auto Trait Implementations§
impl Freeze for AcpiPowerButtonResolver
impl RefUnwindSafe for AcpiPowerButtonResolver
impl Send for AcpiPowerButtonResolver
impl Sync for AcpiPowerButtonResolver
impl Unpin for AcpiPowerButtonResolver
impl UnsafeUnpin for AcpiPowerButtonResolver
impl UnwindSafe for AcpiPowerButtonResolver
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