Struct nanoservices_utils::config::EnvConfig
source · pub struct EnvConfig;
Expand description
Defines the struct for getting config variables from the environment
Trait Implementations§
source§impl GetConfigVariable for EnvConfig
impl GetConfigVariable for EnvConfig
source§fn get_config_variable(variable: String) -> Result<String, NanoServiceError>
fn get_config_variable(variable: String) -> Result<String, NanoServiceError>
Auto Trait Implementations§
impl Freeze for EnvConfig
impl RefUnwindSafe for EnvConfig
impl Send for EnvConfig
impl Sync for EnvConfig
impl Unpin for EnvConfig
impl UnwindSafe for EnvConfig
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