pub enum DeviceRequest {
GetHardwareId {
responder: DeviceGetHardwareIdResponder,
},
GetRwFirmwareVersion {
responder: DeviceGetRwFirmwareVersionResponder,
},
GetRoFirmwareVersion {
responder: DeviceGetRoFirmwareVersionResponder,
},
GetNvramMetadataLocation {
responder: DeviceGetNvramMetadataLocationResponder,
},
GetFlashmapAddress {
responder: DeviceGetFlashmapAddressResponder,
},
GetNvdataVersion {
responder: DeviceGetNvdataVersionResponder,
},
GetActiveApFirmware {
responder: DeviceGetActiveApFirmwareResponder,
},
}
Variants§
GetHardwareId
Fields
§
responder: DeviceGetHardwareIdResponder
Get the ChromeOS HWID for this device, which identifies a device’s model and configuration.
GetRwFirmwareVersion
Fields
§
responder: DeviceGetRwFirmwareVersionResponder
Get the version of the active RW firmware.
GetRoFirmwareVersion
Fields
§
responder: DeviceGetRoFirmwareVersionResponder
Get the version of the RO firmware.
GetNvramMetadataLocation
Fields
§
responder: DeviceGetNvramMetadataLocationResponder
Get the offset and size of the VBoot configuration in the CMOS nvram.
GetFlashmapAddress
Fields
§
responder: DeviceGetFlashmapAddressResponder
Get the address of the flashmap in physical memory.
GetNvdataVersion
Fields
§
responder: DeviceGetNvdataVersionResponder
Get the nvdata version.
GetActiveApFirmware
Fields
§
responder: DeviceGetActiveApFirmwareResponder
Get the currently booted firmware slot.
Implementations§
source§impl DeviceRequest
impl DeviceRequest
pub fn into_get_hardware_id(self) -> Option<DeviceGetHardwareIdResponder>
pub fn into_get_rw_firmware_version( self ) -> Option<DeviceGetRwFirmwareVersionResponder>
pub fn into_get_ro_firmware_version( self ) -> Option<DeviceGetRoFirmwareVersionResponder>
pub fn into_get_nvram_metadata_location( self ) -> Option<DeviceGetNvramMetadataLocationResponder>
pub fn into_get_flashmap_address( self ) -> Option<DeviceGetFlashmapAddressResponder>
pub fn into_get_nvdata_version(self) -> Option<DeviceGetNvdataVersionResponder>
pub fn into_get_active_ap_firmware( self ) -> Option<DeviceGetActiveApFirmwareResponder>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL