pub trait CouplingPoint: Sync { }Expand description
A signal a node declares it reads or writes.
Implemented for every Sync type by a blanket impl, so no consumer ever
writes one: the graph’s reads:/writes: clauses coerce the named statics
to &'static dyn CouplingPoint for you. The trait carries no methods —
the supervisor neither knows nor cares what a signal is. Its only purpose is
to type-erase heterogeneous statics into one slice, so identity is the
static’s address and nothing else.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<T: Sync + ?Sized> CouplingPoint for T
Available on crate feature
coupling only.