pub struct SoftwareDiagnostics<'a, M: SoftwareMetrics> { /* private fields */ }Expand description
The Software Diagnostics cluster (§11.13).
Implementations§
Source§impl<'a, M: SoftwareMetrics> SoftwareDiagnostics<'a, M>
impl<'a, M: SoftwareMetrics> SoftwareDiagnostics<'a, M>
Trait Implementations§
Source§impl<M: SoftwareMetrics> Cluster for SoftwareDiagnostics<'_, M>
So a tuple of clusters can dispatch to it by id.
impl<M: SoftwareMetrics> Cluster for SoftwareDiagnostics<'_, M>
So a tuple of clusters can dispatch to it by id.
Source§impl<M: SoftwareMetrics> ClusterHandler for SoftwareDiagnostics<'_, M>
impl<M: SoftwareMetrics> ClusterHandler for SoftwareDiagnostics<'_, M>
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 invoke(
&self,
resolved: &ResolvedCommand<'_>,
_fields: Option<&[u8]>,
_ctx: &InteractionContext<'_>,
_w: &mut TlvWriter<'_>,
_tag: Tag,
) -> Result<Option<CommandId>, StatusIb>
fn invoke( &self, resolved: &ResolvedCommand<'_>, _fields: Option<&[u8]>, _ctx: &InteractionContext<'_>, _w: &mut TlvWriter<'_>, _tag: Tag, ) -> Result<Option<CommandId>, StatusIb>
Runs a command. Read more
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
Auto Trait Implementations§
impl<'a, M> Forget for SoftwareDiagnostics<'a, M>
impl<'a, M> Freeze for SoftwareDiagnostics<'a, M>
impl<'a, M> Move for SoftwareDiagnostics<'a, M>
impl<'a, M> RefUnwindSafe for SoftwareDiagnostics<'a, M>where
&'a M: RefUnwindSafe,
impl<'a, M> Send for SoftwareDiagnostics<'a, M>
impl<'a, M> Sync for SoftwareDiagnostics<'a, M>
impl<'a, M> Unpin for SoftwareDiagnostics<'a, M>
impl<'a, M> UnsafeUnpin for SoftwareDiagnostics<'a, M>where
&'a M: UnsafeUnpin,
impl<'a, M> UnwindSafe for SoftwareDiagnostics<'a, M>where
&'a M: 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