pub struct AgeMonitorSpec {
pub topic: &'static str,
pub fqn: &'static str,
pub max_age_ms: u32,
pub cell: &'static SubMonitorCell,
}Expand description
One monitored subscriber endpoint (W3b.5 age contracts). Separate
table from MonitorSpec — sub contracts key different endpoints
and need no publish counter.
Fields§
§topic: &'static strTopic name EXACTLY as the node passes it to create_subscription.
fqn: &'static strEndpoint ref for violation reports (the SystemModel contract key).
max_age_ms: u32Declared max take-age (ms). 0 = no age contract.
cell: &'static SubMonitorCellThe endpoint’s age accumulator.
Trait Implementations§
Source§impl Clone for AgeMonitorSpec
impl Clone for AgeMonitorSpec
Source§fn clone(&self) -> AgeMonitorSpec
fn clone(&self) -> AgeMonitorSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgeMonitorSpec
impl Debug for AgeMonitorSpec
impl Copy for AgeMonitorSpec
Auto Trait Implementations§
impl Freeze for AgeMonitorSpec
impl RefUnwindSafe for AgeMonitorSpec
impl Send for AgeMonitorSpec
impl Sync for AgeMonitorSpec
impl Unpin for AgeMonitorSpec
impl UnsafeUnpin for AgeMonitorSpec
impl UnwindSafe for AgeMonitorSpec
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