Struct nix_compat::nix_daemon::worker_protocol::ClientSettings
source · pub struct ClientSettings {Show 13 fields
pub keep_failed: bool,
pub keep_going: bool,
pub try_fallback: bool,
pub verbosity: Verbosity,
pub max_build_jobs: u64,
pub max_silent_time: u64,
pub use_build_hook: bool,
pub verbose_build: u64,
pub log_type: u64,
pub print_build_trace: u64,
pub build_cores: u64,
pub use_substitutes: bool,
pub overrides: BTreeMap<String, String>,
}
Expand description
Settings requested by the client. These settings are applied to a connection to between the daemon and a client.
Fields§
§keep_failed: bool
§keep_going: bool
§try_fallback: bool
§verbosity: Verbosity
§max_build_jobs: u64
§max_silent_time: u64
§use_build_hook: bool
§verbose_build: u64
§log_type: u64
§print_build_trace: u64
§build_cores: u64
§use_substitutes: bool
§overrides: BTreeMap<String, String>
Key/Value dictionary in charge of overriding the settings set by the Nix config file.
Some settings can be safely overidden, some other require the user running the Nix client to be part of the trusted users group.
Trait Implementations§
source§impl Debug for ClientSettings
impl Debug for ClientSettings
source§impl Default for ClientSettings
impl Default for ClientSettings
source§fn default() -> ClientSettings
fn default() -> ClientSettings
Returns the “default value” for a type. Read more
source§impl NixDeserialize for ClientSettings
impl NixDeserialize for ClientSettings
source§fn try_deserialize<R>(
reader: &mut R,
) -> impl Future<Output = Result<Option<Self>, R::Error>> + Send + '_
fn try_deserialize<R>( reader: &mut R, ) -> impl Future<Output = Result<Option<Self>, R::Error>> + Send + '_
Read a value from the reader.
This returns an Option to support gracefull shutdown.
fn deserialize<R>( reader: &mut R, ) -> impl Future<Output = Result<Self, R::Error>> + Send + '_
source§impl NixSerialize for ClientSettings
impl NixSerialize for ClientSettings
source§impl PartialEq for ClientSettings
impl PartialEq for ClientSettings
source§fn eq(&self, other: &ClientSettings) -> bool
fn eq(&self, other: &ClientSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClientSettings
Auto Trait Implementations§
impl Freeze for ClientSettings
impl RefUnwindSafe for ClientSettings
impl Send for ClientSettings
impl Sync for ClientSettings
impl Unpin for ClientSettings
impl UnwindSafe for ClientSettings
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