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 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>
The cluster instance’s data version (§7.10.3), if it tracks one. Read more
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 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>
The cluster instance’s data version (§7.10.3), if it tracks one. Read more
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 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>
The cluster instance’s data version (§7.10.3), if it tracks one. Read more
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 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>
The cluster instance’s data version (§7.10.3), if it tracks one. Read more
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 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>
The cluster instance’s data version (§7.10.3), if it tracks one. Read more
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 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>
The cluster instance’s data version (§7.10.3), if it tracks one. Read more
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 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>
The cluster instance’s data version (§7.10.3), if it tracks one. Read more
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 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>
The cluster instance’s data version (§7.10.3), if it tracks one. Read more
impl<T: Copy> Copy for Endpoints<T>
Auto Trait Implementations§
impl<T> Freeze for Endpoints<T>where
T: Freeze,
impl<T> RefUnwindSafe for Endpoints<T>where
T: RefUnwindSafe,
impl<T> Send for Endpoints<T>where
T: Send,
impl<T> Sync for Endpoints<T>where
T: Sync,
impl<T> Unpin for Endpoints<T>where
T: Unpin,
impl<T> UnsafeUnpin for Endpoints<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Endpoints<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more