1 /// Error context reference count across a [`ComponentInstance`] 2 /// 3 /// Contrasted to `LocalErrorContextRefCount`, this count is maintained 4 /// across all sub-components in a given component. 5 /// 6 /// When this count is zero it is *definitely* safe to remove an error context. 7 #[repr(transparent)] 8 pub struct GlobalErrorContextRefCount(pub(crate) usize); 9