Skip to main content

SwitchWriteResponses

Trait SwitchWriteResponses 

Source
pub trait SwitchWriteResponses<'a> {
    // Required method
    fn switch_write_resp(&self) -> SwitchWriteResponsesView<'a, '_>;
}
Expand description

IM-client extension trait for extracting Switch-cluster per-attribute write statuses out of a generic crate::im::WriteResp. use this trait to call .switch_write_resp() on a WriteResp; the returned SwitchWriteResponsesView exposes one iterator method per writable attribute, each yielding (EndptId, Result<(), Error>).

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§