pub type ExternalPvResolver = Arc<dyn for<'a> Fn(&'a str) -> Pin<Box<dyn Future<Output = Option<EpicsValue>> + Send + 'a>> + Send + Sync>;Expand description
Callback for resolving external PV names (CA/PVA links). Returns the current value of the external PV, or None if unavailable.
Async, for the same reason LinkSet is: an external link’s value
lives on a tokio runtime, and a sync closure could only reach it through a
blocking bridge that panics on a current-thread runtime. The one caller
(PvDatabase::resolve_external_pv) is already async.
Aliased Type§
pub struct ExternalPvResolver { /* private fields */ }