fn bool_to_u64(src: bool) -> u64 {
    if src {
        1
    } else {
        0
    }
}
// This should be mapped to values from nvpair.
This should be mapped to values from nvpair.
This should be mapped to values from nvpair .
fn bool_to_u64(src: bool) -> u64 {
    if src {
        1
    } else {
        0
    }
}
fn bool_to_u64 ( src : bool ) -> u64 { if src { 1 } else { 0 } }
This should be mapped to values from nvpair.
This should be mapped to values from nvpair .
src
bool
src
bool