use crateKnafehError;
pub use JsonCodec;
pub use ;
/// Trait for encoding/decoding RPC payloads.
///
/// The codec is responsible for validating and transforming request and
/// response bodies as they cross the RPC boundary.
/// The default codec for Knafeh — protobuf.
///
/// Use [`JsonCodec`] for human-readable payloads, or implement [`Codec`]
/// for custom serialization.
pub type DefaultCodec = ProtobufCodec;