1use zbus::proxy;
23#[proxy(
24 interface = "org.freedesktop.systemd1.Manager",
25 default_service = "org.freedesktop.systemd1",
26 default_path = "/org/freedesktop/systemd1",
27 gen_async = false
28)]
29pub trait Manager {
30 fn abandon_scope(&self, name: &str) -> zbus::Result<()>;
32
33 fn add_dependency_unit_files(
35 &self,
36 files: &[&str],
37 target: &str,
38 type_: &str,
39 runtime: bool,
40 force: bool,
41 ) -> zbus::Result<Vec<(String, String, String)>>;
42
43 fn attach_processes_to_unit(
45 &self,
46 unit_name: &str,
47 subcgroup: &str,
48 pids: &[u32],
49 ) -> zbus::Result<()>;
50
51 fn bind_mount_unit(
53 &self,
54 name: &str,
55 source: &str,
56 destination: &str,
57 read_only: bool,
58 mkdir: bool,
59 ) -> zbus::Result<()>;
60
61 fn cancel_job(&self, id: u32) -> zbus::Result<()>;
63
64 fn clean_unit(&self, name: &str, mask: &[&str]) -> zbus::Result<()>;
66
67 fn clear_jobs(&self) -> zbus::Result<()>;
69
70 fn disable_unit_files(
72 &self,
73 files: &[&str],
74 runtime: bool,
75 ) -> zbus::Result<Vec<(String, String, String)>>;
76
77 fn disable_unit_files_with_flags(
79 &self,
80 files: &[&str],
81 flags: u64,
82 ) -> zbus::Result<Vec<(String, String, String)>>;
83
84 fn disable_unit_files_with_flags_and_install_info(
86 &self,
87 files: &[&str],
88 flags: u64,
89 ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;
90
91 fn dump(&self) -> zbus::Result<String>;
93
94 fn dump_by_file_descriptor(&self) -> zbus::Result<zbus::zvariant::OwnedFd>;
96
97 fn dump_unit_file_descriptor_store(
99 &self,
100 name: &str,
101 ) -> zbus::Result<Vec<(String, u32, u32, u32, u64, u32, u32, String, u32)>>;
102
103 fn dump_units_matching_patterns(&self, patterns: &[&str]) -> zbus::Result<String>;
105
106 fn dump_units_matching_patterns_by_file_descriptor(
108 &self,
109 patterns: &[&str],
110 ) -> zbus::Result<zbus::zvariant::OwnedFd>;
111
112 fn enable_unit_files(
114 &self,
115 files: &[&str],
116 runtime: bool,
117 force: bool,
118 ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;
119
120 fn enable_unit_files_with_flags(
122 &self,
123 files: &[&str],
124 flags: u64,
125 ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;
126
127 fn enqueue_marked_jobs(&self) -> zbus::Result<Vec<zbus::zvariant::OwnedObjectPath>>;
129
130 #[allow(clippy::too_many_arguments)]
132 fn enqueue_unit_job(
133 &self,
134 name: &str,
135 job_type: &str,
136 job_mode: &str,
137 ) -> zbus::Result<(
138 u32,
139 zbus::zvariant::OwnedObjectPath,
140 String,
141 zbus::zvariant::OwnedObjectPath,
142 String,
143 Vec<(
144 u32,
145 zbus::zvariant::OwnedObjectPath,
146 String,
147 zbus::zvariant::OwnedObjectPath,
148 String,
149 )>,
150 )>;
151
152 fn exit(&self) -> zbus::Result<()>;
154
155 fn freeze_unit(&self, name: &str) -> zbus::Result<()>;
157
158 fn get_default_target(&self) -> zbus::Result<String>;
160
161 fn get_dynamic_users(&self) -> zbus::Result<Vec<(u32, String)>>;
163
164 fn get_job(&self, id: u32) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
166
167 fn get_job_after(
169 &self,
170 id: u32,
171 ) -> zbus::Result<
172 Vec<(
173 u32,
174 String,
175 String,
176 String,
177 zbus::zvariant::OwnedObjectPath,
178 zbus::zvariant::OwnedObjectPath,
179 )>,
180 >;
181
182 fn get_job_before(
184 &self,
185 id: u32,
186 ) -> zbus::Result<
187 Vec<(
188 u32,
189 String,
190 String,
191 String,
192 zbus::zvariant::OwnedObjectPath,
193 zbus::zvariant::OwnedObjectPath,
194 )>,
195 >;
196
197 fn get_unit(&self, name: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
199
200 fn get_unit_by_control_group(
202 &self,
203 cgroup: &str,
204 ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
205
206 #[zbus(name = "GetUnitByInvocationID")]
208 fn get_unit_by_invocation_id(
209 &self,
210 invocation_id: &[u8],
211 ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
212
213 #[zbus(name = "GetUnitByPID")]
215 fn get_unit_by_pid(&self, pid: u32) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
216
217 #[zbus(name = "GetUnitByPIDFD")]
219 fn get_unit_by_pidfd(
220 &self,
221 pidfd: zbus::zvariant::Fd<'_>,
222 ) -> zbus::Result<(zbus::zvariant::OwnedObjectPath, String, Vec<u8>)>;
223
224 fn get_unit_file_links(&self, name: &str, runtime: bool) -> zbus::Result<Vec<String>>;
226
227 fn get_unit_file_state(&self, file: &str) -> zbus::Result<String>;
229
230 fn get_unit_processes(&self, name: &str) -> zbus::Result<Vec<(String, u32, String)>>;
232
233 fn halt(&self) -> zbus::Result<()>;
235
236 #[zbus(name = "KExec")]
238 fn kexec(&self) -> zbus::Result<()>;
239
240 fn kill_unit(&self, name: &str, whom: &str, signal: i32) -> zbus::Result<()>;
242
243 fn link_unit_files(
245 &self,
246 files: &[&str],
247 runtime: bool,
248 force: bool,
249 ) -> zbus::Result<Vec<(String, String, String)>>;
250
251 fn list_jobs(
253 &self,
254 ) -> zbus::Result<
255 Vec<(
256 u32,
257 String,
258 String,
259 String,
260 zbus::zvariant::OwnedObjectPath,
261 zbus::zvariant::OwnedObjectPath,
262 )>,
263 >;
264
265 fn list_unit_files(&self) -> zbus::Result<Vec<(String, String)>>;
267
268 fn list_unit_files_by_patterns(
270 &self,
271 states: &[&str],
272 patterns: &[&str],
273 ) -> zbus::Result<Vec<(String, String)>>;
274
275 fn list_units(
277 &self,
278 ) -> zbus::Result<
279 Vec<(
280 String,
281 String,
282 String,
283 String,
284 String,
285 String,
286 zbus::zvariant::OwnedObjectPath,
287 u32,
288 String,
289 zbus::zvariant::OwnedObjectPath,
290 )>,
291 >;
292
293 fn list_units_by_names(
295 &self,
296 names: &[&str],
297 ) -> zbus::Result<
298 Vec<(
299 String,
300 String,
301 String,
302 String,
303 String,
304 String,
305 zbus::zvariant::OwnedObjectPath,
306 u32,
307 String,
308 zbus::zvariant::OwnedObjectPath,
309 )>,
310 >;
311
312 fn list_units_by_patterns(
314 &self,
315 states: &[&str],
316 patterns: &[&str],
317 ) -> zbus::Result<
318 Vec<(
319 String,
320 String,
321 String,
322 String,
323 String,
324 String,
325 zbus::zvariant::OwnedObjectPath,
326 u32,
327 String,
328 zbus::zvariant::OwnedObjectPath,
329 )>,
330 >;
331
332 fn list_units_filtered(
334 &self,
335 states: &[&str],
336 ) -> zbus::Result<
337 Vec<(
338 String,
339 String,
340 String,
341 String,
342 String,
343 String,
344 zbus::zvariant::OwnedObjectPath,
345 u32,
346 String,
347 zbus::zvariant::OwnedObjectPath,
348 )>,
349 >;
350
351 fn load_unit(&self, name: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
353
354 fn lookup_dynamic_user_by_name(&self, name: &str) -> zbus::Result<u32>;
356
357 #[zbus(name = "LookupDynamicUserByUID")]
359 fn lookup_dynamic_user_by_uid(&self, uid: u32) -> zbus::Result<String>;
360
361 fn mask_unit_files(
363 &self,
364 files: &[&str],
365 runtime: bool,
366 force: bool,
367 ) -> zbus::Result<Vec<(String, String, String)>>;
368
369 fn mount_image_unit(
371 &self,
372 name: &str,
373 source: &str,
374 destination: &str,
375 read_only: bool,
376 mkdir: bool,
377 options: &[&(&str, &str)],
378 ) -> zbus::Result<()>;
379
380 fn power_off(&self) -> zbus::Result<()>;
382
383 fn preset_all_unit_files(
385 &self,
386 mode: &str,
387 runtime: bool,
388 force: bool,
389 ) -> zbus::Result<Vec<(String, String, String)>>;
390
391 fn preset_unit_files(
393 &self,
394 files: &[&str],
395 runtime: bool,
396 force: bool,
397 ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;
398
399 fn preset_unit_files_with_mode(
401 &self,
402 files: &[&str],
403 mode: &str,
404 runtime: bool,
405 force: bool,
406 ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;
407
408 fn queue_signal_unit(
410 &self,
411 name: &str,
412 whom: &str,
413 signal: i32,
414 value: i32,
415 ) -> zbus::Result<()>;
416
417 fn reboot(&self) -> zbus::Result<()>;
419
420 fn reenable_unit_files(
422 &self,
423 files: &[&str],
424 runtime: bool,
425 force: bool,
426 ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;
427
428 fn reexecute(&self) -> zbus::Result<()>;
430
431 fn ref_unit(&self, name: &str) -> zbus::Result<()>;
433
434 fn reload(&self) -> zbus::Result<()>;
436
437 fn reload_or_restart_unit(
439 &self,
440 name: &str,
441 mode: &str,
442 ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
443
444 fn reload_or_try_restart_unit(
446 &self,
447 name: &str,
448 mode: &str,
449 ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
450
451 fn reload_unit(&self, name: &str, mode: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
453
454 fn reset_failed(&self) -> zbus::Result<()>;
456
457 fn reset_failed_unit(&self, name: &str) -> zbus::Result<()>;
459
460 fn restart_unit(&self, name: &str, mode: &str)
462 -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
463
464 fn revert_unit_files(&self, files: &[&str]) -> zbus::Result<Vec<(String, String, String)>>;
466
467 fn set_default_target(
469 &self,
470 name: &str,
471 force: bool,
472 ) -> zbus::Result<Vec<(String, String, String)>>;
473
474 fn set_environment(&self, assignments: &[&str]) -> zbus::Result<()>;
476
477 fn set_exit_code(&self, number: u8) -> zbus::Result<()>;
479
480 fn set_show_status(&self, mode: &str) -> zbus::Result<()>;
482
483 fn set_unit_properties(
485 &self,
486 name: &str,
487 runtime: bool,
488 properties: &[&(&str, &zbus::zvariant::Value<'_>)],
489 ) -> zbus::Result<()>;
490
491 fn soft_reboot(&self, new_root: &str) -> zbus::Result<()>;
493
494 fn start_auxiliary_scope(
496 &self,
497 name: &str,
498 pidfds: &[zbus::zvariant::Fd<'_>],
499 flags: u64,
500 properties: &[&(&str, &zbus::zvariant::Value<'_>)],
501 ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
502
503 #[allow(clippy::type_complexity)]
505 fn start_transient_unit(
506 &self,
507 name: &str,
508 mode: &str,
509 properties: &[&(&str, &zbus::zvariant::Value<'_>)],
510 aux: &[&(&str, &[&(&str, &zbus::zvariant::Value<'_>)])],
511 ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
512
513 fn start_unit(&self, name: &str, mode: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
515
516 fn start_unit_replace(
518 &self,
519 old_unit: &str,
520 new_unit: &str,
521 mode: &str,
522 ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
523
524 fn start_unit_with_flags(
526 &self,
527 name: &str,
528 mode: &str,
529 flags: u64,
530 ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
531
532 fn stop_unit(&self, name: &str, mode: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
534
535 fn subscribe(&self) -> zbus::Result<()>;
537
538 fn switch_root(&self, new_root: &str, init: &str) -> zbus::Result<()>;
540
541 fn thaw_unit(&self, name: &str) -> zbus::Result<()>;
543
544 fn try_restart_unit(
546 &self,
547 name: &str,
548 mode: &str,
549 ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
550
551 fn unmask_unit_files(
553 &self,
554 files: &[&str],
555 runtime: bool,
556 ) -> zbus::Result<Vec<(String, String, String)>>;
557
558 fn unref_unit(&self, name: &str) -> zbus::Result<()>;
560
561 fn unset_and_set_environment(&self, names: &[&str], assignments: &[&str]) -> zbus::Result<()>;
563
564 fn unset_environment(&self, names: &[&str]) -> zbus::Result<()>;
566
567 fn unsubscribe(&self) -> zbus::Result<()>;
569
570 #[zbus(signal)]
572 fn job_new(&self, id: u32, job: zbus::zvariant::ObjectPath<'_>, unit: &str)
573 -> zbus::Result<()>;
574
575 #[zbus(signal)]
577 fn job_removed(
578 &self,
579 id: u32,
580 job: zbus::zvariant::ObjectPath<'_>,
581 unit: &str,
582 result: &str,
583 ) -> zbus::Result<()>;
584
585 #[zbus(signal)]
587 fn reloading(&self, active: bool) -> zbus::Result<()>;
588
589 #[zbus(signal)]
591 fn startup_finished(
592 &self,
593 firmware: u64,
594 loader: u64,
595 kernel: u64,
596 initrd: u64,
597 userspace: u64,
598 total: u64,
599 ) -> zbus::Result<()>;
600
601 #[zbus(signal)]
603 fn unit_files_changed(&self) -> zbus::Result<()>;
604
605 #[zbus(signal)]
607 fn unit_new(&self, id: &str, unit: zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>;
608
609 #[zbus(signal)]
611 fn unit_removed(&self, id: &str, unit: zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>;
612
613 #[zbus(property)]
615 fn architecture(&self) -> zbus::Result<String>;
616
617 #[zbus(property)]
619 fn confidential_virtualization(&self) -> zbus::Result<String>;
620
621 #[zbus(property)]
623 fn confirm_spawn(&self) -> zbus::Result<bool>;
624
625 #[zbus(property)]
627 fn control_group(&self) -> zbus::Result<String>;
628
629 #[zbus(property)]
631 fn ctrl_alt_del_burst_action(&self) -> zbus::Result<String>;
632
633 #[zbus(property, name = "DefaultBlockIOAccounting")]
635 fn default_block_ioaccounting(&self) -> zbus::Result<bool>;
636
637 #[zbus(property, name = "DefaultCPUAccounting")]
639 fn default_cpuaccounting(&self) -> zbus::Result<bool>;
640
641 #[zbus(property, name = "DefaultDeviceTimeoutUSec")]
643 fn default_device_timeout_usec(&self) -> zbus::Result<u64>;
644
645 #[zbus(property, name = "DefaultIOAccounting")]
647 fn default_ioaccounting(&self) -> zbus::Result<bool>;
648
649 #[zbus(property, name = "DefaultIPAccounting")]
651 fn default_ipaccounting(&self) -> zbus::Result<bool>;
652
653 #[zbus(property, name = "DefaultLimitAS")]
655 fn default_limit_as(&self) -> zbus::Result<u64>;
656
657 #[zbus(property, name = "DefaultLimitASSoft")]
659 fn default_limit_assoft(&self) -> zbus::Result<u64>;
660
661 #[zbus(property, name = "DefaultLimitCORE")]
663 fn default_limit_core(&self) -> zbus::Result<u64>;
664
665 #[zbus(property, name = "DefaultLimitCORESoft")]
667 fn default_limit_coresoft(&self) -> zbus::Result<u64>;
668
669 #[zbus(property, name = "DefaultLimitCPU")]
671 fn default_limit_cpu(&self) -> zbus::Result<u64>;
672
673 #[zbus(property, name = "DefaultLimitCPUSoft")]
675 fn default_limit_cpusoft(&self) -> zbus::Result<u64>;
676
677 #[zbus(property, name = "DefaultLimitDATA")]
679 fn default_limit_data(&self) -> zbus::Result<u64>;
680
681 #[zbus(property, name = "DefaultLimitDATASoft")]
683 fn default_limit_datasoft(&self) -> zbus::Result<u64>;
684
685 #[zbus(property, name = "DefaultLimitFSIZE")]
687 fn default_limit_fsize(&self) -> zbus::Result<u64>;
688
689 #[zbus(property, name = "DefaultLimitFSIZESoft")]
691 fn default_limit_fsizesoft(&self) -> zbus::Result<u64>;
692
693 #[zbus(property, name = "DefaultLimitLOCKS")]
695 fn default_limit_locks(&self) -> zbus::Result<u64>;
696
697 #[zbus(property, name = "DefaultLimitLOCKSSoft")]
699 fn default_limit_lockssoft(&self) -> zbus::Result<u64>;
700
701 #[zbus(property, name = "DefaultLimitMEMLOCK")]
703 fn default_limit_memlock(&self) -> zbus::Result<u64>;
704
705 #[zbus(property, name = "DefaultLimitMEMLOCKSoft")]
707 fn default_limit_memlocksoft(&self) -> zbus::Result<u64>;
708
709 #[zbus(property, name = "DefaultLimitMSGQUEUE")]
711 fn default_limit_msgqueue(&self) -> zbus::Result<u64>;
712
713 #[zbus(property, name = "DefaultLimitMSGQUEUESoft")]
715 fn default_limit_msgqueuesoft(&self) -> zbus::Result<u64>;
716
717 #[zbus(property, name = "DefaultLimitNICE")]
719 fn default_limit_nice(&self) -> zbus::Result<u64>;
720
721 #[zbus(property, name = "DefaultLimitNICESoft")]
723 fn default_limit_nicesoft(&self) -> zbus::Result<u64>;
724
725 #[zbus(property, name = "DefaultLimitNOFILE")]
727 fn default_limit_nofile(&self) -> zbus::Result<u64>;
728
729 #[zbus(property, name = "DefaultLimitNOFILESoft")]
731 fn default_limit_nofilesoft(&self) -> zbus::Result<u64>;
732
733 #[zbus(property, name = "DefaultLimitNPROC")]
735 fn default_limit_nproc(&self) -> zbus::Result<u64>;
736
737 #[zbus(property, name = "DefaultLimitNPROCSoft")]
739 fn default_limit_nprocsoft(&self) -> zbus::Result<u64>;
740
741 #[zbus(property, name = "DefaultLimitRSS")]
743 fn default_limit_rss(&self) -> zbus::Result<u64>;
744
745 #[zbus(property, name = "DefaultLimitRSSSoft")]
747 fn default_limit_rsssoft(&self) -> zbus::Result<u64>;
748
749 #[zbus(property, name = "DefaultLimitRTPRIO")]
751 fn default_limit_rtprio(&self) -> zbus::Result<u64>;
752
753 #[zbus(property, name = "DefaultLimitRTPRIOSoft")]
755 fn default_limit_rtpriosoft(&self) -> zbus::Result<u64>;
756
757 #[zbus(property, name = "DefaultLimitRTTIME")]
759 fn default_limit_rttime(&self) -> zbus::Result<u64>;
760
761 #[zbus(property, name = "DefaultLimitRTTIMESoft")]
763 fn default_limit_rttimesoft(&self) -> zbus::Result<u64>;
764
765 #[zbus(property, name = "DefaultLimitSIGPENDING")]
767 fn default_limit_sigpending(&self) -> zbus::Result<u64>;
768
769 #[zbus(property, name = "DefaultLimitSIGPENDINGSoft")]
771 fn default_limit_sigpendingsoft(&self) -> zbus::Result<u64>;
772
773 #[zbus(property, name = "DefaultLimitSTACK")]
775 fn default_limit_stack(&self) -> zbus::Result<u64>;
776
777 #[zbus(property, name = "DefaultLimitSTACKSoft")]
779 fn default_limit_stacksoft(&self) -> zbus::Result<u64>;
780
781 #[zbus(property)]
783 fn default_memory_accounting(&self) -> zbus::Result<bool>;
784
785 #[zbus(property, name = "DefaultMemoryPressureThresholdUSec")]
787 fn default_memory_pressure_threshold_usec(&self) -> zbus::Result<u64>;
788
789 #[zbus(property)]
791 fn default_memory_pressure_watch(&self) -> zbus::Result<String>;
792
793 #[zbus(property, name = "DefaultOOMPolicy")]
795 fn default_oompolicy(&self) -> zbus::Result<String>;
796
797 #[zbus(property, name = "DefaultOOMScoreAdjust")]
799 fn default_oomscore_adjust(&self) -> zbus::Result<i32>;
800
801 #[zbus(property, name = "DefaultRestartUSec")]
803 fn default_restart_usec(&self) -> zbus::Result<u64>;
804
805 #[zbus(property)]
807 fn default_standard_error(&self) -> zbus::Result<String>;
808
809 #[zbus(property)]
811 fn default_standard_output(&self) -> zbus::Result<String>;
812
813 #[zbus(property)]
815 fn default_start_limit_burst(&self) -> zbus::Result<u32>;
816
817 #[zbus(property, name = "DefaultStartLimitIntervalUSec")]
819 fn default_start_limit_interval_usec(&self) -> zbus::Result<u64>;
820
821 #[zbus(property)]
823 fn default_tasks_accounting(&self) -> zbus::Result<bool>;
824
825 #[zbus(property)]
827 fn default_tasks_max(&self) -> zbus::Result<u64>;
828
829 #[zbus(property, name = "DefaultTimeoutAbortUSec")]
831 fn default_timeout_abort_usec(&self) -> zbus::Result<u64>;
832
833 #[zbus(property, name = "DefaultTimeoutStartUSec")]
835 fn default_timeout_start_usec(&self) -> zbus::Result<u64>;
836
837 #[zbus(property, name = "DefaultTimeoutStopUSec")]
839 fn default_timeout_stop_usec(&self) -> zbus::Result<u64>;
840
841 #[zbus(property, name = "DefaultTimerAccuracyUSec")]
843 fn default_timer_accuracy_usec(&self) -> zbus::Result<u64>;
844
845 #[zbus(property)]
847 fn environment(&self) -> zbus::Result<Vec<String>>;
848
849 #[zbus(property)]
851 fn exit_code(&self) -> zbus::Result<u8>;
852
853 #[zbus(property)]
855 fn features(&self) -> zbus::Result<String>;
856
857 #[zbus(property)]
859 fn finish_timestamp(&self) -> zbus::Result<u64>;
860
861 #[zbus(property)]
863 fn finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
864
865 #[zbus(property)]
867 fn firmware_timestamp(&self) -> zbus::Result<u64>;
868
869 #[zbus(property)]
871 fn firmware_timestamp_monotonic(&self) -> zbus::Result<u64>;
872
873 #[zbus(property)]
875 fn generators_finish_timestamp(&self) -> zbus::Result<u64>;
876
877 #[zbus(property)]
879 fn generators_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
880
881 #[zbus(property)]
883 fn generators_start_timestamp(&self) -> zbus::Result<u64>;
884
885 #[zbus(property)]
887 fn generators_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
888
889 #[zbus(property, name = "InitRDGeneratorsFinishTimestamp")]
891 fn init_rdgenerators_finish_timestamp(&self) -> zbus::Result<u64>;
892
893 #[zbus(property, name = "InitRDGeneratorsFinishTimestampMonotonic")]
895 fn init_rdgenerators_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
896
897 #[zbus(property, name = "InitRDGeneratorsStartTimestamp")]
899 fn init_rdgenerators_start_timestamp(&self) -> zbus::Result<u64>;
900
901 #[zbus(property, name = "InitRDGeneratorsStartTimestampMonotonic")]
903 fn init_rdgenerators_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
904
905 #[zbus(property, name = "InitRDSecurityFinishTimestamp")]
907 fn init_rdsecurity_finish_timestamp(&self) -> zbus::Result<u64>;
908
909 #[zbus(property, name = "InitRDSecurityFinishTimestampMonotonic")]
911 fn init_rdsecurity_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
912
913 #[zbus(property, name = "InitRDSecurityStartTimestamp")]
915 fn init_rdsecurity_start_timestamp(&self) -> zbus::Result<u64>;
916
917 #[zbus(property, name = "InitRDSecurityStartTimestampMonotonic")]
919 fn init_rdsecurity_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
920
921 #[zbus(property, name = "InitRDTimestamp")]
923 fn init_rdtimestamp(&self) -> zbus::Result<u64>;
924
925 #[zbus(property, name = "InitRDTimestampMonotonic")]
927 fn init_rdtimestamp_monotonic(&self) -> zbus::Result<u64>;
928
929 #[zbus(property, name = "InitRDUnitsLoadFinishTimestamp")]
931 fn init_rdunits_load_finish_timestamp(&self) -> zbus::Result<u64>;
932
933 #[zbus(property, name = "InitRDUnitsLoadFinishTimestampMonotonic")]
935 fn init_rdunits_load_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
936
937 #[zbus(property, name = "InitRDUnitsLoadStartTimestamp")]
939 fn init_rdunits_load_start_timestamp(&self) -> zbus::Result<u64>;
940
941 #[zbus(property, name = "InitRDUnitsLoadStartTimestampMonotonic")]
943 fn init_rdunits_load_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
944
945 #[zbus(property, name = "KExecWatchdogUSec")]
947 fn kexec_watchdog_usec(&self) -> zbus::Result<u64>;
948 #[zbus(property, name = "KExecWatchdogUSec")]
949 fn set_kexec_watchdog_usec(&self, value: u64) -> zbus::Result<()>;
950
951 #[zbus(property)]
953 fn kernel_timestamp(&self) -> zbus::Result<u64>;
954
955 #[zbus(property)]
957 fn kernel_timestamp_monotonic(&self) -> zbus::Result<u64>;
958
959 #[zbus(property)]
961 fn loader_timestamp(&self) -> zbus::Result<u64>;
962
963 #[zbus(property)]
965 fn loader_timestamp_monotonic(&self) -> zbus::Result<u64>;
966
967 #[zbus(property)]
969 fn log_level(&self) -> zbus::Result<String>;
970 #[zbus(property)]
971 fn set_log_level(&self, value: &str) -> zbus::Result<()>;
972
973 #[zbus(property)]
975 fn log_target(&self) -> zbus::Result<String>;
976 #[zbus(property)]
977 fn set_log_target(&self, value: &str) -> zbus::Result<()>;
978
979 #[zbus(property, name = "NFailedJobs")]
981 fn nfailed_jobs(&self) -> zbus::Result<u32>;
982
983 #[zbus(property, name = "NFailedUnits")]
985 fn nfailed_units(&self) -> zbus::Result<u32>;
986
987 #[zbus(property, name = "NInstalledJobs")]
989 fn ninstalled_jobs(&self) -> zbus::Result<u32>;
990
991 #[zbus(property, name = "NJobs")]
993 fn njobs(&self) -> zbus::Result<u32>;
994
995 #[zbus(property, name = "NNames")]
997 fn nnames(&self) -> zbus::Result<u32>;
998
999 #[zbus(property)]
1001 fn progress(&self) -> zbus::Result<f64>;
1002
1003 #[zbus(property, name = "RebootWatchdogUSec")]
1005 fn reboot_watchdog_usec(&self) -> zbus::Result<u64>;
1006 #[zbus(property, name = "RebootWatchdogUSec")]
1007 fn set_reboot_watchdog_usec(&self, value: u64) -> zbus::Result<()>;
1008
1009 #[zbus(property)]
1011 fn runtime_watchdog_pre_governor(&self) -> zbus::Result<String>;
1012 #[zbus(property)]
1013 fn set_runtime_watchdog_pre_governor(&self, value: &str) -> zbus::Result<()>;
1014
1015 #[zbus(property, name = "RuntimeWatchdogPreUSec")]
1017 fn runtime_watchdog_pre_usec(&self) -> zbus::Result<u64>;
1018 #[zbus(property, name = "RuntimeWatchdogPreUSec")]
1019 fn set_runtime_watchdog_pre_usec(&self, value: u64) -> zbus::Result<()>;
1020
1021 #[zbus(property, name = "RuntimeWatchdogUSec")]
1023 fn runtime_watchdog_usec(&self) -> zbus::Result<u64>;
1024 #[zbus(property, name = "RuntimeWatchdogUSec")]
1025 fn set_runtime_watchdog_usec(&self, value: u64) -> zbus::Result<()>;
1026
1027 #[zbus(property)]
1029 fn security_finish_timestamp(&self) -> zbus::Result<u64>;
1030
1031 #[zbus(property)]
1033 fn security_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
1034
1035 #[zbus(property)]
1037 fn security_start_timestamp(&self) -> zbus::Result<u64>;
1038
1039 #[zbus(property)]
1041 fn security_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
1042
1043 #[zbus(property)]
1045 fn service_watchdogs(&self) -> zbus::Result<bool>;
1046 #[zbus(property)]
1047 fn set_service_watchdogs(&self, value: bool) -> zbus::Result<()>;
1048
1049 #[zbus(property)]
1051 fn show_status(&self) -> zbus::Result<bool>;
1052
1053 #[zbus(property)]
1055 fn shutdown_start_timestamp(&self) -> zbus::Result<u64>;
1056
1057 #[zbus(property)]
1059 fn shutdown_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
1060
1061 #[zbus(property)]
1063 fn soft_reboots_count(&self) -> zbus::Result<u32>;
1064
1065 #[zbus(property)]
1067 fn system_state(&self) -> zbus::Result<String>;
1068
1069 #[zbus(property)]
1071 fn tainted(&self) -> zbus::Result<String>;
1072
1073 #[zbus(property, name = "TimerSlackNSec")]
1075 fn timer_slack_nsec(&self) -> zbus::Result<u64>;
1076
1077 #[zbus(property)]
1079 fn unit_path(&self) -> zbus::Result<Vec<String>>;
1080
1081 #[zbus(property)]
1083 fn units_load_finish_timestamp(&self) -> zbus::Result<u64>;
1084
1085 #[zbus(property)]
1087 fn units_load_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
1088
1089 #[zbus(property)]
1091 fn units_load_start_timestamp(&self) -> zbus::Result<u64>;
1092
1093 #[zbus(property)]
1095 fn units_load_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
1096
1097 #[zbus(property)]
1099 fn units_load_timestamp(&self) -> zbus::Result<u64>;
1100
1101 #[zbus(property)]
1103 fn units_load_timestamp_monotonic(&self) -> zbus::Result<u64>;
1104
1105 #[zbus(property)]
1107 fn userspace_timestamp(&self) -> zbus::Result<u64>;
1108
1109 #[zbus(property)]
1111 fn userspace_timestamp_monotonic(&self) -> zbus::Result<u64>;
1112
1113 #[zbus(property)]
1115 fn version(&self) -> zbus::Result<String>;
1116
1117 #[zbus(property)]
1119 fn virtualization(&self) -> zbus::Result<String>;
1120
1121 #[zbus(property)]
1123 fn watchdog_device(&self) -> zbus::Result<String>;
1124
1125 #[zbus(property)]
1127 fn watchdog_last_ping_timestamp(&self) -> zbus::Result<u64>;
1128
1129 #[zbus(property)]
1131 fn watchdog_last_ping_timestamp_monotonic(&self) -> zbus::Result<u64>;
1132}