template <>

class NaturalClientImpl

Defined at line 323 of file fidling/gen/sdk/fidl/fuchsia.storage.partitions/fuchsia.storage.partitions/cpp/fidl/fuchsia.storage.partitions/cpp/natural_messaging.h

Public Methods

::fidl::internal::NaturalThenable< ::fuchsia_storage_partitions::PartitionsManager::GetBlockInfo> GetBlockInfo ()

Returns the dimensions of the block device the partition manager resides in.

::fidl::internal::NaturalThenable< ::fuchsia_storage_partitions::PartitionsManager::CreateTransaction> CreateTransaction ()

Starts a new transaction to modify the partition table. The transaction will only be

applied when `CommitTransaction` is called. Only one transaction may be active at any given

time. Closing all handles to the returned event will cancel the transaction.

Changes are added to the transaction via the `Partition` interface, passing in a

duplicate of the `transaction` object.

All changes in the transaction are applied atomically.

::fidl::internal::NaturalThenable< ::fuchsia_storage_partitions::PartitionsManager::CommitTransaction> CommitTransaction (::fidl::Request< ::fuchsia_storage_partitions::PartitionsManager::CommitTransaction> request)

Commits the changes pending in the transaction.

::fidl::internal::NaturalThenable< ::fuchsia_storage_partitions::PartitionsManager::AddPartition> AddPartition (::fidl::Request< ::fuchsia_storage_partitions::PartitionsManager::AddPartition> request)

Allocates a new partition in `transaction`. Fails if there is insufficient space for the

requested partition. There must be an empty slot in the partition table (the table will not

be resized).