Function kfl::decode_with_context

source ยท
pub fn decode_with_context<T, F>(
    file_name: &str,
    input: &str,
    set_ctx: F,
) -> Result<T, Error>
where F: FnOnce(&mut Context), T: DecodePartial,
Expand description

Parse KDL text and decode Rust object providing extra context for the decoder