pub struct RuntimePaths { /* private fields */ }Implementations§
Source§impl RuntimePaths
impl RuntimePaths
pub fn new(workdir: PathBuf) -> Self
pub fn for_workdir(workdir: impl AsRef<Path>) -> Self
pub fn workdir(&self) -> &Path
pub fn system_root(&self) -> PathBuf
pub fn services_root(&self) -> PathBuf
pub fn packages_root(&self) -> PathBuf
pub fn service_packages_root(&self) -> PathBuf
pub fn service_package_dir(&self, service_id: &str) -> PathBuf
pub fn config_root(&self) -> PathBuf
pub fn run_root(&self) -> PathBuf
pub fn log_root(&self) -> PathBuf
pub fn data_root(&self) -> PathBuf
pub fn state_root(&self) -> PathBuf
pub fn downloads_root(&self) -> PathBuf
pub fn tools_root(&self) -> PathBuf
pub fn downloads_tools_root(&self) -> PathBuf
pub fn artifacts_root(&self) -> PathBuf
pub fn component_config_path(&self, component_name: &str) -> PathBuf
pub fn component_run_dir(&self, component_name: &str) -> PathBuf
pub fn component_data_dir(&self, component_name: &str) -> PathBuf
pub fn component_state_dir(&self, component_name: &str) -> PathBuf
pub fn component_system_dir(&self, component_name: &str) -> PathBuf
pub fn component_log_path(&self, component_name: &str) -> PathBuf
pub fn service_data_dir(&self, service_id: &str) -> PathBuf
pub fn service_run_dir(&self, service_id: &str) -> PathBuf
pub fn service_log_path(&self, service_id: &str) -> PathBuf
pub fn identity_file_path(&self) -> PathBuf
pub fn meowclient_socket_path(&self) -> PathBuf
pub fn meowclient_pid_file(&self) -> PathBuf
pub fn meowclient_ipc_token_file(&self) -> PathBuf
pub fn meowclient_named_pipe_name(&self) -> String
pub fn meowclient_endpoint_label(&self) -> String
Trait Implementations§
Source§impl Clone for RuntimePaths
impl Clone for RuntimePaths
Auto 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