template <>

class WireSyncClientImpl

Defined at line 6346 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_messaging.h

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_fxfs::FileBackedVolumeProvider>|,

avoiding setting up a client.

Public Methods

::fidl::OneWayStatus Open (::zx::handle && parent_directory_token, ::fidl::StringView name, ::fidl::ServerEnd< ::fuchsia_storage_block::Block> && server_end)

Opens a file as a block device and starts serving block requests.

`name` must refer to an existing file in the directory represented by

`parent_directory_token`.

The block size of the device will match the underlying filesystem's block size. If the

file's size is not a multiple of the block size, the apparent size of the device will be

rounded down.

`parent_directory_token` is a token obtained via `fuchsia.io.Directory/GetToken`. The

directory connection must have the `MODIFY_DIRECTORY` right.

Errors will be sent as an epitaph on `server_end`.

Allocates 320 bytes of message buffer on the stack. No heap allocation necessary.