pub struct XmlConfigurationSource { /* private fields */ }
Available on crate feature
xml
only.Expand description
Represents a ConfigurationSource
for *.xml
files.
Implementations§
Source§impl XmlConfigurationSource
impl XmlConfigurationSource
Sourcepub fn new(file: FileSource) -> Self
pub fn new(file: FileSource) -> Self
Initializes a new *.xml
file configuration source.
§Arguments
file
- The*.xml
FileSource
information
Trait Implementations§
Source§impl ConfigurationSource for XmlConfigurationSource
impl ConfigurationSource for XmlConfigurationSource
Source§fn build(
&self,
_builder: &dyn ConfigurationBuilder,
) -> Box<dyn ConfigurationProvider>
fn build( &self, _builder: &dyn ConfigurationBuilder, ) -> Box<dyn ConfigurationProvider>
Builds the
ConfigurationProvider
for this source. Read moreAuto Trait Implementations§
impl Freeze for XmlConfigurationSource
impl RefUnwindSafe for XmlConfigurationSource
impl Send for XmlConfigurationSource
impl Sync for XmlConfigurationSource
impl Unpin for XmlConfigurationSource
impl UnwindSafe for XmlConfigurationSource
Blanket Implementations§
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