Struct brane_cfg::node::WorkerPaths
source · pub struct WorkerPaths {
pub certs: PathBuf,
pub packages: PathBuf,
pub backend: PathBuf,
pub policy_database: PathBuf,
pub policy_deliberation_secret: PathBuf,
pub policy_expert_secret: PathBuf,
pub policy_audit_log: Option<PathBuf>,
pub proxy: Option<PathBuf>,
pub data: PathBuf,
pub results: PathBuf,
pub temp_data: PathBuf,
pub temp_results: PathBuf,
}
Expand description
Defines the paths for the worker node.
Fields§
§certs: PathBuf
The path to the certificate directory.
packages: PathBuf
The path to the package directory.
backend: PathBuf
The path of the backend file (backend.yml
).
policy_database: PathBuf
The path to the policy SQLite database file (policy.db
)
policy_deliberation_secret: PathBuf
The path to the secret used for the deliberation endpoint in the checker.
policy_expert_secret: PathBuf
The path to the secret used for the policy expert endpoint in the checker.
policy_audit_log: Option<PathBuf>
The path the (persistent) audit log. Can be omitted to not have a persistent log.
proxy: Option<PathBuf>
The path to the proxy file, if applicable. Ignored if no service is present.
data: PathBuf
The path of the dataset directory.
results: PathBuf
The path of the results directory.
temp_data: PathBuf
The path to the temporary dataset directory.
temp_results: PathBuf
The path of the temporary results directory.
Trait Implementations§
source§impl Clone for WorkerPaths
impl Clone for WorkerPaths
source§fn clone(&self) -> WorkerPaths
fn clone(&self) -> WorkerPaths
Returns a copy 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 moresource§impl Debug for WorkerPaths
impl Debug for WorkerPaths
source§impl<'de> Deserialize<'de> for WorkerPaths
impl<'de> Deserialize<'de> for WorkerPaths
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
Auto Trait Implementations§
impl Freeze for WorkerPaths
impl RefUnwindSafe for WorkerPaths
impl Send for WorkerPaths
impl Sync for WorkerPaths
impl Unpin for WorkerPaths
impl UnwindSafe for WorkerPaths
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request