template <>

class WireSyncClientImpl

Defined at line 1258 of file fidling/gen/sdk/fidl/fuchsia.storage.partitions/fuchsia.storage.partitions/cpp/fidl/fuchsia.storage.partitions/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_storage_partitions::PartitionsManager>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_storage_partitions::PartitionsManager::GetBlockInfo> GetBlockInfo ()

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

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

::fidl::WireResult< ::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.

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

::fidl::WireResult< ::fuchsia_storage_partitions::PartitionsManager::CommitTransaction> CommitTransaction (::zx::eventpair && transaction)

Commits the changes pending in the transaction.

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

::fidl::WireResult< ::fuchsia_storage_partitions::PartitionsManager::AddPartition> AddPartition (::fuchsia_storage_partitions::wire::PartitionsManagerAddPartitionRequest PartitionsManagerAddPartitionRequest)

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

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