pub struct Endpoints<T>(pub T);Expand description
A node’s endpoints, each an At.
Routes on the endpoint first and the cluster id second, which is the order §8.9.2’s
concrete path names them in. A path naming an endpoint no member holds is
UNSUPPORTED_ENDPOINT — the same answer the server would give for an endpoint the node
does not have, rather than another endpoint’s data.
Tuple Fields§
§0: TTrait Implementations§
Source§impl<A: ClusterHandler> ClusterHandler for Endpoints<(At<A>,)>
impl<A: ClusterHandler> ClusterHandler for Endpoints<(At<A>,)>
Source§fn on_lifecycle(&self, event: Lifecycle)
fn on_lifecycle(&self, event: Lifecycle)
Every endpoint, not the one a path named: the node’s endpoints are all on the fabric that went away.
Source§fn read(
&self,
resolved: &Resolved<'_>,
ctx: &InteractionContext<'_>,
w: &mut TlvWriter<'_>,
tag: Tag,
) -> Result<(), Status>
fn read( &self, resolved: &Resolved<'_>, ctx: &InteractionContext<'_>, w: &mut TlvWriter<'_>, tag: Tag, ) -> Result<(), Status>
Source§fn data_version(&self, resolved: &Resolved<'_>) -> Option<u32>
fn data_version(&self, resolved: &Resolved<'_>) -> Option<u32>
Source§impl<A: ClusterHandler, B: ClusterHandler> ClusterHandler for Endpoints<(At<A>, At<B>)>
impl<A: ClusterHandler, B: ClusterHandler> ClusterHandler for Endpoints<(At<A>, At<B>)>
Source§fn on_lifecycle(&self, event: Lifecycle)
fn on_lifecycle(&self, event: Lifecycle)
Every endpoint, not the one a path named: the node’s endpoints are all on the fabric that went away.
Source§fn read(
&self,
resolved: &Resolved<'_>,
ctx: &InteractionContext<'_>,
w: &mut TlvWriter<'_>,
tag: Tag,
) -> Result<(), Status>
fn read( &self, resolved: &Resolved<'_>, ctx: &InteractionContext<'_>, w: &mut TlvWriter<'_>, tag: Tag, ) -> Result<(), Status>
Source§fn data_version(&self, resolved: &Resolved<'_>) -> Option<u32>
fn data_version(&self, resolved: &Resolved<'_>) -> Option<u32>
Source§impl<A: ClusterHandler, B: ClusterHandler, C: ClusterHandler> ClusterHandler for Endpoints<(At<A>, At<B>, At<C>)>
impl<A: ClusterHandler, B: ClusterHandler, C: ClusterHandler> ClusterHandler for Endpoints<(At<A>, At<B>, At<C>)>
Source§fn on_lifecycle(&self, event: Lifecycle)
fn on_lifecycle(&self, event: Lifecycle)
Every endpoint, not the one a path named: the node’s endpoints are all on the fabric that went away.
Source§fn read(
&self,
resolved: &Resolved<'_>,
ctx: &InteractionContext<'_>,
w: &mut TlvWriter<'_>,
tag: Tag,
) -> Result<(), Status>
fn read( &self, resolved: &Resolved<'_>, ctx: &InteractionContext<'_>, w: &mut TlvWriter<'_>, tag: Tag, ) -> Result<(), Status>
Source§fn data_version(&self, resolved: &Resolved<'_>) -> Option<u32>
fn data_version(&self, resolved: &Resolved<'_>) -> Option<u32>
Source§impl<A: ClusterHandler, B: ClusterHandler, C: ClusterHandler, D: ClusterHandler> ClusterHandler for Endpoints<(At<A>, At<B>, At<C>, At<D>)>
impl<A: ClusterHandler, B: ClusterHandler, C: ClusterHandler, D: ClusterHandler> ClusterHandler for Endpoints<(At<A>, At<B>, At<C>, At<D>)>
Source§fn on_lifecycle(&self, event: Lifecycle)
fn on_lifecycle(&self, event: Lifecycle)
Every endpoint, not the one a path named: the node’s endpoints are all on the fabric that went away.
Source§fn read(
&self,
resolved: &Resolved<'_>,
ctx: &InteractionContext<'_>,
w: &mut TlvWriter<'_>,
tag: Tag,
) -> Result<(), Status>
fn read( &self, resolved: &Resolved<'_>, ctx: &InteractionContext<'_>, w: &mut TlvWriter<'_>, tag: Tag, ) -> Result<(), Status>
Source§fn data_version(&self, resolved: &Resolved<'_>) -> Option<u32>
fn data_version(&self, resolved: &Resolved<'_>) -> Option<u32>
Source§impl<A: ClusterHandler, B: ClusterHandler, C: ClusterHandler, D: ClusterHandler, E: ClusterHandler> ClusterHandler for Endpoints<(At<A>, At<B>, At<C>, At<D>, At<E>)>
impl<A: ClusterHandler, B: ClusterHandler, C: ClusterHandler, D: ClusterHandler, E: ClusterHandler> ClusterHandler for Endpoints<(At<A>, At<B>, At<C>, At<D>, At<E>)>
Source§fn on_lifecycle(&self, event: Lifecycle)
fn on_lifecycle(&self, event: Lifecycle)
Every endpoint, not the one a path named: the node’s endpoints are all on the fabric that went away.
Source§fn read(
&self,
resolved: &Resolved<'_>,
ctx: &InteractionContext<'_>,
w: &mut TlvWriter<'_>,
tag: Tag,
) -> Result<(), Status>
fn read( &self, resolved: &Resolved<'_>, ctx: &InteractionContext<'_>, w: &mut TlvWriter<'_>, tag: Tag, ) -> Result<(), Status>
Source§fn data_version(&self, resolved: &Resolved<'_>) -> Option<u32>
fn data_version(&self, resolved: &Resolved<'_>) -> Option<u32>
Source§impl<A: ClusterHandler, B: ClusterHandler, C: ClusterHandler, D: ClusterHandler, E: ClusterHandler, F: ClusterHandler> ClusterHandler for Endpoints<(At<A>, At<B>, At<C>, At<D>, At<E>, At<F>)>
impl<A: ClusterHandler, B: ClusterHandler, C: ClusterHandler, D: ClusterHandler, E: ClusterHandler, F: ClusterHandler> ClusterHandler for Endpoints<(At<A>, At<B>, At<C>, At<D>, At<E>, At<F>)>
Source§fn on_lifecycle(&self, event: Lifecycle)
fn on_lifecycle(&self, event: Lifecycle)
Every endpoint, not the one a path named: the node’s endpoints are all on the fabric that went away.
Source§fn read(
&self,
resolved: &Resolved<'_>,
ctx: &InteractionContext<'_>,
w: &mut TlvWriter<'_>,
tag: Tag,
) -> Result<(), Status>
fn read( &self, resolved: &Resolved<'_>, ctx: &InteractionContext<'_>, w: &mut TlvWriter<'_>, tag: Tag, ) -> Result<(), Status>
Source§fn data_version(&self, resolved: &Resolved<'_>) -> Option<u32>
fn data_version(&self, resolved: &Resolved<'_>) -> Option<u32>
Source§impl<A: ClusterHandler, B: ClusterHandler, C: ClusterHandler, D: ClusterHandler, E: ClusterHandler, F: ClusterHandler, G: ClusterHandler> ClusterHandler for Endpoints<(At<A>, At<B>, At<C>, At<D>, At<E>, At<F>, At<G>)>
impl<A: ClusterHandler, B: ClusterHandler, C: ClusterHandler, D: ClusterHandler, E: ClusterHandler, F: ClusterHandler, G: ClusterHandler> ClusterHandler for Endpoints<(At<A>, At<B>, At<C>, At<D>, At<E>, At<F>, At<G>)>
Source§fn on_lifecycle(&self, event: Lifecycle)
fn on_lifecycle(&self, event: Lifecycle)
Every endpoint, not the one a path named: the node’s endpoints are all on the fabric that went away.
Source§fn read(
&self,
resolved: &Resolved<'_>,
ctx: &InteractionContext<'_>,
w: &mut TlvWriter<'_>,
tag: Tag,
) -> Result<(), Status>
fn read( &self, resolved: &Resolved<'_>, ctx: &InteractionContext<'_>, w: &mut TlvWriter<'_>, tag: Tag, ) -> Result<(), Status>
Source§fn data_version(&self, resolved: &Resolved<'_>) -> Option<u32>
fn data_version(&self, resolved: &Resolved<'_>) -> Option<u32>
Source§impl<A: ClusterHandler, B: ClusterHandler, C: ClusterHandler, D: ClusterHandler, E: ClusterHandler, F: ClusterHandler, G: ClusterHandler, H: ClusterHandler> ClusterHandler for Endpoints<(At<A>, At<B>, At<C>, At<D>, At<E>, At<F>, At<G>, At<H>)>
impl<A: ClusterHandler, B: ClusterHandler, C: ClusterHandler, D: ClusterHandler, E: ClusterHandler, F: ClusterHandler, G: ClusterHandler, H: ClusterHandler> ClusterHandler for Endpoints<(At<A>, At<B>, At<C>, At<D>, At<E>, At<F>, At<G>, At<H>)>
Source§fn on_lifecycle(&self, event: Lifecycle)
fn on_lifecycle(&self, event: Lifecycle)
Every endpoint, not the one a path named: the node’s endpoints are all on the fabric that went away.