PluginOptionsDeserializer

Trait PluginOptionsDeserializer 

Source
pub trait PluginOptionsDeserializer<T: DeserializeOwned>: Send + Sync {
    // Required method
    fn deserialize(&self, payload: &str) -> Result<T, Error>;
}
Expand description

A trait for deserializing Metasrv config from a JSON string.

Required Methods§

Source

fn deserialize(&self, payload: &str) -> Result<T, Error>

Implementors§