Skip to main content

UnitTestingCmdResponses

Trait UnitTestingCmdResponses 

Source
pub trait UnitTestingCmdResponses<'a> {
    // Required method
    fn unit_testing_inv_resp(&self) -> UnitTestingCmdResponsesView<'a, '_>;
}
Expand description

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