Skip to main content

DiagnosticsServerHandler

Trait DiagnosticsServerHandler 

Source
pub trait DiagnosticsServerHandler<___T = Channel>
where ___T: Transport,
{ // Required method fn log_debug_info_to_syslog( &mut self, responder: Responder<LogDebugInfoToSyslog, ___T>, ) -> impl Future<Output = ()> + Send; }
Expand description

A server handler for the Diagnostics protocol.

See Diagnostics for more details.

Required Methods§

Source

fn log_debug_info_to_syslog( &mut self, responder: Responder<LogDebugInfoToSyslog, ___T>, ) -> impl Future<Output = ()> + Send

Requests that the device produces debugging information in the system logs.

The call returns once device debug information has been produced.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§