pub fn versify(
protocol: &str,
version: &Versionage,
kind: &str,
size: u64,
) -> Result<String, KERIError>Expand description
Creates a version string based on protocol, version, kind, and size
§Arguments
protocol- Protocol identifier, one of the valid Protocols valuesversion- Version information consisting of major and minor partskind- Serialization kind, one of the valid Kinds valuessize- Length of serialized map that embeds version string field
§Returns
A formatted version string according to the version format
§Errors
Returns an error if the protocol or kind is invalid