pub enum DiagnosticDeviceRequest {
DumpState {
dump_type: u32,
control_handle: DiagnosticDeviceControlHandle,
},
}
Expand description
Methods used to expose diagnostics from the Magma device.
Variants§
DumpState
Dumps driver and hardware state to the log.
Implementations§
source§impl DiagnosticDeviceRequest
impl DiagnosticDeviceRequest
pub fn into_dump_state(self) -> Option<(u32, DiagnosticDeviceControlHandle)>
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 DiagnosticDeviceRequest
impl !RefUnwindSafe for DiagnosticDeviceRequest
impl Send for DiagnosticDeviceRequest
impl Sync for DiagnosticDeviceRequest
impl Unpin for DiagnosticDeviceRequest
impl !UnwindSafe for DiagnosticDeviceRequest
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