pub enum SysInfoRequest {
GetBoardName {
responder: SysInfoGetBoardNameResponder,
},
GetBoardRevision {
responder: SysInfoGetBoardRevisionResponder,
},
GetBootloaderVendor {
responder: SysInfoGetBootloaderVendorResponder,
},
GetInterruptControllerInfo {
responder: SysInfoGetInterruptControllerInfoResponder,
},
GetSerialNumber {
responder: SysInfoGetSerialNumberResponder,
},
}
Variants§
GetBoardName
Return the board name for the platform we are running on.
Fields
§
responder: SysInfoGetBoardNameResponder
GetBoardRevision
Return the board revision for the board we are running on.
Fields
§
responder: SysInfoGetBoardRevisionResponder
GetBootloaderVendor
Return the bootloader vendor for the platform we are running on.
Fields
§
responder: SysInfoGetBootloaderVendorResponder
GetInterruptControllerInfo
Return interrupt controller information.
Fields
§
responder: SysInfoGetInterruptControllerInfoResponder
GetSerialNumber
Fields
§
responder: SysInfoGetSerialNumberResponder
Implementations§
Source§impl SysInfoRequest
impl SysInfoRequest
pub fn into_get_board_name(self) -> Option<SysInfoGetBoardNameResponder>
pub fn into_get_board_revision(self) -> Option<SysInfoGetBoardRevisionResponder>
pub fn into_get_bootloader_vendor( self, ) -> Option<SysInfoGetBootloaderVendorResponder>
pub fn into_get_interrupt_controller_info( self, ) -> Option<SysInfoGetInterruptControllerInfoResponder>
pub fn into_get_serial_number(self) -> Option<SysInfoGetSerialNumberResponder>
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 SysInfoRequest
impl !RefUnwindSafe for SysInfoRequest
impl Send for SysInfoRequest
impl Sync for SysInfoRequest
impl Unpin for SysInfoRequest
impl !UnwindSafe for SysInfoRequest
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