template <>

class WireWeakAsyncClientImpl

Defined at line 3669 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireThenable< ::fuchsia_power_broker::Lessor::Lease> Lease (uint8_t level)

Request made to indicate the client wants the element raised to the given

level. When the call returns this **does** **not** mean the

corresponding element is at the requested level, only that the requested

level is valid and request is being worked on.

Fulfilling the request will raise the level of all the level's direct

and transitive power dependencies to their required levels. When

`LeaseControl.WatchStatus` reports `LeaseStatus::SATISFIED` this means

given element is at the level specified by the lease.

Requesting an invalid level returns `LeaseError::INVALID_LEVEL`.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.