template <>

class WireSyncBufferClientImpl

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

Public Methods

::fidl::WireUnownedResult< ::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.