Struct plugx_config::parser::env::ConfigurationParserEnv
source · pub struct ConfigurationParserEnv { /* private fields */ }Implementations§
source§impl ConfigurationParserEnv
impl ConfigurationParserEnv
pub fn new() -> Self
pub fn set_prefix<P: AsRef<str>>(&mut self, prefix: P)
pub fn with_prefix<P: AsRef<str>>(self, prefix: P) -> Self
pub fn set_key_separator<K: AsRef<str>>(&mut self, key_separator: K)
pub fn with_key_separator<K: AsRef<str>>(self, key_separator: K) -> Self
Trait Implementations§
source§impl Clone for ConfigurationParserEnv
impl Clone for ConfigurationParserEnv
source§fn clone(&self) -> ConfigurationParserEnv
fn clone(&self) -> ConfigurationParserEnv
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 ConfigurationParserEnv
impl ConfigurationParser for ConfigurationParserEnv
fn supported_format_list(&self) -> Vec<String>
fn parse(&self, bytes: &[u8]) -> Result<Input>
fn is_format_supported(&self, bytes: &[u8]) -> Option<bool>
fn maybe_get_modifier(&self) -> Option<&BoxedModifierFn>
fn parse_and_modify_with_logging( &self, bytes: &[u8] ) -> Result<Input, ConfigurationParserError>
fn parse_with_logging( &self, bytes: &[u8] ) -> Result<Input, ConfigurationParserError>
fn parse_and_modify(&self, bytes: &[u8]) -> Result<Input>
source§impl Debug for ConfigurationParserEnv
impl Debug for ConfigurationParserEnv
source§impl Default for ConfigurationParserEnv
impl Default for ConfigurationParserEnv
source§impl Display for ConfigurationParserEnv
impl Display for ConfigurationParserEnv
source§impl Hash for ConfigurationParserEnv
impl Hash for ConfigurationParserEnv
source§impl PartialEq for ConfigurationParserEnv
impl PartialEq for ConfigurationParserEnv
source§fn eq(&self, other: &ConfigurationParserEnv) -> bool
fn eq(&self, other: &ConfigurationParserEnv) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ConfigurationParserEnv
impl PartialOrd for ConfigurationParserEnv
source§fn partial_cmp(&self, other: &ConfigurationParserEnv) -> Option<Ordering>
fn partial_cmp(&self, other: &ConfigurationParserEnv) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl StructuralPartialEq for ConfigurationParserEnv
Auto Trait Implementations§
impl RefUnwindSafe for ConfigurationParserEnv
impl Send for ConfigurationParserEnv
impl Sync for ConfigurationParserEnv
impl Unpin for ConfigurationParserEnv
impl UnwindSafe for ConfigurationParserEnv
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