template <>
class NaturalSyncClientImpl
Defined at line 348 of file fidling/gen/sdk/fidl/fuchsia.storage.partitions/fuchsia.storage.partitions/cpp/fidl/fuchsia.storage.partitions/cpp/natural_messaging.h
Public Methods
::fidl::Result< ::fuchsia_storage_partitions::PartitionsManager::GetBlockInfo> GetBlockInfo ()
Returns the dimensions of the block device the partition manager resides in.
::fidl::Result< ::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::Result< ::fuchsia_storage_partitions::PartitionsManager::CommitTransaction> CommitTransaction (::fidl::Request< ::fuchsia_storage_partitions::PartitionsManager::CommitTransaction> request)
Commits the changes pending in the transaction.
::fidl::Result< ::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).