pub struct DiagnosticsSynchronousProxy { /* private fields */ }
Implementations§
source§impl DiagnosticsSynchronousProxy
impl DiagnosticsSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(&self, deadline: Time) -> Result<DiagnosticsEvent, Error>
pub fn wait_for_event(&self, deadline: Time) -> Result<DiagnosticsEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
sourcepub fn log_debug_info_to_syslog(&self, ___deadline: Time) -> Result<(), Error>
pub fn log_debug_info_to_syslog(&self, ___deadline: Time) -> Result<(), Error>
Requests that the device produces debugging information in the system logs.
The call returns once device debug information has been produced.