pub struct EnvInputs {
pub host: Option<String>,
pub port: Option<String>,
pub snapshot_path: Option<String>,
pub wal_dir: Option<String>,
pub wal_sync_mode: Option<String>,
}Expand description
Inputs to resolve. Wrapping the env values in a struct keeps the
caller-visible signature stable as new env-driven options are added.
Fields§
§host: Option<String>§port: Option<String>§snapshot_path: Option<String>§wal_dir: Option<String>§wal_sync_mode: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnvInputs
impl RefUnwindSafe for EnvInputs
impl Send for EnvInputs
impl Sync for EnvInputs
impl Unpin for EnvInputs
impl UnsafeUnpin for EnvInputs
impl UnwindSafe for EnvInputs
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