Struct pueue_lib::settings::Shared [−][src]
pub struct Shared {
pub pueue_directory: PathBuf,
pub use_unix_socket: bool,
pub unix_socket_path: PathBuf,
pub host: String,
pub port: String,
pub daemon_cert: PathBuf,
pub daemon_key: PathBuf,
pub shared_secret_path: PathBuf,
}Expand description
All settings which are used by both, the client and the daemon
Fields
pueue_directory: PathBufDon’t access this property directly, but rather use the getter with the same name. It’s only public to allow proper integration testing.
The directory that is used for all runtime information.
I.e. task logs, sockets, state dumps, etc.
use_unix_socket: boolIf this is set to true, unix sockets will be used. Otherwise we default to TCP+TLS
unix_socket_path: PathBufDon’t access this property directly, but rather use the getter with the same name. It’s only public to allow proper integration testing.
The path to the unix socket.
host: StringThe TCP hostname/ip address.
port: StringThe TCP port.
daemon_cert: PathBufDon’t access this property directly, but rather use the getter with the same name. It’s only public to allow proper integration testing.
The path to the TLS certificate used by the daemon.
This is also used by the client to verify the daemon’s identity.
daemon_key: PathBufDon’t access this property directly, but rather use the getter with the same name. It’s only public to allow proper integration testing.
The path to the TLS key used by the daemon.
Don’t access this property directly, but rather use the getter with the same name. It’s only public to allow proper integration testing.
The path to the file containing the shared secret used to authenticate the client.
Implementations
Trait Implementations
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 RefUnwindSafe for Sharedimpl UnwindSafe for SharedBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V