pub struct DefaultConfigurationManager { /* private fields */ }
Implementations§
Source§impl DefaultConfigurationManager
impl DefaultConfigurationManager
pub fn new( config: Box<dyn ConfigurationManagerConfig>, ) -> DefaultConfigurationManager
Trait Implementations§
Source§impl Clone for DefaultConfigurationManager
impl Clone for DefaultConfigurationManager
Source§fn clone(&self) -> DefaultConfigurationManager
fn clone(&self) -> DefaultConfigurationManager
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl ConfigurationManager for DefaultConfigurationManager
impl ConfigurationManager for DefaultConfigurationManager
fn get_config(&self) -> &dyn ConfigurationManagerConfig
Source§fn get_properties(&self) -> Vec<Box<dyn RawProperty>>
fn get_properties(&self) -> Vec<Box<dyn RawProperty>>
the properties created by get_property
Source§fn get_property(&self, config: &dyn RawPropertyConfig) -> Box<dyn RawProperty>
fn get_property(&self, config: &dyn RawPropertyConfig) -> Box<dyn RawProperty>
get property value by get_property_value
and return a property with the propertyConfig and value Read more
Source§fn get_property_value(
&self,
config: &dyn RawPropertyConfig,
) -> Option<Box<dyn Value>>
fn get_property_value( &self, config: &dyn RawPropertyConfig, ) -> Option<Box<dyn Value>>
get property value in each configuration source by source priority Read more
Source§fn add_raw_change_listener(&self, listener: RawPropertyChangeListener)
fn add_raw_change_listener(&self, listener: RawPropertyChangeListener)
listeners to the property change, notified once property changed
fn clone_boxed(&self) -> Box<dyn ConfigurationManager>
fn to_boxed(self) -> Box<dyn ConfigurationManager>
Source§impl Debug for DefaultConfigurationManager
impl Debug for DefaultConfigurationManager
impl Eq for DefaultConfigurationManager
impl Send for DefaultConfigurationManager
impl Sync for DefaultConfigurationManager
Auto Trait Implementations§
impl Freeze for DefaultConfigurationManager
impl !RefUnwindSafe for DefaultConfigurationManager
impl Unpin for DefaultConfigurationManager
impl !UnwindSafe for DefaultConfigurationManager
Blanket Implementations§
Source§impl<T> AnyExtension for Twhere
T: ?Sized,
impl<T> AnyExtension for Twhere
T: ?Sized,
Source§impl<T> AsAny for Twhere
T: Any,
impl<T> AsAny for Twhere
T: Any,
fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more