1#![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 fn abandon_scope(&self, name: &str) -> zbus::Result<()>;
33
34 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 fn attach_processes_to_unit(
46 &self,
47 unit_name: &str,
48 subcgroup: &str,
49 pids: &[u32],
50 ) -> zbus::Result<()>;
51
52 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 fn cancel_job(&self, id: u32) -> zbus::Result<()>;
64
65 fn clean_unit(&self, name: &str, mask: &[&str]) -> zbus::Result<()>;
67
68 fn clear_jobs(&self) -> zbus::Result<()>;
70
71 fn disable_unit_files(
73 &self,
74 files: &[&str],
75 runtime: bool,
76 ) -> zbus::Result<Vec<(String, String, String)>>;
77
78 fn disable_unit_files_with_flags(
80 &self,
81 files: &[&str],
82 flags: u64,
83 ) -> zbus::Result<Vec<(String, String, String)>>;
84
85 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 fn dump(&self) -> zbus::Result<String>;
94
95 fn dump_by_file_descriptor(&self) -> zbus::Result<zbus::zvariant::OwnedFd>;
97
98 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 fn dump_units_matching_patterns(&self, patterns: &[&str]) -> zbus::Result<String>;
106
107 fn dump_units_matching_patterns_by_file_descriptor(
109 &self,
110 patterns: &[&str],
111 ) -> zbus::Result<zbus::zvariant::OwnedFd>;
112
113 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 fn enable_unit_files_with_flags(
123 &self,
124 files: &[&str],
125 flags: u64,
126 ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;
127
128 fn enqueue_marked_jobs(&self) -> zbus::Result<Vec<zbus::zvariant::OwnedObjectPath>>;
130
131 #[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 fn exit(&self) -> zbus::Result<()>;
155
156 fn freeze_unit(&self, name: &str) -> zbus::Result<()>;
158
159 fn get_default_target(&self) -> zbus::Result<String>;
161
162 fn get_dynamic_users(&self) -> zbus::Result<Vec<(u32, String)>>;
164
165 fn get_job(&self, id: u32) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
167
168 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 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 fn get_unit(&self, name: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
200
201 fn get_unit_by_control_group(
203 &self,
204 cgroup: &str,
205 ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
206
207 #[zbus(name = "GetUnitByInvocationID")]
209 fn get_unit_by_invocation_id(
210 &self,
211 invocation_id: &[u8],
212 ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
213
214 #[zbus(name = "GetUnitByPID")]
216 fn get_unit_by_pid(&self, pid: u32) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
217
218 #[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 fn get_unit_file_links(&self, name: &str, runtime: bool) -> zbus::Result<Vec<String>>;
227
228 fn get_unit_file_state(&self, file: &str) -> zbus::Result<String>;
230
231 fn get_unit_processes(&self, name: &str) -> zbus::Result<Vec<(String, u32, String)>>;
233
234 fn halt(&self) -> zbus::Result<()>;
236
237 #[zbus(name = "KExec")]
239 fn kexec(&self) -> zbus::Result<()>;
240
241 fn kill_unit(&self, name: &str, whom: &str, signal: i32) -> zbus::Result<()>;
243
244 fn link_unit_files(
246 &self,
247 files: &[&str],
248 runtime: bool,
249 force: bool,
250 ) -> zbus::Result<Vec<(String, String, String)>>;
251
252 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 fn list_unit_files(&self) -> zbus::Result<Vec<(String, String)>>;
268
269 fn list_unit_files_by_patterns(
271 &self,
272 states: &[&str],
273 patterns: &[&str],
274 ) -> zbus::Result<Vec<(String, String)>>;
275
276 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 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 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 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 fn load_unit(&self, name: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
354
355 fn lookup_dynamic_user_by_name(&self, name: &str) -> zbus::Result<u32>;
357
358 #[zbus(name = "LookupDynamicUserByUID")]
360 fn lookup_dynamic_user_by_uid(&self, uid: u32) -> zbus::Result<String>;
361
362 fn mask_unit_files(
364 &self,
365 files: &[&str],
366 runtime: bool,
367 force: bool,
368 ) -> zbus::Result<Vec<(String, String, String)>>;
369
370 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 fn power_off(&self) -> zbus::Result<()>;
383
384 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 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 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 fn queue_signal_unit(
411 &self,
412 name: &str,
413 whom: &str,
414 signal: i32,
415 value: i32,
416 ) -> zbus::Result<()>;
417
418 fn reboot(&self) -> zbus::Result<()>;
420
421 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 fn reexecute(&self) -> zbus::Result<()>;
431
432 fn ref_unit(&self, name: &str) -> zbus::Result<()>;
434
435 fn reload(&self) -> zbus::Result<()>;
437
438 fn reload_or_restart_unit(
440 &self,
441 name: &str,
442 mode: &str,
443 ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
444
445 fn reload_or_try_restart_unit(
447 &self,
448 name: &str,
449 mode: &str,
450 ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
451
452 fn reload_unit(&self, name: &str, mode: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
454
455 fn reset_failed(&self) -> zbus::Result<()>;
457
458 fn reset_failed_unit(&self, name: &str) -> zbus::Result<()>;
460
461 fn restart_unit(&self, name: &str, mode: &str)
463 -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
464
465 fn revert_unit_files(&self, files: &[&str]) -> zbus::Result<Vec<(String, String, String)>>;
467
468 fn set_default_target(
470 &self,
471 name: &str,
472 force: bool,
473 ) -> zbus::Result<Vec<(String, String, String)>>;
474
475 fn set_environment(&self, assignments: &[&str]) -> zbus::Result<()>;
477
478 fn set_exit_code(&self, number: u8) -> zbus::Result<()>;
480
481 fn set_show_status(&self, mode: &str) -> zbus::Result<()>;
483
484 fn set_unit_properties(
486 &self,
487 name: &str,
488 runtime: bool,
489 properties: &[&(&str, &zbus::zvariant::Value<'_>)],
490 ) -> zbus::Result<()>;
491
492 fn soft_reboot(&self, new_root: &str) -> zbus::Result<()>;
494
495 #[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 fn start_unit(&self, name: &str, mode: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
507
508 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 fn start_unit_with_flags(
518 &self,
519 name: &str,
520 mode: &str,
521 flags: u64,
522 ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
523
524 fn stop_unit(&self, name: &str, mode: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
526
527 fn subscribe(&self) -> zbus::Result<()>;
529
530 fn switch_root(&self, new_root: &str, init: &str) -> zbus::Result<()>;
532
533 fn thaw_unit(&self, name: &str) -> zbus::Result<()>;
535
536 fn try_restart_unit(
538 &self,
539 name: &str,
540 mode: &str,
541 ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
542
543 fn unmask_unit_files(
545 &self,
546 files: &[&str],
547 runtime: bool,
548 ) -> zbus::Result<Vec<(String, String, String)>>;
549
550 fn unref_unit(&self, name: &str) -> zbus::Result<()>;
552
553 fn unset_and_set_environment(&self, names: &[&str], assignments: &[&str]) -> zbus::Result<()>;
555
556 fn unset_environment(&self, names: &[&str]) -> zbus::Result<()>;
558
559 fn unsubscribe(&self) -> zbus::Result<()>;
561
562 #[zbus(signal)]
564 fn job_new(&self, id: u32, job: zbus::zvariant::ObjectPath<'_>, unit: &str)
565 -> zbus::Result<()>;
566
567 #[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 #[zbus(signal)]
579 fn reloading(&self, active: bool) -> zbus::Result<()>;
580
581 #[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 #[zbus(signal)]
595 fn unit_files_changed(&self) -> zbus::Result<()>;
596
597 #[zbus(signal)]
599 fn unit_new(&self, id: &str, unit: zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>;
600
601 #[zbus(signal)]
603 fn unit_removed(&self, id: &str, unit: zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>;
604
605 #[zbus(property)]
607 fn architecture(&self) -> zbus::Result<String>;
608
609 #[zbus(property)]
611 fn confidential_virtualization(&self) -> zbus::Result<String>;
612
613 #[zbus(property)]
615 fn confirm_spawn(&self) -> zbus::Result<bool>;
616
617 #[zbus(property)]
619 fn control_group(&self) -> zbus::Result<String>;
620
621 #[zbus(property)]
623 fn ctrl_alt_del_burst_action(&self) -> zbus::Result<String>;
624
625 #[zbus(property, name = "DefaultBlockIOAccounting")]
627 fn default_block_ioaccounting(&self) -> zbus::Result<bool>;
628
629 #[zbus(property, name = "DefaultCPUAccounting")]
631 fn default_cpuaccounting(&self) -> zbus::Result<bool>;
632
633 #[zbus(property, name = "DefaultDeviceTimeoutUSec")]
635 fn default_device_timeout_usec(&self) -> zbus::Result<u64>;
636
637 #[zbus(property, name = "DefaultIOAccounting")]
639 fn default_ioaccounting(&self) -> zbus::Result<bool>;
640
641 #[zbus(property, name = "DefaultIPAccounting")]
643 fn default_ipaccounting(&self) -> zbus::Result<bool>;
644
645 #[zbus(property, name = "DefaultLimitAS")]
647 fn default_limit_as(&self) -> zbus::Result<u64>;
648
649 #[zbus(property, name = "DefaultLimitASSoft")]
651 fn default_limit_assoft(&self) -> zbus::Result<u64>;
652
653 #[zbus(property, name = "DefaultLimitCORE")]
655 fn default_limit_core(&self) -> zbus::Result<u64>;
656
657 #[zbus(property, name = "DefaultLimitCORESoft")]
659 fn default_limit_coresoft(&self) -> zbus::Result<u64>;
660
661 #[zbus(property, name = "DefaultLimitCPU")]
663 fn default_limit_cpu(&self) -> zbus::Result<u64>;
664
665 #[zbus(property, name = "DefaultLimitCPUSoft")]
667 fn default_limit_cpusoft(&self) -> zbus::Result<u64>;
668
669 #[zbus(property, name = "DefaultLimitDATA")]
671 fn default_limit_data(&self) -> zbus::Result<u64>;
672
673 #[zbus(property, name = "DefaultLimitDATASoft")]
675 fn default_limit_datasoft(&self) -> zbus::Result<u64>;
676
677 #[zbus(property, name = "DefaultLimitFSIZE")]
679 fn default_limit_fsize(&self) -> zbus::Result<u64>;
680
681 #[zbus(property, name = "DefaultLimitFSIZESoft")]
683 fn default_limit_fsizesoft(&self) -> zbus::Result<u64>;
684
685 #[zbus(property, name = "DefaultLimitLOCKS")]
687 fn default_limit_locks(&self) -> zbus::Result<u64>;
688
689 #[zbus(property, name = "DefaultLimitLOCKSSoft")]
691 fn default_limit_lockssoft(&self) -> zbus::Result<u64>;
692
693 #[zbus(property, name = "DefaultLimitMEMLOCK")]
695 fn default_limit_memlock(&self) -> zbus::Result<u64>;
696
697 #[zbus(property, name = "DefaultLimitMEMLOCKSoft")]
699 fn default_limit_memlocksoft(&self) -> zbus::Result<u64>;
700
701 #[zbus(property, name = "DefaultLimitMSGQUEUE")]
703 fn default_limit_msgqueue(&self) -> zbus::Result<u64>;
704
705 #[zbus(property, name = "DefaultLimitMSGQUEUESoft")]
707 fn default_limit_msgqueuesoft(&self) -> zbus::Result<u64>;
708
709 #[zbus(property, name = "DefaultLimitNICE")]
711 fn default_limit_nice(&self) -> zbus::Result<u64>;
712
713 #[zbus(property, name = "DefaultLimitNICESoft")]
715 fn default_limit_nicesoft(&self) -> zbus::Result<u64>;
716
717 #[zbus(property, name = "DefaultLimitNOFILE")]
719 fn default_limit_nofile(&self) -> zbus::Result<u64>;
720
721 #[zbus(property, name = "DefaultLimitNOFILESoft")]
723 fn default_limit_nofilesoft(&self) -> zbus::Result<u64>;
724
725 #[zbus(property, name = "DefaultLimitNPROC")]
727 fn default_limit_nproc(&self) -> zbus::Result<u64>;
728
729 #[zbus(property, name = "DefaultLimitNPROCSoft")]
731 fn default_limit_nprocsoft(&self) -> zbus::Result<u64>;
732
733 #[zbus(property, name = "DefaultLimitRSS")]
735 fn default_limit_rss(&self) -> zbus::Result<u64>;
736
737 #[zbus(property, name = "DefaultLimitRSSSoft")]
739 fn default_limit_rsssoft(&self) -> zbus::Result<u64>;
740
741 #[zbus(property, name = "DefaultLimitRTPRIO")]
743 fn default_limit_rtprio(&self) -> zbus::Result<u64>;
744
745 #[zbus(property, name = "DefaultLimitRTPRIOSoft")]
747 fn default_limit_rtpriosoft(&self) -> zbus::Result<u64>;
748
749 #[zbus(property, name = "DefaultLimitRTTIME")]
751 fn default_limit_rttime(&self) -> zbus::Result<u64>;
752
753 #[zbus(property, name = "DefaultLimitRTTIMESoft")]
755 fn default_limit_rttimesoft(&self) -> zbus::Result<u64>;
756
757 #[zbus(property, name = "DefaultLimitSIGPENDING")]
759 fn default_limit_sigpending(&self) -> zbus::Result<u64>;
760
761 #[zbus(property, name = "DefaultLimitSIGPENDINGSoft")]
763 fn default_limit_sigpendingsoft(&self) -> zbus::Result<u64>;
764
765 #[zbus(property, name = "DefaultLimitSTACK")]
767 fn default_limit_stack(&self) -> zbus::Result<u64>;
768
769 #[zbus(property, name = "DefaultLimitSTACKSoft")]
771 fn default_limit_stacksoft(&self) -> zbus::Result<u64>;
772
773 #[zbus(property)]
775 fn default_memory_accounting(&self) -> zbus::Result<bool>;
776
777 #[zbus(property, name = "DefaultMemoryPressureThresholdUSec")]
779 fn default_memory_pressure_threshold_usec(&self) -> zbus::Result<u64>;
780
781 #[zbus(property)]
783 fn default_memory_pressure_watch(&self) -> zbus::Result<String>;
784
785 #[zbus(property, name = "DefaultOOMPolicy")]
787 fn default_oompolicy(&self) -> zbus::Result<String>;
788
789 #[zbus(property, name = "DefaultOOMScoreAdjust")]
791 fn default_oomscore_adjust(&self) -> zbus::Result<i32>;
792
793 #[zbus(property, name = "DefaultRestartUSec")]
795 fn default_restart_usec(&self) -> zbus::Result<u64>;
796
797 #[zbus(property)]
799 fn default_standard_error(&self) -> zbus::Result<String>;
800
801 #[zbus(property)]
803 fn default_standard_output(&self) -> zbus::Result<String>;
804
805 #[zbus(property)]
807 fn default_start_limit_burst(&self) -> zbus::Result<u32>;
808
809 #[zbus(property, name = "DefaultStartLimitIntervalUSec")]
811 fn default_start_limit_interval_usec(&self) -> zbus::Result<u64>;
812
813 #[zbus(property)]
815 fn default_tasks_accounting(&self) -> zbus::Result<bool>;
816
817 #[zbus(property)]
819 fn default_tasks_max(&self) -> zbus::Result<u64>;
820
821 #[zbus(property, name = "DefaultTimeoutAbortUSec")]
823 fn default_timeout_abort_usec(&self) -> zbus::Result<u64>;
824
825 #[zbus(property, name = "DefaultTimeoutStartUSec")]
827 fn default_timeout_start_usec(&self) -> zbus::Result<u64>;
828
829 #[zbus(property, name = "DefaultTimeoutStopUSec")]
831 fn default_timeout_stop_usec(&self) -> zbus::Result<u64>;
832
833 #[zbus(property, name = "DefaultTimerAccuracyUSec")]
835 fn default_timer_accuracy_usec(&self) -> zbus::Result<u64>;
836
837 #[zbus(property)]
839 fn environment(&self) -> zbus::Result<Vec<String>>;
840
841 #[zbus(property)]
843 fn exit_code(&self) -> zbus::Result<u8>;
844
845 #[zbus(property)]
847 fn features(&self) -> zbus::Result<String>;
848
849 #[zbus(property)]
851 fn finish_timestamp(&self) -> zbus::Result<u64>;
852
853 #[zbus(property)]
855 fn finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
856
857 #[zbus(property)]
859 fn firmware_timestamp(&self) -> zbus::Result<u64>;
860
861 #[zbus(property)]
863 fn firmware_timestamp_monotonic(&self) -> zbus::Result<u64>;
864
865 #[zbus(property)]
867 fn generators_finish_timestamp(&self) -> zbus::Result<u64>;
868
869 #[zbus(property)]
871 fn generators_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
872
873 #[zbus(property)]
875 fn generators_start_timestamp(&self) -> zbus::Result<u64>;
876
877 #[zbus(property)]
879 fn generators_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
880
881 #[zbus(property, name = "InitRDGeneratorsFinishTimestamp")]
883 fn init_rdgenerators_finish_timestamp(&self) -> zbus::Result<u64>;
884
885 #[zbus(property, name = "InitRDGeneratorsFinishTimestampMonotonic")]
887 fn init_rdgenerators_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
888
889 #[zbus(property, name = "InitRDGeneratorsStartTimestamp")]
891 fn init_rdgenerators_start_timestamp(&self) -> zbus::Result<u64>;
892
893 #[zbus(property, name = "InitRDGeneratorsStartTimestampMonotonic")]
895 fn init_rdgenerators_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
896
897 #[zbus(property, name = "InitRDSecurityFinishTimestamp")]
899 fn init_rdsecurity_finish_timestamp(&self) -> zbus::Result<u64>;
900
901 #[zbus(property, name = "InitRDSecurityFinishTimestampMonotonic")]
903 fn init_rdsecurity_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
904
905 #[zbus(property, name = "InitRDSecurityStartTimestamp")]
907 fn init_rdsecurity_start_timestamp(&self) -> zbus::Result<u64>;
908
909 #[zbus(property, name = "InitRDSecurityStartTimestampMonotonic")]
911 fn init_rdsecurity_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
912
913 #[zbus(property, name = "InitRDTimestamp")]
915 fn init_rdtimestamp(&self) -> zbus::Result<u64>;
916
917 #[zbus(property, name = "InitRDTimestampMonotonic")]
919 fn init_rdtimestamp_monotonic(&self) -> zbus::Result<u64>;
920
921 #[zbus(property, name = "InitRDUnitsLoadFinishTimestamp")]
923 fn init_rdunits_load_finish_timestamp(&self) -> zbus::Result<u64>;
924
925 #[zbus(property, name = "InitRDUnitsLoadFinishTimestampMonotonic")]
927 fn init_rdunits_load_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
928
929 #[zbus(property, name = "InitRDUnitsLoadStartTimestamp")]
931 fn init_rdunits_load_start_timestamp(&self) -> zbus::Result<u64>;
932
933 #[zbus(property, name = "InitRDUnitsLoadStartTimestampMonotonic")]
935 fn init_rdunits_load_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
936
937 #[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 #[zbus(property)]
945 fn kernel_timestamp(&self) -> zbus::Result<u64>;
946
947 #[zbus(property)]
949 fn kernel_timestamp_monotonic(&self) -> zbus::Result<u64>;
950
951 #[zbus(property)]
953 fn loader_timestamp(&self) -> zbus::Result<u64>;
954
955 #[zbus(property)]
957 fn loader_timestamp_monotonic(&self) -> zbus::Result<u64>;
958
959 #[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 #[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 #[zbus(property, name = "NFailedJobs")]
973 fn nfailed_jobs(&self) -> zbus::Result<u32>;
974
975 #[zbus(property, name = "NFailedUnits")]
977 fn nfailed_units(&self) -> zbus::Result<u32>;
978
979 #[zbus(property, name = "NInstalledJobs")]
981 fn ninstalled_jobs(&self) -> zbus::Result<u32>;
982
983 #[zbus(property, name = "NJobs")]
985 fn njobs(&self) -> zbus::Result<u32>;
986
987 #[zbus(property, name = "NNames")]
989 fn nnames(&self) -> zbus::Result<u32>;
990
991 #[zbus(property)]
993 fn progress(&self) -> zbus::Result<f64>;
994
995 #[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 #[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 #[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 #[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 #[zbus(property)]
1021 fn security_finish_timestamp(&self) -> zbus::Result<u64>;
1022
1023 #[zbus(property)]
1025 fn security_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
1026
1027 #[zbus(property)]
1029 fn security_start_timestamp(&self) -> zbus::Result<u64>;
1030
1031 #[zbus(property)]
1033 fn security_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
1034
1035 #[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 #[zbus(property)]
1043 fn show_status(&self) -> zbus::Result<bool>;
1044
1045 #[zbus(property)]
1047 fn system_state(&self) -> zbus::Result<String>;
1048
1049 #[zbus(property)]
1051 fn tainted(&self) -> zbus::Result<String>;
1052
1053 #[zbus(property, name = "TimerSlackNSec")]
1055 fn timer_slack_nsec(&self) -> zbus::Result<u64>;
1056
1057 #[zbus(property)]
1059 fn unit_path(&self) -> zbus::Result<Vec<String>>;
1060
1061 #[zbus(property)]
1063 fn units_load_finish_timestamp(&self) -> zbus::Result<u64>;
1064
1065 #[zbus(property)]
1067 fn units_load_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;
1068
1069 #[zbus(property)]
1071 fn units_load_start_timestamp(&self) -> zbus::Result<u64>;
1072
1073 #[zbus(property)]
1075 fn units_load_start_timestamp_monotonic(&self) -> zbus::Result<u64>;
1076
1077 #[zbus(property)]
1079 fn units_load_timestamp(&self) -> zbus::Result<u64>;
1080
1081 #[zbus(property)]
1083 fn units_load_timestamp_monotonic(&self) -> zbus::Result<u64>;
1084
1085 #[zbus(property)]
1087 fn userspace_timestamp(&self) -> zbus::Result<u64>;
1088
1089 #[zbus(property)]
1091 fn userspace_timestamp_monotonic(&self) -> zbus::Result<u64>;
1092
1093 #[zbus(property)]
1095 fn version(&self) -> zbus::Result<String>;
1096
1097 #[zbus(property)]
1099 fn virtualization(&self) -> zbus::Result<String>;
1100
1101 #[zbus(property)]
1103 fn watchdog_device(&self) -> zbus::Result<String>;
1104
1105 #[zbus(property)]
1107 fn watchdog_last_ping_timestamp(&self) -> zbus::Result<u64>;
1108
1109 #[zbus(property)]
1111 fn watchdog_last_ping_timestamp_monotonic(&self) -> zbus::Result<u64>;
1112}