monitord/dbus/
zbus_systemd.rs

1//! # D-Bus interface proxy for: `org.freedesktop.systemd1.Manager`
2//!
3//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
4//! Source: `Interface '/org/freedesktop/systemd1' from service 'org.freedesktop.systemd1' on system bus`.
5//!
6//! You may prefer to adapt it, instead of using it verbatim.
7//!
8//! More information can be found in the [Writing a client proxy] section of the zbus
9//! documentation.
10//!
11//! This type implements the [D-Bus standard interfaces], (`org.freedesktop.DBus.*`) for which the
12//! following zbus API can be used:
13//!
14//! * [`zbus::fdo::PeerProxy`]
15//! * [`zbus::fdo::IntrospectableProxy`]
16//! * [`zbus::fdo::PropertiesProxy`]
17//!
18//! Consequently `zbus-xmlgen` did not generate code for the above interfaces.
19//!
20//! [Writing a client proxy]: https://dbus2.github.io/zbus/client.html
21//! [D-Bus standard interfaces]: https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces,
22#![allow(warnings)]
23#![allow(clippy)]
24use zbus::proxy;
25#[proxy(
26    interface = "org.freedesktop.systemd1.Manager",
27    default_service = "org.freedesktop.systemd1",
28    default_path = "/org/freedesktop/systemd1"
29)]
30pub trait Manager {
31    /// AbandonScope method
32    fn abandon_scope(&self, name: &str) -> zbus::Result<()>;
33
34    /// AddDependencyUnitFiles method
35    fn add_dependency_unit_files(
36        &self,
37        files: &[&str],
38        target: &str,
39        type_: &str,
40        runtime: bool,
41        force: bool,
42    ) -> zbus::Result<Vec<(String, String, String)>>;
43
44    /// AttachProcessesToUnit method
45    fn attach_processes_to_unit(
46        &self,
47        unit_name: &str,
48        subcgroup: &str,
49        pids: &[u32],
50    ) -> zbus::Result<()>;
51
52    /// BindMountUnit method
53    fn bind_mount_unit(
54        &self,
55        name: &str,
56        source: &str,
57        destination: &str,
58        read_only: bool,
59        mkdir: bool,
60    ) -> zbus::Result<()>;
61
62    /// CancelJob method
63    fn cancel_job(&self, id: u32) -> zbus::Result<()>;
64
65    /// CleanUnit method
66    fn clean_unit(&self, name: &str, mask: &[&str]) -> zbus::Result<()>;
67
68    /// ClearJobs method
69    fn clear_jobs(&self) -> zbus::Result<()>;
70
71    /// DisableUnitFiles method
72    fn disable_unit_files(
73        &self,
74        files: &[&str],
75        runtime: bool,
76    ) -> zbus::Result<Vec<(String, String, String)>>;
77
78    /// DisableUnitFilesWithFlags method
79    fn disable_unit_files_with_flags(
80        &self,
81        files: &[&str],
82        flags: u64,
83    ) -> zbus::Result<Vec<(String, String, String)>>;
84
85    /// DisableUnitFilesWithFlagsAndInstallInfo method
86    fn disable_unit_files_with_flags_and_install_info(
87        &self,
88        files: &[&str],
89        flags: u64,
90    ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;
91
92    /// Dump method
93    fn dump(&self) -> zbus::Result<String>;
94
95    /// DumpByFileDescriptor method
96    fn dump_by_file_descriptor(&self) -> zbus::Result<zbus::zvariant::OwnedFd>;
97
98    /// DumpUnitFileDescriptorStore method
99    fn dump_unit_file_descriptor_store(
100        &self,
101        name: &str,
102    ) -> zbus::Result<Vec<(String, u32, u32, u32, u64, u32, u32, String, u32)>>;
103
104    /// DumpUnitsMatchingPatterns method
105    fn dump_units_matching_patterns(&self, patterns: &[&str]) -> zbus::Result<String>;
106
107    /// DumpUnitsMatchingPatternsByFileDescriptor method
108    fn dump_units_matching_patterns_by_file_descriptor(
109        &self,
110        patterns: &[&str],
111    ) -> zbus::Result<zbus::zvariant::OwnedFd>;
112
113    /// EnableUnitFiles method
114    fn enable_unit_files(
115        &self,
116        files: &[&str],
117        runtime: bool,
118        force: bool,
119    ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;
120
121    /// EnableUnitFilesWithFlags method
122    fn enable_unit_files_with_flags(
123        &self,
124        files: &[&str],
125        flags: u64,
126    ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;
127
128    /// EnqueueMarkedJobs method
129    fn enqueue_marked_jobs(&self) -> zbus::Result<Vec<zbus::zvariant::OwnedObjectPath>>;
130
131    /// EnqueueUnitJob method
132    #[allow(clippy::too_many_arguments)]
133    fn enqueue_unit_job(
134        &self,
135        name: &str,
136        job_type: &str,
137        job_mode: &str,
138    ) -> zbus::Result<(
139        u32,
140        zbus::zvariant::OwnedObjectPath,
141        String,
142        zbus::zvariant::OwnedObjectPath,
143        String,
144        Vec<(
145            u32,
146            zbus::zvariant::OwnedObjectPath,
147            String,
148            zbus::zvariant::OwnedObjectPath,
149            String,
150        )>,
151    )>;
152
153    /// Exit method
154    fn exit(&self) -> zbus::Result<()>;
155
156    /// FreezeUnit method
157    fn freeze_unit(&self, name: &str) -> zbus::Result<()>;
158
159    /// GetDefaultTarget method
160    fn get_default_target(&self) -> zbus::Result<String>;
161
162    /// GetDynamicUsers method
163    fn get_dynamic_users(&self) -> zbus::Result<Vec<(u32, String)>>;
164
165    /// GetJob method
166    fn get_job(&self, id: u32) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
167
168    /// GetJobAfter method
169    fn get_job_after(
170        &self,
171        id: u32,
172    ) -> zbus::Result<
173        Vec<(
174            u32,
175            String,
176            String,
177            String,
178            zbus::zvariant::OwnedObjectPath,
179            zbus::zvariant::OwnedObjectPath,
180        )>,
181    >;
182
183    /// GetJobBefore method
184    fn get_job_before(
185        &self,
186        id: u32,
187    ) -> zbus::Result<
188        Vec<(
189            u32,
190            String,
191            String,
192            String,
193            zbus::zvariant::OwnedObjectPath,
194            zbus::zvariant::OwnedObjectPath,
195        )>,
196    >;
197
198    /// GetUnit method
199    fn get_unit(&self, name: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
200
201    /// GetUnitByControlGroup method
202    fn get_unit_by_control_group(
203        &self,
204        cgroup: &str,
205    ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
206
207    /// GetUnitByInvocationID method
208    #[zbus(name = "GetUnitByInvocationID")]
209    fn get_unit_by_invocation_id(
210        &self,
211        invocation_id: &[u8],
212    ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
213
214    /// GetUnitByPID method
215    #[zbus(name = "GetUnitByPID")]
216    fn get_unit_by_pid(&self, pid: u32) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
217
218    /// GetUnitByPIDFD method
219    #[zbus(name = "GetUnitByPIDFD")]
220    fn get_unit_by_pidfd(
221        &self,
222        pidfd: zbus::zvariant::Fd<'_>,
223    ) -> zbus::Result<(zbus::zvariant::OwnedObjectPath, String, Vec<u8>)>;
224
225    /// GetUnitFileLinks method
226    fn get_unit_file_links(&self, name: &str, runtime: bool) -> zbus::Result<Vec<String>>;
227
228    /// GetUnitFileState method
229    fn get_unit_file_state(&self, file: &str) -> zbus::Result<String>;
230
231    /// GetUnitProcesses method
232    fn get_unit_processes(&self, name: &str) -> zbus::Result<Vec<(String, u32, String)>>;
233
234    /// Halt method
235    fn halt(&self) -> zbus::Result<()>;
236
237    /// KExec method
238    #[zbus(name = "KExec")]
239    fn kexec(&self) -> zbus::Result<()>;
240
241    /// KillUnit method
242    fn kill_unit(&self, name: &str, whom: &str, signal: i32) -> zbus::Result<()>;
243
244    /// LinkUnitFiles method
245    fn link_unit_files(
246        &self,
247        files: &[&str],
248        runtime: bool,
249        force: bool,
250    ) -> zbus::Result<Vec<(String, String, String)>>;
251
252    /// ListJobs method
253    fn list_jobs(
254        &self,
255    ) -> zbus::Result<
256        Vec<(
257            u32,
258            String,
259            String,
260            String,
261            zbus::zvariant::OwnedObjectPath,
262            zbus::zvariant::OwnedObjectPath,
263        )>,
264    >;
265
266    /// ListUnitFiles method
267    fn list_unit_files(&self) -> zbus::Result<Vec<(String, String)>>;
268
269    /// ListUnitFilesByPatterns method
270    fn list_unit_files_by_patterns(
271        &self,
272        states: &[&str],
273        patterns: &[&str],
274    ) -> zbus::Result<Vec<(String, String)>>;
275
276    /// ListUnits method
277    fn list_units(
278        &self,
279    ) -> zbus::Result<
280        Vec<(
281            String,
282            String,
283            String,
284            String,
285            String,
286            String,
287            zbus::zvariant::OwnedObjectPath,
288            u32,
289            String,
290            zbus::zvariant::OwnedObjectPath,
291        )>,
292    >;
293
294    /// ListUnitsByNames method
295    fn list_units_by_names(
296        &self,
297        names: &[&str],
298    ) -> zbus::Result<
299        Vec<(
300            String,
301            String,
302            String,
303            String,
304            String,
305            String,
306            zbus::zvariant::OwnedObjectPath,
307            u32,
308            String,
309            zbus::zvariant::OwnedObjectPath,
310        )>,
311    >;
312
313    /// ListUnitsByPatterns method
314    fn list_units_by_patterns(
315        &self,
316        states: &[&str],
317        patterns: &[&str],
318    ) -> zbus::Result<
319        Vec<(
320            String,
321            String,
322            String,
323            String,
324            String,
325            String,
326            zbus::zvariant::OwnedObjectPath,
327            u32,
328            String,
329            zbus::zvariant::OwnedObjectPath,
330        )>,
331    >;
332
333    /// ListUnitsFiltered method
334    fn list_units_filtered(
335        &self,
336        states: &[&str],
337    ) -> zbus::Result<
338        Vec<(
339            String,
340            String,
341            String,
342            String,
343            String,
344            String,
345            zbus::zvariant::OwnedObjectPath,
346            u32,
347            String,
348            zbus::zvariant::OwnedObjectPath,
349        )>,
350    >;
351
352    /// LoadUnit method
353    fn load_unit(&self, name: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
354
355    /// LookupDynamicUserByName method
356    fn lookup_dynamic_user_by_name(&self, name: &str) -> zbus::Result<u32>;
357
358    /// LookupDynamicUserByUID method
359    #[zbus(name = "LookupDynamicUserByUID")]
360    fn lookup_dynamic_user_by_uid(&self, uid: u32) -> zbus::Result<String>;
361
362    /// MaskUnitFiles method
363    fn mask_unit_files(
364        &self,
365        files: &[&str],
366        runtime: bool,
367        force: bool,
368    ) -> zbus::Result<Vec<(String, String, String)>>;
369
370    /// MountImageUnit method
371    fn mount_image_unit(
372        &self,
373        name: &str,
374        source: &str,
375        destination: &str,
376        read_only: bool,
377        mkdir: bool,
378        options: &[&(&str, &str)],
379    ) -> zbus::Result<()>;
380
381    /// PowerOff method
382    fn power_off(&self) -> zbus::Result<()>;
383
384    /// PresetAllUnitFiles method
385    fn preset_all_unit_files(
386        &self,
387        mode: &str,
388        runtime: bool,
389        force: bool,
390    ) -> zbus::Result<Vec<(String, String, String)>>;
391
392    /// PresetUnitFiles method
393    fn preset_unit_files(
394        &self,
395        files: &[&str],
396        runtime: bool,
397        force: bool,
398    ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;
399
400    /// PresetUnitFilesWithMode method
401    fn preset_unit_files_with_mode(
402        &self,
403        files: &[&str],
404        mode: &str,
405        runtime: bool,
406        force: bool,
407    ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;
408
409    /// QueueSignalUnit method
410    fn queue_signal_unit(
411        &self,
412        name: &str,
413        whom: &str,
414        signal: i32,
415        value: i32,
416    ) -> zbus::Result<()>;
417
418    /// Reboot method
419    fn reboot(&self) -> zbus::Result<()>;
420
421    /// ReenableUnitFiles method
422    fn reenable_unit_files(
423        &self,
424        files: &[&str],
425        runtime: bool,
426        force: bool,
427    ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;
428
429    /// Reexecute method
430    fn reexecute(&self) -> zbus::Result<()>;
431
432    /// RefUnit method
433    fn ref_unit(&self, name: &str) -> zbus::Result<()>;
434
435    /// Reload method
436    fn reload(&self) -> zbus::Result<()>;
437
438    /// ReloadOrRestartUnit method
439    fn reload_or_restart_unit(
440        &self,
441        name: &str,
442        mode: &str,
443    ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
444
445    /// ReloadOrTryRestartUnit method
446    fn reload_or_try_restart_unit(
447        &self,
448        name: &str,
449        mode: &str,
450    ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
451
452    /// ReloadUnit method
453    fn reload_unit(&self, name: &str, mode: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
454
455    /// ResetFailed method
456    fn reset_failed(&self) -> zbus::Result<()>;
457
458    /// ResetFailedUnit method
459    fn reset_failed_unit(&self, name: &str) -> zbus::Result<()>;
460
461    /// RestartUnit method
462    fn restart_unit(&self, name: &str, mode: &str)
463        -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
464
465    /// RevertUnitFiles method
466    fn revert_unit_files(&self, files: &[&str]) -> zbus::Result<Vec<(String, String, String)>>;
467
468    /// SetDefaultTarget method
469    fn set_default_target(
470        &self,
471        name: &str,
472        force: bool,
473    ) -> zbus::Result<Vec<(String, String, String)>>;
474
475    /// SetEnvironment method
476    fn set_environment(&self, assignments: &[&str]) -> zbus::Result<()>;
477
478    /// SetExitCode method
479    fn set_exit_code(&self, number: u8) -> zbus::Result<()>;
480
481    /// SetShowStatus method
482    fn set_show_status(&self, mode: &str) -> zbus::Result<()>;
483
484    /// SetUnitProperties method
485    fn set_unit_properties(
486        &self,
487        name: &str,
488        runtime: bool,
489        properties: &[&(&str, &zbus::zvariant::Value<'_>)],
490    ) -> zbus::Result<()>;
491
492    /// SoftReboot method
493    fn soft_reboot(&self, new_root: &str) -> zbus::Result<()>;
494
495    /// StartTransientUnit method
496    #[allow(clippy::type_complexity)]
497    fn start_transient_unit(
498        &self,
499        name: &str,
500        mode: &str,
501        properties: &[&(&str, &zbus::zvariant::Value<'_>)],
502        aux: &[&(&str, &[&(&str, &zbus::zvariant::Value<'_>)])],
503    ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
504
505    /// StartUnit method
506    fn start_unit(&self, name: &str, mode: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
507
508    /// StartUnitReplace method
509    fn start_unit_replace(
510        &self,
511        old_unit: &str,
512        new_unit: &str,
513        mode: &str,
514    ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
515
516    /// StartUnitWithFlags method
517    fn start_unit_with_flags(
518        &self,
519        name: &str,
520        mode: &str,
521        flags: u64,
522    ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
523
524    /// StopUnit method
525    fn stop_unit(&self, name: &str, mode: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
526
527    /// Subscribe method
528    fn subscribe(&self) -> zbus::Result<()>;
529
530    /// SwitchRoot method
531    fn switch_root(&self, new_root: &str, init: &str) -> zbus::Result<()>;
532
533    /// ThawUnit method
534    fn thaw_unit(&self, name: &str) -> zbus::Result<()>;
535
536    /// TryRestartUnit method
537    fn try_restart_unit(
538        &self,
539        name: &str,
540        mode: &str,
541    ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
542
543    /// UnmaskUnitFiles method
544    fn unmask_unit_files(
545        &self,
546        files: &[&str],
547        runtime: bool,
548    ) -> zbus::Result<Vec<(String, String, String)>>;
549
550    /// UnrefUnit method
551    fn unref_unit(&self, name: &str) -> zbus::Result<()>;
552
553    /// UnsetAndSetEnvironment method
554    fn unset_and_set_environment(&self, names: &[&str], assignments: &[&str]) -> zbus::Result<()>;
555
556    /// UnsetEnvironment method
557    fn unset_environment(&self, names: &[&str]) -> zbus::Result<()>;
558
559    /// Unsubscribe method
560    fn unsubscribe(&self) -> zbus::Result<()>;
561
562    /// JobNew signal
563    #[zbus(signal)]
564    fn job_new(&self, id: u32, job: zbus::zvariant::ObjectPath<'_>, unit: &str)
565        -> zbus::Result<()>;
566
567    /// JobRemoved signal
568    #[zbus(signal)]
569    fn job_removed(
570        &self,
571        id: u32,
572        job: zbus::zvariant::ObjectPath<'_>,
573        unit: &str,
574        result: &str,
575    ) -> zbus::Result<()>;
576
577    /// Reloading signal
578    #[zbus(signal)]
579    fn reloading(&self, active: bool) -> zbus::Result<()>;
580
581    /// StartupFinished signal
582    #[zbus(signal)]
583    fn startup_finished(
584        &self,
585        firmware: u64,
586        loader: u64,
587        kernel: u64,
588        initrd: u64,
589        userspace: u64,
590        total: u64,
591    ) -> zbus::Result<()>;
592
593    /// UnitFilesChanged signal
594    #[zbus(signal)]
595    fn unit_files_changed(&self) -> zbus::Result<()>;
596
597    /// UnitNew signal
598    #[zbus(signal)]
599    fn unit_new(&self, id: &str, unit: zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>;
600
601    /// UnitRemoved signal
602    #[zbus(signal)]
603    fn unit_removed(&self, id: &str, unit: zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>;
604
605    /// Architecture property
606    #[zbus(property)]
607    fn architecture(&self) -> zbus::Result<String>;
608
609    /// ConfidentialVirtualization property
610    #[zbus(property)]
611    fn confidential_virtualization(&self) -> zbus::Result<String>;
612
613    /// ConfirmSpawn property
614    #[zbus(property)]
615    fn confirm_spawn(&self) -> zbus::Result<bool>;
616
617    /// ControlGroup property
618    #[zbus(property)]
619    fn control_group(&self) -> zbus::Result<String>;
620
621    /// CtrlAltDelBurstAction property
622    #[zbus(property)]
623    fn ctrl_alt_del_burst_action(&self) -> zbus::Result<String>;
624
625    /// DefaultBlockIOAccounting property
626    #[zbus(property, name = "DefaultBlockIOAccounting")]
627    fn default_block_ioaccounting(&self) -> zbus::Result<bool>;
628
629    /// DefaultCPUAccounting property
630    #[zbus(property, name = "DefaultCPUAccounting")]
631    fn default_cpuaccounting(&self) -> zbus::Result<bool>;
632
633    /// DefaultDeviceTimeoutUSec property
634    #[zbus(property, name = "DefaultDeviceTimeoutUSec")]
635    fn default_device_timeout_usec(&self) -> zbus::Result<u64>;
636
637    /// DefaultIOAccounting property
638    #[zbus(property, name = "DefaultIOAccounting")]
639    fn default_ioaccounting(&self) -> zbus::Result<bool>;
640
641    /// DefaultIPAccounting property
642    #[zbus(property, name = "DefaultIPAccounting")]
643    fn default_ipaccounting(&self) -> zbus::Result<bool>;
644
645    /// DefaultLimitAS property
646    #[zbus(property, name = "DefaultLimitAS")]
647    fn default_limit_as(&self) -> zbus::Result<u64>;
648
649    /// DefaultLimitASSoft property
650    #[zbus(property, name = "DefaultLimitASSoft")]
651    fn default_limit_assoft(&self) -> zbus::Result<u64>;
652
653    /// DefaultLimitCORE property
654    #[zbus(property, name = "DefaultLimitCORE")]
655    fn default_limit_core(&self) -> zbus::Result<u64>;
656
657    /// DefaultLimitCORESoft property
658    #[zbus(property, name = "DefaultLimitCORESoft")]
659    fn default_limit_coresoft(&self) -> zbus::Result<u64>;
660
661    /// DefaultLimitCPU property
662    #[zbus(property, name = "DefaultLimitCPU")]
663    fn default_limit_cpu(&self) -> zbus::Result<u64>;
664
665    /// DefaultLimitCPUSoft property
666    #[zbus(property, name = "DefaultLimitCPUSoft")]
667    fn default_limit_cpusoft(&self) -> zbus::Result<u64>;
668
669    /// DefaultLimitDATA property
670    #[zbus(property, name = "DefaultLimitDATA")]
671    fn default_limit_data(&self) -> zbus::Result<u64>;
672
673    /// DefaultLimitDATASoft property
674    #[zbus(property, name = "DefaultLimitDATASoft")]
675    fn default_limit_datasoft(&self) -> zbus::Result<u64>;
676
677    /// DefaultLimitFSIZE property
678    #[zbus(property, name = "DefaultLimitFSIZE")]
679    fn default_limit_fsize(&self) -> zbus::Result<u64>;
680
681    /// DefaultLimitFSIZESoft property
682    #[zbus(property, name = "DefaultLimitFSIZESoft")]
683    fn default_limit_fsizesoft(&self) -> zbus::Result<u64>;
684
685    /// DefaultLimitLOCKS property
686    #[zbus(property, name = "DefaultLimitLOCKS")]
687    fn default_limit_locks(&self) -> zbus::Result<u64>;
688
689    /// DefaultLimitLOCKSSoft property
690    #[zbus(property, name = "DefaultLimitLOCKSSoft")]
691    fn default_limit_lockssoft(&self) -> zbus::Result<u64>;
692
693    /// DefaultLimitMEMLOCK property
694    #[zbus(property, name = "DefaultLimitMEMLOCK")]
695    fn default_limit_memlock(&self) -> zbus::Result<u64>;
696
697    /// DefaultLimitMEMLOCKSoft property
698    #[zbus(property, name = "DefaultLimitMEMLOCKSoft")]
699    fn default_limit_memlocksoft(&self) -> zbus::Result<u64>;
700
701    /// DefaultLimitMSGQUEUE property
702    #[zbus(property, name = "DefaultLimitMSGQUEUE")]
703    fn default_limit_msgqueue(&self) -> zbus::Result<u64>;
704
705    /// DefaultLimitMSGQUEUESoft property
706    #[zbus(property, name = "DefaultLimitMSGQUEUESoft")]
707    fn default_limit_msgqueuesoft(&self) -> zbus::Result<u64>;
708
709    /// DefaultLimitNICE property
710    #[zbus(property, name = "DefaultLimitNICE")]
711    fn default_limit_nice(&self) -> zbus::Result<u64>;
712
713    /// DefaultLimitNICESoft property
714    #[zbus(property, name = "DefaultLimitNICESoft")]
715    fn default_limit_nicesoft(&self) -> zbus::Result<u64>;
716
717    /// DefaultLimitNOFILE property
718    #[zbus(property, name = "DefaultLimitNOFILE")]
719    fn default_limit_nofile(&self) -> zbus::Result<u64>;
720
721    /// DefaultLimitNOFILESoft property
722    #[zbus(property, name = "DefaultLimitNOFILESoft")]
723    fn default_limit_nofilesoft(&self) -> zbus::Result<u64>;
724
725    /// DefaultLimitNPROC property
726    #[zbus(property, name = "DefaultLimitNPROC")]
727    fn default_limit_nproc(&self) -> zbus::Result<u64>;
728
729    /// DefaultLimitNPROCSoft property
730    #[zbus(property, name = "DefaultLimitNPROCSoft")]
731    fn default_limit_nprocsoft(&self) -> zbus::Result<u64>;
732
733    /// DefaultLimitRSS property
734    #[zbus(property, name = "DefaultLimitRSS")]
735    fn default_limit_rss(&self) -> zbus::Result<u64>;
736
737    /// DefaultLimitRSSSoft property
738    #[zbus(property, name = "DefaultLimitRSSSoft")]
739    fn default_limit_rsssoft(&self) -> zbus::Result<u64>;
740
741    /// DefaultLimitRTPRIO property
742    #[zbus(property, name = "DefaultLimitRTPRIO")]
743    fn default_limit_rtprio(&self) -> zbus::Result<u64>;
744
745    /// DefaultLimitRTPRIOSoft property
746    #[zbus(property, name = "DefaultLimitRTPRIOSoft")]
747    fn default_limit_rtpriosoft(&self) -> zbus::Result<u64>;
748
749    /// DefaultLimitRTTIME property
750    #[zbus(property, name = "DefaultLimitRTTIME")]
751    fn default_limit_rttime(&self) -> zbus::Result<u64>;
752
753    /// DefaultLimitRTTIMESoft property
754    #[zbus(property, name = "DefaultLimitRTTIMESoft")]
755    fn default_limit_rttimesoft(&self) -> zbus::Result<u64>;
756
757    /// DefaultLimitSIGPENDING property
758    #[zbus(property, name = "DefaultLimitSIGPENDING")]
759    fn default_limit_sigpending(&self) -> zbus::Result<u64>;
760
761    /// DefaultLimitSIGPENDINGSoft property
762    #[zbus(property, name = "DefaultLimitSIGPENDINGSoft")]
763    fn default_limit_sigpendingsoft(&self) -> zbus::Result<u64>;
764
765    /// DefaultLimitSTACK property
766    #[zbus(property, name = "DefaultLimitSTACK")]
767    fn default_limit_stack(&self) -> zbus::Result<u64>;
768
769    /// DefaultLimitSTACKSoft property
770    #[zbus(property, name = "DefaultLimitSTACKSoft")]
771    fn default_limit_stacksoft(&self) -> zbus::Result<u64>;
772
773    /// DefaultMemoryAccounting property
774    #[zbus(property)]
775    fn default_memory_accounting(&self) -> zbus::Result<bool>;
776
777    /// DefaultMemoryPressureThresholdUSec property
778    #[zbus(property, name = "DefaultMemoryPressureThresholdUSec")]
779    fn default_memory_pressure_threshold_usec(&self) -> zbus::Result<u64>;
780
781    /// DefaultMemoryPressureWatch property
782    #[zbus(property)]
783    fn default_memory_pressure_watch(&self) -> zbus::Result<String>;
784
785    /// DefaultOOMPolicy property
786    #[zbus(property, name = "DefaultOOMPolicy")]
787    fn default_oompolicy(&self) -> zbus::Result<String>;
788
789    /// DefaultOOMScoreAdjust property
790    #[zbus(property, name = "DefaultOOMScoreAdjust")]
791    fn default_oomscore_adjust(&self) -> zbus::Result<i32>;
792
793    /// DefaultRestartUSec property
794    #[zbus(property, name = "DefaultRestartUSec")]
795    fn default_restart_usec(&self) -> zbus::Result<u64>;
796
797    /// DefaultStandardError property
798    #[zbus(property)]
799    fn default_standard_error(&self) -> zbus::Result<String>;
800
801    /// DefaultStandardOutput property
802    #[zbus(property)]
803    fn default_standard_output(&self) -> zbus::Result<String>;
804
805    /// DefaultStartLimitBurst property
806    #[zbus(property)]
807    fn default_start_limit_burst(&self) -> zbus::Result<u32>;
808
809    /// DefaultStartLimitIntervalUSec property
810    #[zbus(property, name = "DefaultStartLimitIntervalUSec")]
811    fn default_start_limit_interval_usec(&self) -> zbus::Result<u64>;
812
813    /// DefaultTasksAccounting property
814    #[zbus(property)]
815    fn default_tasks_accounting(&self) -> zbus::Result<bool>;
816
817    /// DefaultTasksMax property
818    #[zbus(property)]
819    fn default_tasks_max(&self) -> zbus::Result<u64>;
820
821    /// DefaultTimeoutAbortUSec property
822    #[zbus(property, name = "DefaultTimeoutAbortUSec")]
823    fn default_timeout_abort_usec(&self) -> zbus::Result<u64>;
824
825    /// DefaultTimeoutStartUSec property
826    #[zbus(property, name = "DefaultTimeoutStartUSec")]
827    fn default_timeout_start_usec(&self) -> zbus::Result<u64>;
828
829    /// DefaultTimeoutStopUSec property
830    #[zbus(property, name = "DefaultTimeoutStopUSec")]
831    fn default_timeout_stop_usec(&self) -> zbus::Result<u64>;
832
833    /// DefaultTimerAccuracyUSec property
834    #[zbus(property, name = "DefaultTimerAccuracyUSec")]
835    fn default_timer_accuracy_usec(&self) -> zbus::Result<u64>;
836
837    /// Environment property
838    #[zbus(property)]
839    fn environment(&self) -> zbus::Result<Vec<String>>;
840
841    /// ExitCode property
842    #[zbus(property)]
843    fn exit_code(&self) -> zbus::Result<u8>;
844
845    /// Features property
846    #[zbus(property)]
847    fn features(&self) -> zbus::Result<String>;
848
849    /// FinishTimestamp property
850    #[zbus(property)]
851    fn finish_timestamp(&self) -> zbus::Result<u64>;
852
853    /// FinishTimestampMonotonic property
854    #[zbus(property)]
855    fn finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
856
857    /// FirmwareTimestamp property
858    #[zbus(property)]
859    fn firmware_timestamp(&self) -> zbus::Result<u64>;
860
861    /// FirmwareTimestampMonotonic property
862    #[zbus(property)]
863    fn firmware_timestamp_monotonic(&self) -> zbus::Result<u64>;
864
865    /// GeneratorsFinishTimestamp property
866    #[zbus(property)]
867    fn generators_finish_timestamp(&self) -> zbus::Result<u64>;
868
869    /// GeneratorsFinishTimestampMonotonic property
870    #[zbus(property)]
871    fn generators_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
872
873    /// GeneratorsStartTimestamp property
874    #[zbus(property)]
875    fn generators_start_timestamp(&self) -> zbus::Result<u64>;
876
877    /// GeneratorsStartTimestampMonotonic property
878    #[zbus(property)]
879    fn generators_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
880
881    /// InitRDGeneratorsFinishTimestamp property
882    #[zbus(property, name = "InitRDGeneratorsFinishTimestamp")]
883    fn init_rdgenerators_finish_timestamp(&self) -> zbus::Result<u64>;
884
885    /// InitRDGeneratorsFinishTimestampMonotonic property
886    #[zbus(property, name = "InitRDGeneratorsFinishTimestampMonotonic")]
887    fn init_rdgenerators_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
888
889    /// InitRDGeneratorsStartTimestamp property
890    #[zbus(property, name = "InitRDGeneratorsStartTimestamp")]
891    fn init_rdgenerators_start_timestamp(&self) -> zbus::Result<u64>;
892
893    /// InitRDGeneratorsStartTimestampMonotonic property
894    #[zbus(property, name = "InitRDGeneratorsStartTimestampMonotonic")]
895    fn init_rdgenerators_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
896
897    /// InitRDSecurityFinishTimestamp property
898    #[zbus(property, name = "InitRDSecurityFinishTimestamp")]
899    fn init_rdsecurity_finish_timestamp(&self) -> zbus::Result<u64>;
900
901    /// InitRDSecurityFinishTimestampMonotonic property
902    #[zbus(property, name = "InitRDSecurityFinishTimestampMonotonic")]
903    fn init_rdsecurity_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
904
905    /// InitRDSecurityStartTimestamp property
906    #[zbus(property, name = "InitRDSecurityStartTimestamp")]
907    fn init_rdsecurity_start_timestamp(&self) -> zbus::Result<u64>;
908
909    /// InitRDSecurityStartTimestampMonotonic property
910    #[zbus(property, name = "InitRDSecurityStartTimestampMonotonic")]
911    fn init_rdsecurity_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
912
913    /// InitRDTimestamp property
914    #[zbus(property, name = "InitRDTimestamp")]
915    fn init_rdtimestamp(&self) -> zbus::Result<u64>;
916
917    /// InitRDTimestampMonotonic property
918    #[zbus(property, name = "InitRDTimestampMonotonic")]
919    fn init_rdtimestamp_monotonic(&self) -> zbus::Result<u64>;
920
921    /// InitRDUnitsLoadFinishTimestamp property
922    #[zbus(property, name = "InitRDUnitsLoadFinishTimestamp")]
923    fn init_rdunits_load_finish_timestamp(&self) -> zbus::Result<u64>;
924
925    /// InitRDUnitsLoadFinishTimestampMonotonic property
926    #[zbus(property, name = "InitRDUnitsLoadFinishTimestampMonotonic")]
927    fn init_rdunits_load_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
928
929    /// InitRDUnitsLoadStartTimestamp property
930    #[zbus(property, name = "InitRDUnitsLoadStartTimestamp")]
931    fn init_rdunits_load_start_timestamp(&self) -> zbus::Result<u64>;
932
933    /// InitRDUnitsLoadStartTimestampMonotonic property
934    #[zbus(property, name = "InitRDUnitsLoadStartTimestampMonotonic")]
935    fn init_rdunits_load_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
936
937    /// KExecWatchdogUSec property
938    #[zbus(property, name = "KExecWatchdogUSec")]
939    fn kexec_watchdog_usec(&self) -> zbus::Result<u64>;
940    #[zbus(property, name = "KExecWatchdogUSec")]
941    fn set_kexec_watchdog_usec(&self, value: u64) -> zbus::Result<()>;
942
943    /// KernelTimestamp property
944    #[zbus(property)]
945    fn kernel_timestamp(&self) -> zbus::Result<u64>;
946
947    /// KernelTimestampMonotonic property
948    #[zbus(property)]
949    fn kernel_timestamp_monotonic(&self) -> zbus::Result<u64>;
950
951    /// LoaderTimestamp property
952    #[zbus(property)]
953    fn loader_timestamp(&self) -> zbus::Result<u64>;
954
955    /// LoaderTimestampMonotonic property
956    #[zbus(property)]
957    fn loader_timestamp_monotonic(&self) -> zbus::Result<u64>;
958
959    /// LogLevel property
960    #[zbus(property)]
961    fn log_level(&self) -> zbus::Result<String>;
962    #[zbus(property)]
963    fn set_log_level(&self, value: &str) -> zbus::Result<()>;
964
965    /// LogTarget property
966    #[zbus(property)]
967    fn log_target(&self) -> zbus::Result<String>;
968    #[zbus(property)]
969    fn set_log_target(&self, value: &str) -> zbus::Result<()>;
970
971    /// NFailedJobs property
972    #[zbus(property, name = "NFailedJobs")]
973    fn nfailed_jobs(&self) -> zbus::Result<u32>;
974
975    /// NFailedUnits property
976    #[zbus(property, name = "NFailedUnits")]
977    fn nfailed_units(&self) -> zbus::Result<u32>;
978
979    /// NInstalledJobs property
980    #[zbus(property, name = "NInstalledJobs")]
981    fn ninstalled_jobs(&self) -> zbus::Result<u32>;
982
983    /// NJobs property
984    #[zbus(property, name = "NJobs")]
985    fn njobs(&self) -> zbus::Result<u32>;
986
987    /// NNames property
988    #[zbus(property, name = "NNames")]
989    fn nnames(&self) -> zbus::Result<u32>;
990
991    /// Progress property
992    #[zbus(property)]
993    fn progress(&self) -> zbus::Result<f64>;
994
995    /// RebootWatchdogUSec property
996    #[zbus(property, name = "RebootWatchdogUSec")]
997    fn reboot_watchdog_usec(&self) -> zbus::Result<u64>;
998    #[zbus(property, name = "RebootWatchdogUSec")]
999    fn set_reboot_watchdog_usec(&self, value: u64) -> zbus::Result<()>;
1000
1001    /// RuntimeWatchdogPreGovernor property
1002    #[zbus(property)]
1003    fn runtime_watchdog_pre_governor(&self) -> zbus::Result<String>;
1004    #[zbus(property)]
1005    fn set_runtime_watchdog_pre_governor(&self, value: &str) -> zbus::Result<()>;
1006
1007    /// RuntimeWatchdogPreUSec property
1008    #[zbus(property, name = "RuntimeWatchdogPreUSec")]
1009    fn runtime_watchdog_pre_usec(&self) -> zbus::Result<u64>;
1010    #[zbus(property, name = "RuntimeWatchdogPreUSec")]
1011    fn set_runtime_watchdog_pre_usec(&self, value: u64) -> zbus::Result<()>;
1012
1013    /// RuntimeWatchdogUSec property
1014    #[zbus(property, name = "RuntimeWatchdogUSec")]
1015    fn runtime_watchdog_usec(&self) -> zbus::Result<u64>;
1016    #[zbus(property, name = "RuntimeWatchdogUSec")]
1017    fn set_runtime_watchdog_usec(&self, value: u64) -> zbus::Result<()>;
1018
1019    /// SecurityFinishTimestamp property
1020    #[zbus(property)]
1021    fn security_finish_timestamp(&self) -> zbus::Result<u64>;
1022
1023    /// SecurityFinishTimestampMonotonic property
1024    #[zbus(property)]
1025    fn security_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
1026
1027    /// SecurityStartTimestamp property
1028    #[zbus(property)]
1029    fn security_start_timestamp(&self) -> zbus::Result<u64>;
1030
1031    /// SecurityStartTimestampMonotonic property
1032    #[zbus(property)]
1033    fn security_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
1034
1035    /// ServiceWatchdogs property
1036    #[zbus(property)]
1037    fn service_watchdogs(&self) -> zbus::Result<bool>;
1038    #[zbus(property)]
1039    fn set_service_watchdogs(&self, value: bool) -> zbus::Result<()>;
1040
1041    /// ShowStatus property
1042    #[zbus(property)]
1043    fn show_status(&self) -> zbus::Result<bool>;
1044
1045    /// SystemState property
1046    #[zbus(property)]
1047    fn system_state(&self) -> zbus::Result<String>;
1048
1049    /// Tainted property
1050    #[zbus(property)]
1051    fn tainted(&self) -> zbus::Result<String>;
1052
1053    /// TimerSlackNSec property
1054    #[zbus(property, name = "TimerSlackNSec")]
1055    fn timer_slack_nsec(&self) -> zbus::Result<u64>;
1056
1057    /// UnitPath property
1058    #[zbus(property)]
1059    fn unit_path(&self) -> zbus::Result<Vec<String>>;
1060
1061    /// UnitsLoadFinishTimestamp property
1062    #[zbus(property)]
1063    fn units_load_finish_timestamp(&self) -> zbus::Result<u64>;
1064
1065    /// UnitsLoadFinishTimestampMonotonic property
1066    #[zbus(property)]
1067    fn units_load_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
1068
1069    /// UnitsLoadStartTimestamp property
1070    #[zbus(property)]
1071    fn units_load_start_timestamp(&self) -> zbus::Result<u64>;
1072
1073    /// UnitsLoadStartTimestampMonotonic property
1074    #[zbus(property)]
1075    fn units_load_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
1076
1077    /// UnitsLoadTimestamp property
1078    #[zbus(property)]
1079    fn units_load_timestamp(&self) -> zbus::Result<u64>;
1080
1081    /// UnitsLoadTimestampMonotonic property
1082    #[zbus(property)]
1083    fn units_load_timestamp_monotonic(&self) -> zbus::Result<u64>;
1084
1085    /// UserspaceTimestamp property
1086    #[zbus(property)]
1087    fn userspace_timestamp(&self) -> zbus::Result<u64>;
1088
1089    /// UserspaceTimestampMonotonic property
1090    #[zbus(property)]
1091    fn userspace_timestamp_monotonic(&self) -> zbus::Result<u64>;
1092
1093    /// Version property
1094    #[zbus(property)]
1095    fn version(&self) -> zbus::Result<String>;
1096
1097    /// Virtualization property
1098    #[zbus(property)]
1099    fn virtualization(&self) -> zbus::Result<String>;
1100
1101    /// WatchdogDevice property
1102    #[zbus(property)]
1103    fn watchdog_device(&self) -> zbus::Result<String>;
1104
1105    /// WatchdogLastPingTimestamp property
1106    #[zbus(property)]
1107    fn watchdog_last_ping_timestamp(&self) -> zbus::Result<u64>;
1108
1109    /// WatchdogLastPingTimestampMonotonic property
1110    #[zbus(property)]
1111    fn watchdog_last_ping_timestamp_monotonic(&self) -> zbus::Result<u64>;
1112}