pub struct FixedLabel<'a> { /* private fields */ }Expand description
Fixed Label 0x0040 (§9.8): the labels the manufacturer burned in.
Read-only over the wire — §9.8.5 gives LabelList access RV — so the list is &'static
data alongside the rest of the device’s const model, and there is no path by which a
commissioner could rewrite it.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for FixedLabel<'a>
impl<'a> Clone for FixedLabel<'a>
Source§impl Cluster for FixedLabel<'_>
impl Cluster for FixedLabel<'_>
Source§impl ClusterHandler for FixedLabel<'_>
impl ClusterHandler for FixedLabel<'_>
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§fn write(
&self,
_resolved: &Resolved<'_>,
_data: &[u8],
_op: WriteOp,
_ctx: &InteractionContext<'_>,
) -> Result<(), Status>
fn write( &self, _resolved: &Resolved<'_>, _data: &[u8], _op: WriteOp, _ctx: &InteractionContext<'_>, ) -> Result<(), Status>
Writes
data — the encoded TLV element, tag included — into the attribute. Read moreimpl<'a> Copy for FixedLabel<'a>
Auto Trait Implementations§
impl<'a> Forget for FixedLabel<'a>
impl<'a> Freeze for FixedLabel<'a>
impl<'a> Move for FixedLabel<'a>
impl<'a> RefUnwindSafe for FixedLabel<'a>
impl<'a> Send for FixedLabel<'a>
impl<'a> Sync for FixedLabel<'a>
impl<'a> Unpin for FixedLabel<'a>
impl<'a> UnsafeUnpin for FixedLabel<'a>
impl<'a> UnwindSafe for FixedLabel<'a>
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