template <>

class WireWeakAsyncClientImpl

Defined at line 736 of file fidling/gen/sdk/fidl/fuchsia.hardware.rtc/fuchsia.hardware.rtc/cpp/fidl/fuchsia.hardware.rtc/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireThenable< ::fuchsia_hardware_rtc::Device::Get> Get ()

Get the current RTC time.

If the driver detects that it does not have a valid time to report, then it will return an

`ZX_ERR_INTERNAL` error.

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

::fidl::internal::WireThenable< ::fuchsia_hardware_rtc::Device::Set2> Set2 (const ::fuchsia_hardware_rtc::wire::Time & rtc)

Set the RTC time.

If the RTC time is not valid, the driver will return an `ZX_ERR_OUT_OF_RANGE` error.

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