pub struct Config {
pub machines: MachinesConfig,
pub monitord: MonitordConfig,
pub networkd: NetworkdConfig,
pub pid1: Pid1Config,
pub services: HashSet<String>,
pub system_state: SystemStateConfig,
pub timers: TimersConfig,
pub units: UnitsConfig,
pub dbus_stats: DBusStatsConfig,
pub boot_blame: BootBlameConfig,
pub verify: VerifyConfig,
pub varlink: VarlinkConfig,
}Expand description
Config struct Each section represents an ini file section
Fields§
§machines: MachinesConfig§monitord: MonitordConfig§networkd: NetworkdConfig§pid1: Pid1Config§services: HashSet<String>§system_state: SystemStateConfig§timers: TimersConfig§units: UnitsConfig§dbus_stats: DBusStatsConfig§boot_blame: BootBlameConfig§verify: VerifyConfig§varlink: VarlinkConfigImplementations§
Source§impl Config
impl Config
Sourcepub fn use_varlink(&self, sections: &[bool]) -> bool
pub fn use_varlink(&self, sections: &[bool]) -> bool
Whether collectors gated on the given section toggles may use varlink.
The global [varlink] master switch ANDed with every section toggle
passed. Container paths additionally pass machines.varlink, since a
container may run older systemd without the varlink APIs.
Trait Implementations§
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.