class ServiceClient

Defined at line 3025 of file fidling/gen/sdk/fidl/fuchsia.hardware.sdmmc/fuchsia.hardware.sdmmc/cpp/fidl/fuchsia.hardware.sdmmc/cpp/driver/wire_messaging.h

Client protocol for connecting to member protocols of a service instance.

Public Methods

void ServiceClient (::zx::channel dir, ::fidl::internal::ConnectMemberFunc connect_func)

Defined at line 3028 of file fidling/gen/sdk/fidl/fuchsia.hardware.sdmmc/fuchsia.hardware.sdmmc/cpp/fidl/fuchsia.hardware.sdmmc/cpp/driver/wire_messaging.h

::zx::result<> connect_sdmmc (::fdf::ServerEnd< ::fuchsia_hardware_sdmmc::Sdmmc> server_end)

Connects |server_end| to the member protocol "sdmmc".

# Errors

On failure, returns a |zx::error| with status != ZX_OK.

Failures can occur if there was an issue making a |fuchsia.io.Directory/Open| call.

Since the call to |Open| is asynchronous, an error sent by the remote end will not

result in a failure of this method. Any errors sent by the remote will appear on

the reciprocal |ClientEnd| for the |ServerEnd| passed into this method.

Defined at line 3041 of file fidling/gen/sdk/fidl/fuchsia.hardware.sdmmc/fuchsia.hardware.sdmmc/cpp/fidl/fuchsia.hardware.sdmmc/cpp/driver/wire_messaging.h

::zx::result< ::fdf::ClientEnd< ::fuchsia_hardware_sdmmc::Sdmmc>> connect_sdmmc ()

Connects to the member protocol "sdmmc".

# Errors

On failure, returns a |zx::error| with status != ZX_OK.

Failures can occur if channel creation failed, or if there was an issue making

a |fuchsia.io.Directory/Open| call.

Since the call to |Open| is asynchronous, an error sent by the remote end will not

result in a failure of this method. Any errors sent by the remote will appear on

the |ClientEnd| returned from this method.

Defined at line 3059 of file fidling/gen/sdk/fidl/fuchsia.hardware.sdmmc/fuchsia.hardware.sdmmc/cpp/fidl/fuchsia.hardware.sdmmc/cpp/driver/wire_messaging.h

::zx::result<> connect_inline_crypto (::fdf::ServerEnd< ::fuchsia_hardware_inlineencryption::DriverDevice> server_end)

Connects |server_end| to the member protocol "inline_crypto".

# Errors

On failure, returns a |zx::error| with status != ZX_OK.

Failures can occur if there was an issue making a |fuchsia.io.Directory/Open| call.

Since the call to |Open| is asynchronous, an error sent by the remote end will not

result in a failure of this method. Any errors sent by the remote will appear on

the reciprocal |ClientEnd| for the |ServerEnd| passed into this method.

Defined at line 3081 of file fidling/gen/sdk/fidl/fuchsia.hardware.sdmmc/fuchsia.hardware.sdmmc/cpp/fidl/fuchsia.hardware.sdmmc/cpp/driver/wire_messaging.h

::zx::result< ::fdf::ClientEnd< ::fuchsia_hardware_inlineencryption::DriverDevice>> connect_inline_crypto ()

Connects to the member protocol "inline_crypto".

# Errors

On failure, returns a |zx::error| with status != ZX_OK.

Failures can occur if channel creation failed, or if there was an issue making

a |fuchsia.io.Directory/Open| call.

Since the call to |Open| is asynchronous, an error sent by the remote end will not

result in a failure of this method. Any errors sent by the remote will appear on

the |ClientEnd| returned from this method.

Defined at line 3099 of file fidling/gen/sdk/fidl/fuchsia.hardware.sdmmc/fuchsia.hardware.sdmmc/cpp/fidl/fuchsia.hardware.sdmmc/cpp/driver/wire_messaging.h