Struct smart_config::ConfigParser
source · pub struct ConfigParser<'a, C> { /* private fields */ }
Expand description
Parser of configuration input in a ConfigRepository
.
Implementations§
source§impl<'a, C> ConfigParser<'a, C>
impl<'a, C> ConfigParser<'a, C>
source§impl<C: DeserializeConfig> ConfigParser<'_, C>
impl<C: DeserializeConfig> ConfigParser<'_, C>
sourcepub fn parse(self) -> Result<C, ParseErrors>
pub fn parse(self) -> Result<C, ParseErrors>
Performs parsing.
§Errors
Returns errors encountered during parsing. This list of errors is as full as possible (i.e., there is no short-circuiting on encountering an error).
Trait Implementations§
Auto Trait Implementations§
impl<'a, C> Freeze for ConfigParser<'a, C>
impl<'a, C> !RefUnwindSafe for ConfigParser<'a, C>
impl<'a, C> Send for ConfigParser<'a, C>where
C: Send,
impl<'a, C> Sync for ConfigParser<'a, C>where
C: Sync,
impl<'a, C> Unpin for ConfigParser<'a, C>where
C: Unpin,
impl<'a, C> !UnwindSafe for ConfigParser<'a, C>
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