Skip to main content

ClosureControlCmdResponses

Trait ClosureControlCmdResponses 

Source
pub trait ClosureControlCmdResponses<'a> {
    // Required method
    fn closure_control_inv_resp(&self) -> ClosureControlCmdResponsesView<'a, '_>;
}
Expand description

IM-client extension trait for extracting ClosureControl-cluster command responses out of a generic crate::im::InvokeResp. use this trait to call .closure_control_inv_resp() on an InvokeResp; the returned ClosureControlCmdResponsesView 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§