Skip to main content

IdentifyStatus

Trait IdentifyStatus 

Source
pub trait IdentifyStatus {
    // Required method
    fn is_identifying(&self) -> bool;
}
Expand description

Read-only view over an endpoint’s identification state, for sibling clusters whose behavior depends on it — notably the Groups cluster, whose AddGroupIfIdentifying command only takes effect while the endpoint is identifying (App Cluster spec).

Implemented by IdentifyHandler; couple it to the sibling handler serving the same endpoint (identification state is per-endpoint).

Required Methods§

Source

fn is_identifying(&self) -> bool

Whether the endpoint is currently identifying (IdentifyTime > 0).

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T> IdentifyStatus for &T
where T: IdentifyStatus + ?Sized,

Implementors§