pub fn set_observer(observer: impl Observer) -> Result<(), Box<dyn Observer>>Expand description
Install the observer, once per process.
Returns the observer back if one is already installed: the first one stays, since measurements already sent to it would otherwise be split between two pipelines.