Skip to main content

parse_cypher

Function parse_cypher 

Source
pub fn parse_cypher(value: &Value) -> Result<CipherOptions, OptionsError>
Expand description

The cypher sub-document of the open() options document, on its own — { keys, keyId, keyEncoding, onMissingKey }. Public because a host that reads key material from a file or an environment variable (crate::keys) has such a document and no options document around it.