pub struct ServicePaths { /* private fields */ }Expand description
Conventional resource paths for one service identity under a per-user root.
This is a naming helper, not peer authentication or a directory-security API. Windows named-pipe users must scope their pipe name by both this identity and the user’s SID, and enforce a same-user ACL; filesystem paths do not do that.
Implementations§
Source§impl ServicePaths
impl ServicePaths
Sourcepub fn ownership_lock(&self) -> PathBuf
pub fn ownership_lock(&self) -> PathBuf
Persistent daemon ownership lock; never unlink it during replacement.
Sourcepub fn upgrade_lock(&self) -> PathBuf
pub fn upgrade_lock(&self) -> PathBuf
Persistent upgrade lock, distinct from daemon ownership.
Sourcepub fn control_socket(&self) -> PathBuf
pub fn control_socket(&self) -> PathBuf
Protobuf control endpoint for Unix-domain socket consumers.
Trait Implementations§
Source§impl Clone for ServicePaths
impl Clone for ServicePaths
Source§impl Debug for ServicePaths
impl Debug for ServicePaths
impl Eq for ServicePaths
Source§impl PartialEq for ServicePaths
impl PartialEq for ServicePaths
impl StructuralPartialEq for ServicePaths
Auto Trait Implementations§
impl Freeze for ServicePaths
impl RefUnwindSafe for ServicePaths
impl Send for ServicePaths
impl Sync for ServicePaths
impl Unpin for ServicePaths
impl UnsafeUnpin for ServicePaths
impl UnwindSafe for ServicePaths
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