pub enum PartitionRequest {
UpdateMetadata {
payload: PartitionUpdateMetadataRequest,
responder: PartitionUpdateMetadataResponder,
},
}
Expand description
Exposes per-partition operations.
Note that this protocol is only exposed for GPT partitions which are not included in an overlay
(and are actual partitions; i.e. not overlays themselves). It follows that partitions involved
in an overlay cannot be modified, as the UpdateMetadata
method is the only means for a client
to modify a partition.
Variants§
UpdateMetadata
Appends an update to transaction
(see PartitionManager.CreateTransaction
)
to modify the partition’s metadata. The update is only applied once the transaction
is committed.
Implementations§
Source§impl PartitionRequest
impl PartitionRequest
pub fn into_update_metadata( self, ) -> Option<(PartitionUpdateMetadataRequest, PartitionUpdateMetadataResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PartitionRequest
impl !RefUnwindSafe for PartitionRequest
impl Send for PartitionRequest
impl Sync for PartitionRequest
impl Unpin for PartitionRequest
impl !UnwindSafe for PartitionRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more