Enum fidl_fuchsia_paver::PaverRequest
source · pub enum PaverRequest {
FindDataSink {
data_sink: ServerEnd<DataSinkMarker>,
control_handle: PaverControlHandle,
},
UseBlockDevice {
block_device: ClientEnd<BlockMarker>,
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.
UseBlockDevice
Fields
block_device: ClientEnd<BlockMarker>
data_sink: ServerEnd<DynamicDataSinkMarker>
control_handle: PaverControlHandle
Provide a block device to use as a data sink. Assets and volumes will be paved to partitions within this block device.
It assumes that channel backing block_device
also implements fuchsia.io.Node
for now.
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_use_block_device( self ) -> Option<(ClientEnd<BlockMarker>, 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