template <>

class WireWeakAsyncClientImpl

Defined at line 4260 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireThenable< ::fuchsia_net_tun::DevicePair::AddPort> AddPort (::fuchsia_net_tun::wire::DevicePairPortConfig config)

Adds a logical port to this device pair.

+ request `config` port configuration.

* error `ZX_ERR_INVALID_ARGS` if `config` is invalid.

* error `ZX_ERR_ALREADY_EXISTS` if the provided port identifier is

already in use.

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

::fidl::internal::WireThenable< ::fuchsia_net_tun::DevicePair::RemovePort> RemovePort (uint8_t id)

Removes a logical port created by

[`fuchsia.net.tun/DevicePair.AddPort`].

+ request `id` identifier of the port to remove.

* error `ZX_ERR_NOT_FOUND` if `id` does not map to an existing port.

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