pub struct Json5Provider(/* private fields */);
Implementations§
Source§impl Json5Provider
impl Json5Provider
pub fn from_path( file_path: impl AsRef<Path>, ) -> Result<Json5Provider, CreateJson5ProviderFromFileError>
Trait Implementations§
Source§impl Debug for Json5Provider
impl Debug for Json5Provider
Source§impl FromStr for Json5Provider
impl FromStr for Json5Provider
Source§type Err = DeserializeJson5Error
type Err = DeserializeJson5Error
The associated error which can be returned from parsing.
Source§fn from_str(
config: &str,
) -> Result<Json5Provider, <Json5Provider as FromStr>::Err>
fn from_str( config: &str, ) -> Result<Json5Provider, <Json5Provider as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreAuto Trait Implementations§
impl Freeze for Json5Provider
impl RefUnwindSafe for Json5Provider
impl Send for Json5Provider
impl Sync for Json5Provider
impl Unpin for Json5Provider
impl UnwindSafe for Json5Provider
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