Skip to main content

Module keyfmt

Module keyfmt 

Source
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§

KeyfmtPlugin
Trait implemented by key-format plugins. The type Self is the parsed key representation; parse constructs it from bytes and serialize writes it back out.