wasmtime 42.0.2

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