Skip to main content

Identifying

Trait Identifying 

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

What the endpoint must tell the cluster for AddGroupIfIdentifying to work.

§1.3.7.6 makes that command conditional on the Identify cluster’s state on the same endpoint, which is the only coupling this cluster has. A device without Identify answers false and the command is silently ignored — which is what the specification asks for.

Required Methods§

Source

fn is_identifying(&self) -> bool

Whether the endpoint is identifying itself right now.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl Identifying for NeverIdentifying

Source§

impl<H: IdentifyHooks> Identifying for Identify<'_, H>

§1.3.7.6’s AddGroupIfIdentifying asks the endpoint whether it is identifying; this is the answer when the endpoint has an Identify cluster.