pub struct MonitorSpec {
pub topic: &'static str,
pub fqn: &'static str,
pub min_rate_hz_milli: u32,
pub max_latency_ms: u32,
pub cell: &'static PubMonitorCell,
}Expand description
One monitored publisher endpoint.
Fields§
§topic: &'static strTopic name EXACTLY as the node passes it to create_publisher
(the SystemModel’s wiring carries the same resolved name).
fqn: &'static strEndpoint ref for violation reports (<node FQN>/<endpoint> — the
SystemModel contract key).
min_rate_hz_milli: u32Declared publisher guarantee, in milli-Hz (fixed point: Hz × 1000). 0 = no rate contract on this endpoint.
max_latency_ms: u32W3b.5 — node-path budget (ms) for paths whose OUTPUT is this
endpoint (contracts.node_paths[..].max_latency_ms). 0 = no
latency contract.
cell: &'static PubMonitorCellThe endpoint’s counter cell.
Trait Implementations§
Source§impl Clone for MonitorSpec
impl Clone for MonitorSpec
Source§fn clone(&self) -> MonitorSpec
fn clone(&self) -> MonitorSpec
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 MonitorSpec
impl Debug for MonitorSpec
impl Copy for MonitorSpec
Auto Trait Implementations§
impl Freeze for MonitorSpec
impl RefUnwindSafe for MonitorSpec
impl Send for MonitorSpec
impl Sync for MonitorSpec
impl Unpin for MonitorSpec
impl UnsafeUnpin for MonitorSpec
impl UnwindSafe for MonitorSpec
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