Struct plugx_config::parser::toml::ConfigurationParserToml
source · pub struct ConfigurationParserToml;Implementations§
Trait Implementations§
source§impl Clone for ConfigurationParserToml
impl Clone for ConfigurationParserToml
source§fn clone(&self) -> ConfigurationParserToml
fn clone(&self) -> ConfigurationParserToml
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl ConfigurationParser for ConfigurationParserToml
impl ConfigurationParser for ConfigurationParserToml
source§fn supported_format_list(&self) -> Vec<String>
fn supported_format_list(&self) -> Vec<String>
Supported format list (e.g. “yml”)
source§fn is_format_supported(&self, bytes: &[u8]) -> Option<bool>
fn is_format_supported(&self, bytes: &[u8]) -> Option<bool>
Checks if provided byte slice is ok for future parsing. (e.g. is it YAML at all or not)
fn parse(&self, bytes: &[u8]) -> Result<Input, ConfigurationParserError>
source§impl Debug for ConfigurationParserToml
impl Debug for ConfigurationParserToml
source§impl Default for ConfigurationParserToml
impl Default for ConfigurationParserToml
source§fn default() -> ConfigurationParserToml
fn default() -> ConfigurationParserToml
Returns the “default value” for a type. Read more
impl Copy for ConfigurationParserToml
Auto Trait Implementations§
impl RefUnwindSafe for ConfigurationParserToml
impl Send for ConfigurationParserToml
impl Sync for ConfigurationParserToml
impl Unpin for ConfigurationParserToml
impl UnwindSafe for ConfigurationParserToml
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