pub struct ConfigLoadOptions { /* private fields */ }Expand description
Startup config loading policy for a daemon.
Implementations§
Source§impl ConfigLoadOptions
impl ConfigLoadOptions
Sourcepub const fn disabled() -> Self
pub const fn disabled() -> Self
Builds a config policy that performs no startup config loading.
Sourcepub const fn selection(&self) -> &ConfigFileSelection
pub const fn selection(&self) -> &ConfigFileSelection
Returns the selected config files mode.
Trait Implementations§
Source§impl Clone for ConfigLoadOptions
impl Clone for ConfigLoadOptions
Source§fn clone(&self) -> ConfigLoadOptions
fn clone(&self) -> ConfigLoadOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConfigLoadOptions
impl Debug for ConfigLoadOptions
Source§impl PartialEq for ConfigLoadOptions
impl PartialEq for ConfigLoadOptions
Source§fn eq(&self, other: &ConfigLoadOptions) -> bool
fn eq(&self, other: &ConfigLoadOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ConfigLoadOptions
impl StructuralPartialEq for ConfigLoadOptions
Auto Trait Implementations§
impl Freeze for ConfigLoadOptions
impl RefUnwindSafe for ConfigLoadOptions
impl Send for ConfigLoadOptions
impl Sync for ConfigLoadOptions
impl Unpin for ConfigLoadOptions
impl UnsafeUnpin for ConfigLoadOptions
impl UnwindSafe for ConfigLoadOptions
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