pub trait ApplicationBasicAttrResponses<'a> {
// Required method
fn application_basic_read_resp(
&self,
) -> ApplicationBasicAttrResponsesView<'a, '_>;
}Expand description
IM-client extension trait for extracting ApplicationBasic-cluster attribute reports out of a generic crate::im::ReportDataResp. use this trait to call .application_basic_read_resp() on a ReportDataResp; the returned ApplicationBasicAttrResponsesView exposes one iterator method per attribute (scalar, string, struct and list alike), each yielding (EndptId, Result<T, Error>). The item type borrows the response, so string/struct/list attributes come back as Utf8Str<'a>/OctetStr<'a>, the codegen struct wrapper Foo<'a>, or TLVArray<'a, _> respectively.
Required Methods§
fn application_basic_read_resp( &self, ) -> ApplicationBasicAttrResponsesView<'a, '_>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".