Trait PropPair
libzetta::zpool::properties
pub trait PropPair { fn to_pair(&self, key: &str) -> String; }
Implement this for your custom properties.
fn to_pair(&self, key: &str) -> String
Convert &self to {key}={value} string.
&self
{key}={value}
impl PropPair for bool
impl PropPair for String
impl PropPair for CacheType
impl PropPair for FailMode