pub struct DiagnosticsProxy { /* private fields */ }
Implementations§
source§impl DiagnosticsProxy
impl DiagnosticsProxy
sourcepub fn take_event_stream(&self) -> DiagnosticsEventStream
pub fn take_event_stream(&self) -> DiagnosticsEventStream
Get a Stream of events from the remote end of the Diagnostics protocol
Panics
Panics if the event stream was already taken.
sourcepub fn log_debug_info_to_syslog(&self) -> QueryResponseFut<()>
pub fn log_debug_info_to_syslog(&self) -> QueryResponseFut<()>
Requests that the device produces debugging information in the system logs.
The call returns once device debug information has been produced.
Trait Implementations§
source§impl Clone for DiagnosticsProxy
impl Clone for DiagnosticsProxy
source§fn clone(&self) -> DiagnosticsProxy
fn clone(&self) -> DiagnosticsProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DiagnosticsProxy
impl Debug for DiagnosticsProxy
source§impl DiagnosticsProxyInterface for DiagnosticsProxy
impl DiagnosticsProxyInterface for DiagnosticsProxy
type LogDebugInfoToSyslogResponseFut = QueryResponseFut<()>
fn log_debug_info_to_syslog(&self) -> Self::LogDebugInfoToSyslogResponseFut
source§impl Proxy for DiagnosticsProxy
impl Proxy for DiagnosticsProxy
§type Protocol = DiagnosticsMarker
type Protocol = DiagnosticsMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more