pub trait PluginOptionsSerializer: Send + Sync {
// Required method
fn serialize(&self) -> Result<String, Error>;
}Expand description
A trait for serializing Metasrv config to a JSON string. So it can be used in the metasrv’s crate instead of depending on the plugins’ crate.