brane_cfg::info

Trait YamlInfo

Source
pub trait YamlInfo<'de>:
    Clone
    + Debug
    + Deserialize<'de>
    + Serialize { }
Expand description

A marker trait that will let the compiler implement Config for this object using the serde_yaml backend.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'de> YamlInfo<'de> for BackendFile

Source§

impl<'de> YamlInfo<'de> for InfraFile

Source§

impl<'de> YamlInfo<'de> for NodeConfig

Source§

impl<'de> YamlInfo<'de> for PolicyFile

Source§

impl<'de> YamlInfo<'de> for ProxyConfig