Function slr_config::to_element[][src]

pub fn to_element<T: Serialize>(value: &T) -> Result<ConfigElement, Error>

Serialize a value to a ConfigElement.