pub struct ServiceDirectories {
pub config: PathBuf,
pub state: PathBuf,
pub runtime: PathBuf,
pub logs: PathBuf,
}Expand description
The four directories the registration was installed against.
Recorded rather than re-derived, because 05-infrastructure.md item 2 speaks
of the configured cache and runtime directories: the account the service
runs under and the account that ran service install do not always resolve
the same platform-standard locations, and a claim about what the service can
write is only checkable against a specific set of paths.
Fields§
§config: PathBufNon-secret TOML and the SQLite database.
state: PathBufThe agent lock, the attempt journal, and the runner package cache.
runtime: PathBufPer-attempt disposable runner workspaces.
logs: PathBufRotating redacted diagnostics.
Implementations§
Trait Implementations§
Source§impl Clone for ServiceDirectories
impl Clone for ServiceDirectories
Source§fn clone(&self) -> ServiceDirectories
fn clone(&self) -> ServiceDirectories
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServiceDirectories
impl Debug for ServiceDirectories
Source§impl<'de> Deserialize<'de> for ServiceDirectories
impl<'de> Deserialize<'de> for ServiceDirectories
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ServiceDirectories
Source§impl PartialEq for ServiceDirectories
impl PartialEq for ServiceDirectories
Source§impl Serialize for ServiceDirectories
impl Serialize for ServiceDirectories
impl StructuralPartialEq for ServiceDirectories
Auto Trait Implementations§
impl Freeze for ServiceDirectories
impl RefUnwindSafe for ServiceDirectories
impl Send for ServiceDirectories
impl Sync for ServiceDirectories
impl Unpin for ServiceDirectories
impl UnsafeUnpin for ServiceDirectories
impl UnwindSafe for ServiceDirectories
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