class SetMode
Defined at line 126 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/markers.h
Sets requested operating mode of this device to `mode`.
The requested mode is attached to the current client connection to the
device. Because multiple clients can be attached to the same device at
once, the mode with the least restrictions is the one actively put into
effect into the underlying device implementation.
If the device does not support the requested mode, but supports a mode
that is more open than the requested one, `SetMode` succeeds regardless.
Otherwise, if the device only supports *more restrictive* modes than the
one requested, `SetMode` returns `ZX_ERR_NOT_SUPPORTED`.
Clients must be aware that the resource being accessed is shared, and
that the device may be effectively operating at a more open level than
the one that was requested (although never at one more restrictive).
+ request `mode` request mode to attach to.
- response `status` `ZX_ERR_NOT_SUPPORTED` it the device only supports
mode more restrictive than the one requested.
Public Members
static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal