pub enum PartitionsManagerRequest {
    GetBlockInfo {
        responder: PartitionsManagerGetBlockInfoResponder,
    },
    CreateTransaction {
        responder: PartitionsManagerCreateTransactionResponder,
    },
    CommitTransaction {
        transaction: EventPair,
        responder: PartitionsManagerCommitTransactionResponder,
    },
    AddPartition {
        payload: PartitionsManagerAddPartitionRequest,
        responder: PartitionsManagerAddPartitionResponder,
    },
}Variants§
GetBlockInfo
Returns the dimensions of the block device the partition manager resides in.
Fields
responder: PartitionsManagerGetBlockInfoResponderCreateTransaction
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.
Fields
responder: PartitionsManagerCreateTransactionResponderCommitTransaction
Commits the changes pending in the transaction.
AddPartition
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).
Fields
responder: PartitionsManagerAddPartitionResponderImplementations§
Source§impl PartitionsManagerRequest
 
impl PartitionsManagerRequest
pub fn into_get_block_info( self, ) -> Option<PartitionsManagerGetBlockInfoResponder>
pub fn into_create_transaction( self, ) -> Option<PartitionsManagerCreateTransactionResponder>
pub fn into_commit_transaction( self, ) -> Option<(EventPair, PartitionsManagerCommitTransactionResponder)>
pub fn into_add_partition( self, ) -> Option<(PartitionsManagerAddPartitionRequest, PartitionsManagerAddPartitionResponder)>
Sourcepub fn method_name(&self) -> &'static str
 
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL