template <>
class WireSyncClientImpl
Defined at line 470 of file fidling/gen/sdk/fidl/fuchsia.hardware.rtc/fuchsia.hardware.rtc/cpp/fidl/fuchsia.hardware.rtc/cpp/wire_messaging.h
Methods to make a sync FIDL call directly on an unowned handle or a
const reference to a |::fidl::ClientEnd
<
::fuchsia_hardware_rtc::Device>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::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 56 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::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 56 bytes of message buffer on the stack. No heap allocation necessary.