Struct Config Policy
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct ConfigPolicy {
pub unknown_component: UnsupportedBehavior,
pub unknown_field: UnsupportedBehavior,
pub unsupported_value: UnsupportedBehavior,
}
Policy for how unsupported plugin/runtime config is handled.
Fields
unknown_component: UnsupportedBehavior
Policy applied when a component kind is unknown to the plugin registry.
unknown_field: UnsupportedBehavior
Policy applied when a known component contains an unknown field.
unsupported_value: UnsupportedBehavior
Policy applied when a known field contains an unsupported value.
Trait Implementations
impl Clone for ConfigPolicy
impl Clone for ConfigPolicy
clone
fn clone(&self) -> ConfigPolicy
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for ConfigPolicy
impl Debug for ConfigPolicy
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for ConfigPolicy
impl Default for ConfigPolicy
default
fn default() -> Self
impl<'de> Deserialize<'de> for ConfigPolicy
impl<'de> Deserialize<'de> for ConfigPolicy
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl EditorConfig for ConfigPolicy
impl EditorConfig for ConfigPolicy
editor_schema
fn editor_schema() -> &'static EditorSchema
impl Serialize for ConfigPolicy
impl Serialize for ConfigPolicy
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl Copy for ConfigPolicy
impl Copy for ConfigPolicy