pub struct ConfigParser;Implementations§
Source§impl ConfigParser
impl ConfigParser
pub fn new() -> Self
pub fn parse(&self, source: &str) -> Result<LithConfig, ConfigError>
pub fn parse_json(&self, json: &str) -> Result<LithConfig, ConfigError>
Trait Implementations§
Source§impl Debug for ConfigParser
impl Debug for ConfigParser
Auto Trait Implementations§
impl Freeze for ConfigParser
impl RefUnwindSafe for ConfigParser
impl Send for ConfigParser
impl Sync for ConfigParser
impl Unpin for ConfigParser
impl UnsafeUnpin for ConfigParser
impl UnwindSafe for ConfigParser
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