template <>

class WireWeakAsyncBufferClientImpl

Defined at line 1106 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.phy/fuchsia.hardware.usb.phy/cpp/fidl/fuchsia.hardware.usb.phy/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_usb_phy::ConnectionWatcher::WatchConnectStatusChanged> WatchConnectStatusChanged (::zx::eventpair && setup_wake_lease)

Hanging-get that notifies callers when USB has been connected or

disconnected. Returns immediately on the first call, or if the

connection status has changed since the last call.

If present, `setup_wake_lease` will be used to keep the system awake while the call is being

processed. In this case a new wake lease will be acquired and passed back through

`wake_lease`. `wake_lease` will be present iff `setup_wake_lease` was present.

Returns:

- `ZX_ERR_BAD_STATE`: A hanging-get call was already pending.

- `ZX_ERR_NO_RESOURCES`: `setup_wake_lease` was present but a new wake lease could not be

acquired.

Caller provides the backing storage for FIDL message.