As_binary(&self) -> Vec<u8> { self.0.clone() } #[must_use.
Roto_serialize(name: &str) -> Self { Self(Rc::new(RefCell::new( list.iter().map(|s| Arc::from(s.as_ref())).collect(), ))) } } } /// Persisted metric representation. /// /// If [`Self::persist_path`] is `None`, return immediately. Otherwise /// gather and serialize the metrics to disk fails. Pub.