Skip to main content

ThreadNetworkDiagnosticsCmdResponses

Trait ThreadNetworkDiagnosticsCmdResponses 

Source
pub trait ThreadNetworkDiagnosticsCmdResponses<'a> {
    // Required method
    fn thread_network_diagnostics_inv_resp(
        &self,
    ) -> ThreadNetworkDiagnosticsCmdResponsesView<'a, '_>;
}
Expand description

IM-client extension trait for extracting ThreadNetworkDiagnostics-cluster command responses out of a generic crate::im::InvokeResp. use this trait to call .thread_network_diagnostics_inv_resp() on an InvokeResp; the returned ThreadNetworkDiagnosticsCmdResponsesView exposes one iterator method per command, each yielding (EndptId, Result<<Output>, Error>) — see crate::im::InvokeResp::responses / crate::im::InvokeResp::statuses for the per-entry semantics.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§