Expand description
KeyfmtPlugin trait — the Rust-side counterpart of the key
serialization (keyfmt) v0 wire protocol.
Plugin authors implement this trait on their key representation
type, then apply #[plugin_interface(name = "keyfmt", version = 0)]
to the impl block.
See crates/confium-core/src/ffi/keyfmt.rs for the loader-side
wire types.
Enums§
- KeyKind
- What kind of key this is.
Traits§
- Keyfmt
Plugin - Trait implemented by key-format plugins. The type
Selfis the parsed key representation;parseconstructs it from bytes andserializewrites it back out.