pub struct DiagSink {
pub published: u32,
pub failed: u32,
/* private fields */
}Expand description
One executor’s /diagnostics reporter: the publisher and two counters.
No rate-limit state: the rules are windowed and fire on transitions, so the
reporter is built per call with no interval (and this struct’s size, which
nros-build-helpers adds to CPP_EXECUTOR_OPAQUE_U64S, stays the
publisher plus two words).
Fields§
§published: u32Reports published.
failed: u32Reports that could not be (serialise or publish failed).
Implementations§
Auto Trait Implementations§
impl !Freeze for DiagSink
impl !RefUnwindSafe for DiagSink
impl !Send for DiagSink
impl !Sync for DiagSink
impl Unpin for DiagSink
impl UnsafeUnpin for DiagSink
impl UnwindSafe for DiagSink
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