Skip to main content

ConfigurationSourceConfig

Trait ConfigurationSourceConfig 

Source
pub trait ConfigurationSourceConfig:
    Value
    + Send
    + Sync {
    // Required methods
    fn get_name(&self) -> &str;
    fn clone_boxed(&self) -> Box<dyn ConfigurationSourceConfig>;
    fn to_boxed(self) -> Box<dyn ConfigurationSourceConfig>;
}

Required Methods§

Source

fn get_name(&self) -> &str

for description use

non-null, non-empty

Source

fn clone_boxed(&self) -> Box<dyn ConfigurationSourceConfig>

Source

fn to_boxed(self) -> Box<dyn ConfigurationSourceConfig>

Trait Implementations§

Source§

impl Clone for Box<dyn ConfigurationSourceConfig>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl PartialEq for Box<dyn ConfigurationSourceConfig>

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§