pub enum PaverRequest {
FindDataSink {
data_sink: ServerEnd<DataSinkMarker>,
control_handle: PaverControlHandle,
},
FindPartitionTableManager {
data_sink: ServerEnd<DynamicDataSinkMarker>,
control_handle: PaverControlHandle,
},
FindBootManager {
boot_manager: ServerEnd<BootManagerMarker>,
control_handle: PaverControlHandle,
},
FindSysconfig {
sysconfig: ServerEnd<SysconfigMarker>,
control_handle: PaverControlHandle,
},
}
Variants§
FindDataSink
Attempts to auto-discover the data sink where assets and volumes will get paved to. On devices with GPT, the partition must have a valid FVM partition in order for auto-discovery to find it. If multiple devices are found suitable, error is returned.
data_sink
will be closed on error, with an epitaph provided on failure reason.
FindPartitionTableManager
Like FindDataSink
, but the returned block device will be dynamic, supporting partition
table manipulation.
data_sink
will be closed on error, with an epitaph provided on failure reason.
FindBootManager
Attempts to auto-discover the boot manager.
boot_manager
will be closed on error, with an epitaph provided on failure reason.
ZX_ERR_NOT_SUPPORTED indicates lack of support and configuration A is always booted from.
FindSysconfig
Find Sysconfig service.
Implementations§
Source§impl PaverRequest
impl PaverRequest
pub fn into_find_data_sink( self, ) -> Option<(ServerEnd<DataSinkMarker>, PaverControlHandle)>
pub fn into_find_partition_table_manager( self, ) -> Option<(ServerEnd<DynamicDataSinkMarker>, PaverControlHandle)>
pub fn into_find_boot_manager( self, ) -> Option<(ServerEnd<BootManagerMarker>, PaverControlHandle)>
pub fn into_find_sysconfig( self, ) -> Option<(ServerEnd<SysconfigMarker>, PaverControlHandle)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL