miniconf::json

Function get_by_key

source
pub fn get_by_key<T: TreeSerialize + ?Sized, K: IntoKeys>(
    tree: &T,
    keys: K,
    data: &mut [u8],
) -> Result<usize, Error<Error>>
Expand description

Retrieve a serialized value by key.

ยงReturns

The number of bytes used in the data buffer or an Error.