template <>
class WireSyncClientImpl
Defined at line 836 of file fidling/gen/sdk/fidl/fuchsia.hardware.serial/fuchsia.hardware.serial/cpp/fidl/fuchsia.hardware.serial/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_serial::Device>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_hardware_serial::Device::GetClass> GetClass ()
Lookup what type of serial device this is.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_serial::Device::SetConfig> SetConfig (const ::fuchsia_hardware_serial::wire::Config & config)
Set the configuration of this serial device.
Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_serial::Device::Read> Read ()
Reads data from the serial port.
Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.
::fidl::WireResult< ::fuchsia_hardware_serial::Device::Write> Write (::fidl::VectorView<uint8_t> data)
Writes data to the serial port.
Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.