pub struct RestartForConfigChangeOpts {
pub restart_on_config_change: bool,
pub no_restart_on_config_change: bool,
}Fields§
§restart_on_config_change: bool§no_restart_on_config_change: boolWhether to restart the daemon when its configuration is changed. Restarts only happen at safe checkpoints. The options cancel each other out; the default is determined by the application (see help text higher up).
Trait Implementations§
Source§impl Args for RestartForConfigChangeOpts
impl Args for RestartForConfigChangeOpts
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§impl Clone for RestartForConfigChangeOpts
impl Clone for RestartForConfigChangeOpts
Source§fn clone(&self) -> RestartForConfigChangeOpts
fn clone(&self) -> RestartForConfigChangeOpts
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 RestartForConfigChangeOpts
impl Debug for RestartForConfigChangeOpts
Source§impl Default for RestartForConfigChangeOpts
impl Default for RestartForConfigChangeOpts
Source§fn default() -> RestartForConfigChangeOpts
fn default() -> RestartForConfigChangeOpts
Returns the “default value” for a type. Read more
Source§impl EvalWithDefault for RestartForConfigChangeOpts
impl EvalWithDefault for RestartForConfigChangeOpts
fn explicit_yes_and_no(&self) -> (bool, bool)
fn eval_with_default(&self, default: bool) -> bool
Source§impl FromArgMatches for RestartForConfigChangeOpts
impl FromArgMatches for RestartForConfigChangeOpts
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.impl Copy for RestartForConfigChangeOpts
Auto Trait Implementations§
impl Freeze for RestartForConfigChangeOpts
impl RefUnwindSafe for RestartForConfigChangeOpts
impl Send for RestartForConfigChangeOpts
impl Sync for RestartForConfigChangeOpts
impl Unpin for RestartForConfigChangeOpts
impl UnwindSafe for RestartForConfigChangeOpts
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