template <>

class NaturalClientImpl

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

Public Methods

::fit::result< ::fidl::OneWayError> Open (::fidl::Request< ::fuchsia_fxfs::FileBackedVolumeProvider::Open> request)

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`.