pub trait EncodeExt {
// Required methods
fn encode_e(
&self,
encoder: &mut DescriptorEncoder<'_>,
name: &str,
help: &str
) -> Result<(), Error>;
fn encode_e_unit(
&self,
encoder: &mut DescriptorEncoder<'_>,
name: &str,
help: &str,
unit: &Unit
) -> Result<(), Error>;
}