pub struct EnvTable(/* private fields */);Expand description
A compiled-in environment’s raw configuration, expressed as a TOML table so
it can merge with the environments.toml file layer on equal footing.
Values accepted by EnvTable::with cover the common Rust literal types
(&str/String/bool/integers/floats and Vec<T> of those) via
Into<toml::Value>, so a compiled-in environment reads like ordinary
Rust, not embedded TOML text.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnvTable
impl RefUnwindSafe for EnvTable
impl Send for EnvTable
impl Sync for EnvTable
impl Unpin for EnvTable
impl UnsafeUnpin for EnvTable
impl UnwindSafe for EnvTable
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