pub enum DiagnosticsRequest {
LogDebugInfoToSyslog {
responder: DiagnosticsLogDebugInfoToSyslogResponder,
},
GetProcessHandleForInspection {
responder: DiagnosticsGetProcessHandleForInspectionResponder,
},
}
Expand description
Provides access to Network stack diagnostics information.
Variants§
LogDebugInfoToSyslog
Requests that the network stack produces debugging information in the system logs.
The call returns once debug information has been produced.
Fields
§
responder: DiagnosticsLogDebugInfoToSyslogResponder
GetProcessHandleForInspection
Requests a handle to the netstack’s process.
This handle is not meant to be used for anything other than diagnostics,
so only the INSPECT
right is provided to the caller.
Fields
Implementations§
Source§impl DiagnosticsRequest
impl DiagnosticsRequest
pub fn into_log_debug_info_to_syslog( self, ) -> Option<DiagnosticsLogDebugInfoToSyslogResponder>
pub fn into_get_process_handle_for_inspection( self, ) -> Option<DiagnosticsGetProcessHandleForInspectionResponder>
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 DiagnosticsRequest
impl !RefUnwindSafe for DiagnosticsRequest
impl Send for DiagnosticsRequest
impl Sync for DiagnosticsRequest
impl Unpin for DiagnosticsRequest
impl !UnwindSafe for DiagnosticsRequest
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