pub enum PartitionsAdminRequest {
ResetPartitionTable {
partitions: Vec<PartitionInfo>,
responder: PartitionsAdminResetPartitionTableResponder,
},
}
Variants§
ResetPartitionTable
Wipes and re-initializes the partition table. This is a destructive operation! If there are any active clients of existing partitions, their connections will be severed. This function is only intended to be used in product configurations where nothing is actively using any partitions, so there’s no need to make this operation graceful.
Partitions table entries are assigned in the specified order. Empty entries are permitted (i.e. all fields set to 0) and will result in an empty slot in the partition table, which allows the table size to be set appropriately.
Implementations§
Source§impl PartitionsAdminRequest
impl PartitionsAdminRequest
pub fn into_reset_partition_table( self, ) -> Option<(Vec<PartitionInfo>, PartitionsAdminResetPartitionTableResponder)>
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 PartitionsAdminRequest
impl !RefUnwindSafe for PartitionsAdminRequest
impl Send for PartitionsAdminRequest
impl Sync for PartitionsAdminRequest
impl Unpin for PartitionsAdminRequest
impl !UnwindSafe for PartitionsAdminRequest
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