pub type ValueStringCodecRegistry = ValueCodecRegistry<ValueStringCodecDescriptor>;Expand description
An immutable string-wire value-codec registry sorted by stable ID.
Aliased Type§
pub struct ValueStringCodecRegistry { /* private fields */ }Implementations§
Source§impl ValueStringCodecRegistry
impl ValueStringCodecRegistry
Sourcepub fn try_global() -> Result<&'static Self, ValueCodecRegistryError>
pub fn try_global() -> Result<&'static Self, ValueCodecRegistryError>
Initializes and returns the process-wide linked string registry.
Initialization is synchronized and cached, including construction failures.
§Returns
A shared static registry containing all linked string registrations.
§Errors
Returns the cached construction error when linked registrations conflict.