pub struct RuntimePaths {
pub home_dir: PathBuf,
pub config_file: PathBuf,
pub env_file: PathBuf,
pub runtime_dir: PathBuf,
pub log_dir: PathBuf,
}Expand description
All resolved paths for a bitrouter instance.
The canonical derivation is from a home directory:
<home>/bitrouter.yaml, <home>/.env, <home>/run/, <home>/logs/
Individual paths can be overridden via CLI flags.
Fields§
§home_dir: PathBuf§config_file: PathBuf§env_file: PathBuf§runtime_dir: PathBuf§log_dir: PathBufImplementations§
Trait Implementations§
Source§impl Clone for RuntimePaths
impl Clone for RuntimePaths
Source§fn clone(&self) -> RuntimePaths
fn clone(&self) -> RuntimePaths
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for RuntimePaths
impl RefUnwindSafe for RuntimePaths
impl Send for RuntimePaths
impl Sync for RuntimePaths
impl Unpin for RuntimePaths
impl UnsafeUnpin for RuntimePaths
impl UnwindSafe for RuntimePaths
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