pub struct ConfigurationProvider<Config, Marshal> { /* private fields */ }Implementations§
Source§impl<Config, Marshal> ConfigurationProvider<Config, Marshal>
impl<Config, Marshal> ConfigurationProvider<Config, Marshal>
pub fn new( marshal: Marshal, max_retries: usize, load_default_if_blank: bool, ) -> Result<Self, ConfigurationError>
pub fn new_or_default( marshal: Marshal, max_retries: usize, ) -> Result<Self, ConfigurationError>
pub fn set_retries(&mut self, retries: usize)
Trait Implementations§
Source§impl<Config, Marshal> GenericConfigurationProvider<Config> for ConfigurationProvider<Config, Marshal>
impl<Config, Marshal> GenericConfigurationProvider<Config> for ConfigurationProvider<Config, Marshal>
Auto Trait Implementations§
impl<Config, Marshal> Freeze for ConfigurationProvider<Config, Marshal>
impl<Config, Marshal> RefUnwindSafe for ConfigurationProvider<Config, Marshal>where
Config: RefUnwindSafe,
Marshal: RefUnwindSafe,
impl<Config, Marshal> Send for ConfigurationProvider<Config, Marshal>
impl<Config, Marshal> Sync for ConfigurationProvider<Config, Marshal>
impl<Config, Marshal> Unpin for ConfigurationProvider<Config, Marshal>
impl<Config, Marshal> UnsafeUnpin for ConfigurationProvider<Config, Marshal>where
Config: UnsafeUnpin,
Marshal: UnsafeUnpin,
impl<Config, Marshal> UnwindSafe for ConfigurationProvider<Config, Marshal>where
Config: UnwindSafe,
Marshal: UnwindSafe,
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