template <>

class WireWeakAsyncClientImpl

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

Public Methods

::fidl::internal::WireThenable< ::fuchsia_hardware_usb_peripheral::Device::SetConfiguration> SetConfiguration (const ::fuchsia_hardware_usb_peripheral::wire::DeviceDescriptor & device_desc, ::fidl::VectorView< ::fidl::VectorView< ::fuchsia_hardware_usb_peripheral::wire::FunctionDescriptor>> config_descriptors)

Sets the device's descriptors, adds the functions and creates the child devices for the

configuration's interfaces.

At least one function descriptor must be provided.

The request and callback are allocated on the heap.

::fidl::internal::WireThenable< ::fuchsia_hardware_usb_peripheral::Device::ClearFunctions> ClearFunctions ()

Tells the device to remove the child devices for the configuration's interfaces

and reset the list of functions to empty.

The caller should wait for the `FunctionsCleared` event.

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