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,
}

All settings which are used by both, the client and the daemon

Fields

pueue_directory: PathBuf

The directory that is used for all runtime information.
I.e. task logs, sockets, state dumps, etc.

use_unix_socket: bool

If this is set to true, unix sockets will be used. Otherwise we default to TCP+TLS

unix_socket_path: PathBuf

The path to the unix socket.

host: String

The TCP hostname/ip address.

port: String

The TCP port.

daemon_cert: PathBuf

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: PathBuf

The path to the TLS key used by the daemon.

shared_secret_path: PathBuf

The path to the file containing the shared secret used to authenticate the client.

Trait Implementations

impl Clone for Shared[src]

impl Debug for Shared[src]

impl<'de> Deserialize<'de> for Shared[src]

impl Serialize for Shared[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,