pub trait KonfigSerialization {
// Required methods
fn to_bytes(
&self,
format: &FormatHandlerEnum,
) -> Result<Vec<u8>, KonfigError>;
fn update_from_bytes(
&mut self,
bytes: &[u8],
format: &FormatHandlerEnum,
) -> Result<(), KonfigError>;
}
Expand description
Automatically implements internal methods originally defined in KonfigSection
only used internally by konfig