1use crate::zbus::proxy;
4
5#[proxy(
7 interface = "org.freedesktop.systemd1.Manager",
8 gen_blocking = false,
9 default_service = "org.freedesktop.systemd1",
10 default_path = "/org/freedesktop/systemd1"
11)]
12pub trait Manager {
13 #[zbus(name = "GetUnit")]
15 fn get_unit(&self, name: String) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
16
17 #[zbus(name = "GetUnitByPID")]
19 fn get_unit_by_pid(&self, pid: u32) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
20
21 #[zbus(name = "GetUnitByInvocationID")]
23 fn get_unit_by_invocation_id(
24 &self,
25 invocation_id: Vec<u8>,
26 ) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
27
28 #[zbus(name = "GetUnitByControlGroup")]
30 fn get_unit_by_control_group(
31 &self,
32 cgroup: String,
33 ) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
34
35 #[zbus(name = "GetUnitByPIDFD")]
37 fn get_unit_by_pidfd(
38 &self,
39 pidfd: crate::zvariant::OwnedFd,
40 ) -> crate::zbus::Result<(crate::zvariant::OwnedObjectPath, String, Vec<u8>)>;
41
42 #[zbus(name = "LoadUnit")]
44 fn load_unit(&self, name: String) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
45
46 #[zbus(name = "StartUnit")]
48 fn start_unit(
49 &self,
50 name: String,
51 mode: String,
52 ) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
53
54 #[zbus(name = "StartUnitWithFlags")]
56 fn start_unit_with_flags(
57 &self,
58 name: String,
59 mode: String,
60 flags: u64,
61 ) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
62
63 #[zbus(name = "StartUnitReplace")]
65 fn start_unit_replace(
66 &self,
67 old_unit: String,
68 new_unit: String,
69 mode: String,
70 ) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
71
72 #[zbus(name = "StopUnit")]
74 fn stop_unit(
75 &self,
76 name: String,
77 mode: String,
78 ) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
79
80 #[zbus(name = "ReloadUnit")]
82 fn reload_unit(
83 &self,
84 name: String,
85 mode: String,
86 ) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
87
88 #[zbus(name = "RestartUnit")]
90 fn restart_unit(
91 &self,
92 name: String,
93 mode: String,
94 ) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
95
96 #[zbus(name = "TryRestartUnit")]
98 fn try_restart_unit(
99 &self,
100 name: String,
101 mode: String,
102 ) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
103
104 #[zbus(name = "ReloadOrRestartUnit")]
106 fn reload_or_restart_unit(
107 &self,
108 name: String,
109 mode: String,
110 ) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
111
112 #[zbus(name = "ReloadOrTryRestartUnit")]
114 fn reload_or_try_restart_unit(
115 &self,
116 name: String,
117 mode: String,
118 ) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
119
120 #[zbus(name = "EnqueueUnitJob")]
122 fn enqueue_unit_job(
123 &self,
124 name: String,
125 job_type: String,
126 job_mode: String,
127 ) -> crate::zbus::Result<(
128 u32,
129 crate::zvariant::OwnedObjectPath,
130 String,
131 crate::zvariant::OwnedObjectPath,
132 String,
133 Vec<(
134 u32,
135 crate::zvariant::OwnedObjectPath,
136 String,
137 crate::zvariant::OwnedObjectPath,
138 String,
139 )>,
140 )>;
141
142 #[zbus(name = "KillUnit")]
144 fn kill_unit(&self, name: String, whom: String, signal: i32) -> crate::zbus::Result<()>;
145
146 #[zbus(name = "KillUnitSubgroup")]
148 fn kill_unit_subgroup(
149 &self,
150 name: String,
151 whom: String,
152 subgroup: String,
153 signal: i32,
154 ) -> crate::zbus::Result<()>;
155
156 #[zbus(name = "QueueSignalUnit")]
158 fn queue_signal_unit(
159 &self,
160 name: String,
161 whom: String,
162 signal: i32,
163 value: i32,
164 ) -> crate::zbus::Result<()>;
165
166 #[zbus(name = "CleanUnit")]
168 fn clean_unit(&self, name: String, mask: Vec<String>) -> crate::zbus::Result<()>;
169
170 #[zbus(name = "FreezeUnit")]
172 fn freeze_unit(&self, name: String) -> crate::zbus::Result<()>;
173
174 #[zbus(name = "ThawUnit")]
176 fn thaw_unit(&self, name: String) -> crate::zbus::Result<()>;
177
178 #[zbus(name = "ResetFailedUnit")]
180 fn reset_failed_unit(&self, name: String) -> crate::zbus::Result<()>;
181
182 #[zbus(name = "SetUnitProperties")]
184 fn set_unit_properties(
185 &self,
186 name: String,
187 runtime: bool,
188 properties: Vec<(String, crate::zvariant::OwnedValue)>,
189 ) -> crate::zbus::Result<()>;
190
191 #[zbus(name = "BindMountUnit")]
193 fn bind_mount_unit(
194 &self,
195 name: String,
196 source: String,
197 destination: String,
198 read_only: bool,
199 mkdir: bool,
200 ) -> crate::zbus::Result<()>;
201
202 #[zbus(name = "MountImageUnit")]
204 fn mount_image_unit(
205 &self,
206 name: String,
207 source: String,
208 destination: String,
209 read_only: bool,
210 mkdir: bool,
211 options: Vec<(String, String)>,
212 ) -> crate::zbus::Result<()>;
213
214 #[zbus(name = "RefUnit")]
216 fn ref_unit(&self, name: String) -> crate::zbus::Result<()>;
217
218 #[zbus(name = "UnrefUnit")]
220 fn unref_unit(&self, name: String) -> crate::zbus::Result<()>;
221
222 #[zbus(name = "StartTransientUnit")]
224 fn start_transient_unit(
225 &self,
226 name: String,
227 mode: String,
228 properties: Vec<(String, crate::zvariant::OwnedValue)>,
229 aux: Vec<(String, Vec<(String, crate::zvariant::OwnedValue)>)>,
230 ) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
231
232 #[zbus(name = "GetUnitProcesses")]
234 fn get_unit_processes(&self, name: String) -> crate::zbus::Result<Vec<(String, u32, String)>>;
235
236 #[zbus(name = "AttachProcessesToUnit")]
238 fn attach_processes_to_unit(
239 &self,
240 unit_name: String,
241 subcgroup: String,
242 pids: Vec<u32>,
243 ) -> crate::zbus::Result<()>;
244
245 #[zbus(name = "RemoveSubgroupFromUnit")]
247 fn remove_subgroup_from_unit(
248 &self,
249 unit_name: String,
250 subcgroup: String,
251 flags: u64,
252 ) -> crate::zbus::Result<()>;
253
254 #[zbus(name = "AbandonScope")]
256 fn abandon_scope(&self, name: String) -> crate::zbus::Result<()>;
257
258 #[zbus(name = "GetJob")]
260 fn get_job(&self, id: u32) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
261
262 #[zbus(name = "GetJobAfter")]
264 fn get_job_after(
265 &self,
266 id: u32,
267 ) -> crate::zbus::Result<
268 Vec<(
269 u32,
270 String,
271 String,
272 String,
273 crate::zvariant::OwnedObjectPath,
274 crate::zvariant::OwnedObjectPath,
275 )>,
276 >;
277
278 #[zbus(name = "GetJobBefore")]
280 fn get_job_before(
281 &self,
282 id: u32,
283 ) -> crate::zbus::Result<
284 Vec<(
285 u32,
286 String,
287 String,
288 String,
289 crate::zvariant::OwnedObjectPath,
290 crate::zvariant::OwnedObjectPath,
291 )>,
292 >;
293
294 #[zbus(name = "CancelJob")]
296 fn cancel_job(&self, id: u32) -> crate::zbus::Result<()>;
297
298 #[zbus(name = "ClearJobs")]
300 fn clear_jobs(&self) -> crate::zbus::Result<()>;
301
302 #[zbus(name = "ResetFailed")]
304 fn reset_failed(&self) -> crate::zbus::Result<()>;
305
306 #[zbus(name = "SetShowStatus")]
308 fn set_show_status(&self, mode: String) -> crate::zbus::Result<()>;
309
310 #[zbus(name = "ListUnits")]
312 fn list_units(
313 &self,
314 ) -> crate::zbus::Result<
315 Vec<(
316 String,
317 String,
318 String,
319 String,
320 String,
321 String,
322 crate::zvariant::OwnedObjectPath,
323 u32,
324 String,
325 crate::zvariant::OwnedObjectPath,
326 )>,
327 >;
328
329 #[zbus(name = "ListUnitsFiltered")]
331 fn list_units_filtered(
332 &self,
333 states: Vec<String>,
334 ) -> crate::zbus::Result<
335 Vec<(
336 String,
337 String,
338 String,
339 String,
340 String,
341 String,
342 crate::zvariant::OwnedObjectPath,
343 u32,
344 String,
345 crate::zvariant::OwnedObjectPath,
346 )>,
347 >;
348
349 #[zbus(name = "ListUnitsByPatterns")]
351 fn list_units_by_patterns(
352 &self,
353 states: Vec<String>,
354 patterns: Vec<String>,
355 ) -> crate::zbus::Result<
356 Vec<(
357 String,
358 String,
359 String,
360 String,
361 String,
362 String,
363 crate::zvariant::OwnedObjectPath,
364 u32,
365 String,
366 crate::zvariant::OwnedObjectPath,
367 )>,
368 >;
369
370 #[zbus(name = "ListUnitsByNames")]
372 fn list_units_by_names(
373 &self,
374 names: Vec<String>,
375 ) -> crate::zbus::Result<
376 Vec<(
377 String,
378 String,
379 String,
380 String,
381 String,
382 String,
383 crate::zvariant::OwnedObjectPath,
384 u32,
385 String,
386 crate::zvariant::OwnedObjectPath,
387 )>,
388 >;
389
390 #[zbus(name = "ListJobs")]
392 fn list_jobs(
393 &self,
394 ) -> crate::zbus::Result<
395 Vec<(
396 u32,
397 String,
398 String,
399 String,
400 crate::zvariant::OwnedObjectPath,
401 crate::zvariant::OwnedObjectPath,
402 )>,
403 >;
404
405 #[zbus(name = "Subscribe")]
407 fn subscribe(&self) -> crate::zbus::Result<()>;
408
409 #[zbus(name = "Unsubscribe")]
411 fn unsubscribe(&self) -> crate::zbus::Result<()>;
412
413 #[zbus(name = "Dump")]
415 fn dump(&self) -> crate::zbus::Result<String>;
416
417 #[zbus(name = "DumpUnitsMatchingPatterns")]
419 fn dump_units_matching_patterns(&self, patterns: Vec<String>) -> crate::zbus::Result<String>;
420
421 #[zbus(name = "DumpByFileDescriptor")]
423 fn dump_by_file_descriptor(&self) -> crate::zbus::Result<crate::zvariant::OwnedFd>;
424
425 #[zbus(name = "DumpUnitsMatchingPatternsByFileDescriptor")]
427 fn dump_units_matching_patterns_by_file_descriptor(
428 &self,
429 patterns: Vec<String>,
430 ) -> crate::zbus::Result<crate::zvariant::OwnedFd>;
431
432 #[zbus(name = "Reload")]
434 fn reload(&self) -> crate::zbus::Result<()>;
435
436 #[zbus(name = "Reexecute")]
438 fn reexecute(&self) -> crate::zbus::Result<()>;
439
440 #[zbus(name = "Exit")]
442 fn exit(&self) -> crate::zbus::Result<()>;
443
444 #[zbus(name = "Reboot")]
446 fn reboot(&self) -> crate::zbus::Result<()>;
447
448 #[zbus(name = "SoftReboot")]
450 fn soft_reboot(&self, new_root: String) -> crate::zbus::Result<()>;
451
452 #[zbus(name = "PowerOff")]
454 fn power_off(&self) -> crate::zbus::Result<()>;
455
456 #[zbus(name = "Halt")]
458 fn halt(&self) -> crate::zbus::Result<()>;
459
460 #[zbus(name = "KExec")]
462 fn k_exec(&self) -> crate::zbus::Result<()>;
463
464 #[zbus(name = "SwitchRoot")]
466 fn switch_root(&self, new_root: String, init: String) -> crate::zbus::Result<()>;
467
468 #[zbus(name = "SetEnvironment")]
470 fn set_environment(&self, assignments: Vec<String>) -> crate::zbus::Result<()>;
471
472 #[zbus(name = "UnsetEnvironment")]
474 fn unset_environment(&self, names: Vec<String>) -> crate::zbus::Result<()>;
475
476 #[zbus(name = "UnsetAndSetEnvironment")]
478 fn unset_and_set_environment(
479 &self,
480 names: Vec<String>,
481 assignments: Vec<String>,
482 ) -> crate::zbus::Result<()>;
483
484 #[zbus(name = "EnqueueMarkedJobs")]
486 fn enqueue_marked_jobs(&self) -> crate::zbus::Result<Vec<crate::zvariant::OwnedObjectPath>>;
487
488 #[zbus(name = "ListUnitFiles")]
490 fn list_unit_files(&self) -> crate::zbus::Result<Vec<(String, String)>>;
491
492 #[zbus(name = "ListUnitFilesByPatterns")]
494 fn list_unit_files_by_patterns(
495 &self,
496 states: Vec<String>,
497 patterns: Vec<String>,
498 ) -> crate::zbus::Result<Vec<(String, String)>>;
499
500 #[zbus(name = "GetUnitFileState")]
502 fn get_unit_file_state(&self, file: String) -> crate::zbus::Result<String>;
503
504 #[zbus(name = "EnableUnitFiles")]
506 fn enable_unit_files(
507 &self,
508 files: Vec<String>,
509 runtime: bool,
510 force: bool,
511 ) -> crate::zbus::Result<(bool, Vec<(String, String, String)>)>;
512
513 #[zbus(name = "DisableUnitFiles")]
515 fn disable_unit_files(
516 &self,
517 files: Vec<String>,
518 runtime: bool,
519 ) -> crate::zbus::Result<Vec<(String, String, String)>>;
520
521 #[zbus(name = "EnableUnitFilesWithFlags")]
523 fn enable_unit_files_with_flags(
524 &self,
525 files: Vec<String>,
526 flags: u64,
527 ) -> crate::zbus::Result<(bool, Vec<(String, String, String)>)>;
528
529 #[zbus(name = "DisableUnitFilesWithFlags")]
531 fn disable_unit_files_with_flags(
532 &self,
533 files: Vec<String>,
534 flags: u64,
535 ) -> crate::zbus::Result<Vec<(String, String, String)>>;
536
537 #[zbus(name = "DisableUnitFilesWithFlagsAndInstallInfo")]
539 fn disable_unit_files_with_flags_and_install_info(
540 &self,
541 files: Vec<String>,
542 flags: u64,
543 ) -> crate::zbus::Result<(bool, Vec<(String, String, String)>)>;
544
545 #[zbus(name = "ReenableUnitFiles")]
547 fn reenable_unit_files(
548 &self,
549 files: Vec<String>,
550 runtime: bool,
551 force: bool,
552 ) -> crate::zbus::Result<(bool, Vec<(String, String, String)>)>;
553
554 #[zbus(name = "LinkUnitFiles")]
556 fn link_unit_files(
557 &self,
558 files: Vec<String>,
559 runtime: bool,
560 force: bool,
561 ) -> crate::zbus::Result<Vec<(String, String, String)>>;
562
563 #[zbus(name = "PresetUnitFiles")]
565 fn preset_unit_files(
566 &self,
567 files: Vec<String>,
568 runtime: bool,
569 force: bool,
570 ) -> crate::zbus::Result<(bool, Vec<(String, String, String)>)>;
571
572 #[zbus(name = "PresetUnitFilesWithMode")]
574 fn preset_unit_files_with_mode(
575 &self,
576 files: Vec<String>,
577 mode: String,
578 runtime: bool,
579 force: bool,
580 ) -> crate::zbus::Result<(bool, Vec<(String, String, String)>)>;
581
582 #[zbus(name = "MaskUnitFiles")]
584 fn mask_unit_files(
585 &self,
586 files: Vec<String>,
587 runtime: bool,
588 force: bool,
589 ) -> crate::zbus::Result<Vec<(String, String, String)>>;
590
591 #[zbus(name = "UnmaskUnitFiles")]
593 fn unmask_unit_files(
594 &self,
595 files: Vec<String>,
596 runtime: bool,
597 ) -> crate::zbus::Result<Vec<(String, String, String)>>;
598
599 #[zbus(name = "RevertUnitFiles")]
601 fn revert_unit_files(
602 &self,
603 files: Vec<String>,
604 ) -> crate::zbus::Result<Vec<(String, String, String)>>;
605
606 #[zbus(name = "SetDefaultTarget")]
608 fn set_default_target(
609 &self,
610 name: String,
611 force: bool,
612 ) -> crate::zbus::Result<Vec<(String, String, String)>>;
613
614 #[zbus(name = "GetDefaultTarget")]
616 fn get_default_target(&self) -> crate::zbus::Result<String>;
617
618 #[zbus(name = "PresetAllUnitFiles")]
620 fn preset_all_unit_files(
621 &self,
622 mode: String,
623 runtime: bool,
624 force: bool,
625 ) -> crate::zbus::Result<Vec<(String, String, String)>>;
626
627 #[zbus(name = "AddDependencyUnitFiles")]
629 fn add_dependency_unit_files(
630 &self,
631 files: Vec<String>,
632 target: String,
633 arg_type: String,
634 runtime: bool,
635 force: bool,
636 ) -> crate::zbus::Result<Vec<(String, String, String)>>;
637
638 #[zbus(name = "GetUnitFileLinks")]
640 fn get_unit_file_links(&self, name: String, runtime: bool) -> crate::zbus::Result<Vec<String>>;
641
642 #[zbus(name = "SetExitCode")]
644 fn set_exit_code(&self, number: u8) -> crate::zbus::Result<()>;
645
646 #[zbus(name = "LookupDynamicUserByName")]
648 fn lookup_dynamic_user_by_name(&self, name: String) -> crate::zbus::Result<u32>;
649
650 #[zbus(name = "LookupDynamicUserByUID")]
652 fn lookup_dynamic_user_by_uid(&self, uid: u32) -> crate::zbus::Result<String>;
653
654 #[zbus(name = "GetDynamicUsers")]
656 fn get_dynamic_users(&self) -> crate::zbus::Result<Vec<(u32, String)>>;
657
658 #[zbus(name = "DumpUnitFileDescriptorStore")]
660 fn dump_unit_file_descriptor_store(
661 &self,
662 name: String,
663 ) -> crate::zbus::Result<Vec<(String, u32, u32, u32, u64, u32, u32, String, u32)>>;
664
665 #[zbus(signal, name = "UnitNew")]
667 fn unit_new(
668 &self,
669 id: String,
670 unit: crate::zvariant::OwnedObjectPath,
671 ) -> crate::zbus::Result<()>;
672
673 #[zbus(signal, name = "UnitRemoved")]
675 fn unit_removed(
676 &self,
677 id: String,
678 unit: crate::zvariant::OwnedObjectPath,
679 ) -> crate::zbus::Result<()>;
680
681 #[zbus(signal, name = "JobNew")]
683 fn job_new(
684 &self,
685 id: u32,
686 job: crate::zvariant::OwnedObjectPath,
687 unit: String,
688 ) -> crate::zbus::Result<()>;
689
690 #[zbus(signal, name = "JobRemoved")]
692 fn job_removed(
693 &self,
694 id: u32,
695 job: crate::zvariant::OwnedObjectPath,
696 unit: String,
697 result: String,
698 ) -> crate::zbus::Result<()>;
699
700 #[zbus(signal, name = "StartupFinished")]
702 fn startup_finished(
703 &self,
704 firmware: u64,
705 loader: u64,
706 kernel: u64,
707 initrd: u64,
708 userspace: u64,
709 total: u64,
710 ) -> crate::zbus::Result<()>;
711
712 #[zbus(signal, name = "UnitFilesChanged")]
714 fn unit_files_changed(&self) -> crate::zbus::Result<()>;
715
716 #[zbus(signal, name = "Reloading")]
718 fn reloading(&self, active: bool) -> crate::zbus::Result<()>;
719
720 #[zbus(property(emits_changed_signal = "const"), name = "Version")]
722 fn version(&self) -> crate::zbus::Result<String>;
723
724 #[zbus(property(emits_changed_signal = "const"), name = "Features")]
726 fn features(&self) -> crate::zbus::Result<String>;
727
728 #[zbus(property(emits_changed_signal = "const"), name = "Virtualization")]
730 fn virtualization(&self) -> crate::zbus::Result<String>;
731
732 #[zbus(
734 property(emits_changed_signal = "const"),
735 name = "ConfidentialVirtualization"
736 )]
737 fn confidential_virtualization(&self) -> crate::zbus::Result<String>;
738
739 #[zbus(property(emits_changed_signal = "const"), name = "Architecture")]
741 fn architecture(&self) -> crate::zbus::Result<String>;
742
743 #[zbus(property(emits_changed_signal = "const"), name = "Tainted")]
745 fn tainted(&self) -> crate::zbus::Result<String>;
746
747 #[zbus(property(emits_changed_signal = "const"), name = "FirmwareTimestamp")]
749 fn firmware_timestamp(&self) -> crate::zbus::Result<u64>;
750
751 #[zbus(
753 property(emits_changed_signal = "const"),
754 name = "FirmwareTimestampMonotonic"
755 )]
756 fn firmware_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
757
758 #[zbus(property(emits_changed_signal = "const"), name = "LoaderTimestamp")]
760 fn loader_timestamp(&self) -> crate::zbus::Result<u64>;
761
762 #[zbus(
764 property(emits_changed_signal = "const"),
765 name = "LoaderTimestampMonotonic"
766 )]
767 fn loader_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
768
769 #[zbus(property(emits_changed_signal = "const"), name = "KernelTimestamp")]
771 fn kernel_timestamp(&self) -> crate::zbus::Result<u64>;
772
773 #[zbus(
775 property(emits_changed_signal = "const"),
776 name = "KernelTimestampMonotonic"
777 )]
778 fn kernel_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
779
780 #[zbus(property(emits_changed_signal = "const"), name = "InitRDTimestamp")]
782 fn init_rd_timestamp(&self) -> crate::zbus::Result<u64>;
783
784 #[zbus(
786 property(emits_changed_signal = "const"),
787 name = "InitRDTimestampMonotonic"
788 )]
789 fn init_rd_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
790
791 #[zbus(property(emits_changed_signal = "const"), name = "UserspaceTimestamp")]
793 fn userspace_timestamp(&self) -> crate::zbus::Result<u64>;
794
795 #[zbus(
797 property(emits_changed_signal = "const"),
798 name = "UserspaceTimestampMonotonic"
799 )]
800 fn userspace_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
801
802 #[zbus(property(emits_changed_signal = "const"), name = "FinishTimestamp")]
804 fn finish_timestamp(&self) -> crate::zbus::Result<u64>;
805
806 #[zbus(
808 property(emits_changed_signal = "const"),
809 name = "FinishTimestampMonotonic"
810 )]
811 fn finish_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
812
813 #[zbus(
815 property(emits_changed_signal = "const"),
816 name = "ShutdownStartTimestamp"
817 )]
818 fn shutdown_start_timestamp(&self) -> crate::zbus::Result<u64>;
819
820 #[zbus(
822 property(emits_changed_signal = "const"),
823 name = "ShutdownStartTimestampMonotonic"
824 )]
825 fn shutdown_start_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
826
827 #[zbus(
829 property(emits_changed_signal = "const"),
830 name = "SecurityStartTimestamp"
831 )]
832 fn security_start_timestamp(&self) -> crate::zbus::Result<u64>;
833
834 #[zbus(
836 property(emits_changed_signal = "const"),
837 name = "SecurityStartTimestampMonotonic"
838 )]
839 fn security_start_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
840
841 #[zbus(
843 property(emits_changed_signal = "const"),
844 name = "SecurityFinishTimestamp"
845 )]
846 fn security_finish_timestamp(&self) -> crate::zbus::Result<u64>;
847
848 #[zbus(
850 property(emits_changed_signal = "const"),
851 name = "SecurityFinishTimestampMonotonic"
852 )]
853 fn security_finish_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
854
855 #[zbus(
857 property(emits_changed_signal = "const"),
858 name = "GeneratorsStartTimestamp"
859 )]
860 fn generators_start_timestamp(&self) -> crate::zbus::Result<u64>;
861
862 #[zbus(
864 property(emits_changed_signal = "const"),
865 name = "GeneratorsStartTimestampMonotonic"
866 )]
867 fn generators_start_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
868
869 #[zbus(
871 property(emits_changed_signal = "const"),
872 name = "GeneratorsFinishTimestamp"
873 )]
874 fn generators_finish_timestamp(&self) -> crate::zbus::Result<u64>;
875
876 #[zbus(
878 property(emits_changed_signal = "const"),
879 name = "GeneratorsFinishTimestampMonotonic"
880 )]
881 fn generators_finish_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
882
883 #[zbus(
885 property(emits_changed_signal = "const"),
886 name = "UnitsLoadStartTimestamp"
887 )]
888 fn units_load_start_timestamp(&self) -> crate::zbus::Result<u64>;
889
890 #[zbus(
892 property(emits_changed_signal = "const"),
893 name = "UnitsLoadStartTimestampMonotonic"
894 )]
895 fn units_load_start_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
896
897 #[zbus(
899 property(emits_changed_signal = "const"),
900 name = "UnitsLoadFinishTimestamp"
901 )]
902 fn units_load_finish_timestamp(&self) -> crate::zbus::Result<u64>;
903
904 #[zbus(
906 property(emits_changed_signal = "const"),
907 name = "UnitsLoadFinishTimestampMonotonic"
908 )]
909 fn units_load_finish_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
910
911 #[zbus(property(emits_changed_signal = "const"), name = "UnitsLoadTimestamp")]
913 fn units_load_timestamp(&self) -> crate::zbus::Result<u64>;
914
915 #[zbus(
917 property(emits_changed_signal = "const"),
918 name = "UnitsLoadTimestampMonotonic"
919 )]
920 fn units_load_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
921
922 #[zbus(
924 property(emits_changed_signal = "const"),
925 name = "InitRDSecurityStartTimestamp"
926 )]
927 fn init_rd_security_start_timestamp(&self) -> crate::zbus::Result<u64>;
928
929 #[zbus(
931 property(emits_changed_signal = "const"),
932 name = "InitRDSecurityStartTimestampMonotonic"
933 )]
934 fn init_rd_security_start_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
935
936 #[zbus(
938 property(emits_changed_signal = "const"),
939 name = "InitRDSecurityFinishTimestamp"
940 )]
941 fn init_rd_security_finish_timestamp(&self) -> crate::zbus::Result<u64>;
942
943 #[zbus(
945 property(emits_changed_signal = "const"),
946 name = "InitRDSecurityFinishTimestampMonotonic"
947 )]
948 fn init_rd_security_finish_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
949
950 #[zbus(
952 property(emits_changed_signal = "const"),
953 name = "InitRDGeneratorsStartTimestamp"
954 )]
955 fn init_rd_generators_start_timestamp(&self) -> crate::zbus::Result<u64>;
956
957 #[zbus(
959 property(emits_changed_signal = "const"),
960 name = "InitRDGeneratorsStartTimestampMonotonic"
961 )]
962 fn init_rd_generators_start_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
963
964 #[zbus(
966 property(emits_changed_signal = "const"),
967 name = "InitRDGeneratorsFinishTimestamp"
968 )]
969 fn init_rd_generators_finish_timestamp(&self) -> crate::zbus::Result<u64>;
970
971 #[zbus(
973 property(emits_changed_signal = "const"),
974 name = "InitRDGeneratorsFinishTimestampMonotonic"
975 )]
976 fn init_rd_generators_finish_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
977
978 #[zbus(
980 property(emits_changed_signal = "const"),
981 name = "InitRDUnitsLoadStartTimestamp"
982 )]
983 fn init_rd_units_load_start_timestamp(&self) -> crate::zbus::Result<u64>;
984
985 #[zbus(
987 property(emits_changed_signal = "const"),
988 name = "InitRDUnitsLoadStartTimestampMonotonic"
989 )]
990 fn init_rd_units_load_start_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
991
992 #[zbus(
994 property(emits_changed_signal = "const"),
995 name = "InitRDUnitsLoadFinishTimestamp"
996 )]
997 fn init_rd_units_load_finish_timestamp(&self) -> crate::zbus::Result<u64>;
998
999 #[zbus(
1001 property(emits_changed_signal = "const"),
1002 name = "InitRDUnitsLoadFinishTimestampMonotonic"
1003 )]
1004 fn init_rd_units_load_finish_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
1005
1006 #[zbus(property(emits_changed_signal = "false"), name = "LogLevel")]
1008 fn log_level(&self) -> crate::zbus::Result<String>;
1009
1010 #[zbus(property, name = "LogLevel")]
1012 fn set_property_log_level(&self, new_value: String) -> crate::zbus::Result<()>;
1013
1014 #[zbus(property(emits_changed_signal = "false"), name = "LogTarget")]
1016 fn log_target(&self) -> crate::zbus::Result<String>;
1017
1018 #[zbus(property, name = "LogTarget")]
1020 fn set_property_log_target(&self, new_value: String) -> crate::zbus::Result<()>;
1021
1022 #[zbus(property(emits_changed_signal = "false"), name = "NNames")]
1024 fn n_names(&self) -> crate::zbus::Result<u32>;
1025
1026 #[zbus(property(emits_changed_signal = "true"), name = "NFailedUnits")]
1028 fn n_failed_units(&self) -> crate::zbus::Result<u32>;
1029
1030 #[zbus(property(emits_changed_signal = "false"), name = "NJobs")]
1032 fn n_jobs(&self) -> crate::zbus::Result<u32>;
1033
1034 #[zbus(property(emits_changed_signal = "false"), name = "NInstalledJobs")]
1036 fn n_installed_jobs(&self) -> crate::zbus::Result<u32>;
1037
1038 #[zbus(property(emits_changed_signal = "false"), name = "NFailedJobs")]
1040 fn n_failed_jobs(&self) -> crate::zbus::Result<u32>;
1041
1042 #[zbus(
1044 property(emits_changed_signal = "false"),
1045 name = "TransactionsWithOrderingCycle"
1046 )]
1047 fn transactions_with_ordering_cycle(&self) -> crate::zbus::Result<Vec<u64>>;
1048
1049 #[zbus(property(emits_changed_signal = "false"), name = "Progress")]
1051 fn progress(&self) -> crate::zbus::Result<f64>;
1052
1053 #[zbus(property(emits_changed_signal = "false"), name = "Environment")]
1055 fn environment(&self) -> crate::zbus::Result<Vec<String>>;
1056
1057 #[zbus(property(emits_changed_signal = "const"), name = "ConfirmSpawn")]
1059 fn confirm_spawn(&self) -> crate::zbus::Result<bool>;
1060
1061 #[zbus(property(emits_changed_signal = "false"), name = "ShowStatus")]
1063 fn show_status(&self) -> crate::zbus::Result<bool>;
1064
1065 #[zbus(property(emits_changed_signal = "const"), name = "UnitPath")]
1067 fn unit_path(&self) -> crate::zbus::Result<Vec<String>>;
1068
1069 #[zbus(
1071 property(emits_changed_signal = "const"),
1072 name = "DefaultStandardOutput"
1073 )]
1074 fn default_standard_output(&self) -> crate::zbus::Result<String>;
1075
1076 #[zbus(
1078 property(emits_changed_signal = "const"),
1079 name = "DefaultStandardError"
1080 )]
1081 fn default_standard_error(&self) -> crate::zbus::Result<String>;
1082
1083 #[zbus(property(emits_changed_signal = "const"), name = "WatchdogDevice")]
1085 fn watchdog_device(&self) -> crate::zbus::Result<String>;
1086
1087 #[zbus(
1089 property(emits_changed_signal = "false"),
1090 name = "WatchdogLastPingTimestamp"
1091 )]
1092 fn watchdog_last_ping_timestamp(&self) -> crate::zbus::Result<u64>;
1093
1094 #[zbus(
1096 property(emits_changed_signal = "false"),
1097 name = "WatchdogLastPingTimestampMonotonic"
1098 )]
1099 fn watchdog_last_ping_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
1100
1101 #[zbus(property(emits_changed_signal = "false"), name = "RuntimeWatchdogUSec")]
1103 fn runtime_watchdog_u_sec(&self) -> crate::zbus::Result<u64>;
1104
1105 #[zbus(property, name = "RuntimeWatchdogUSec")]
1107 fn set_property_runtime_watchdog_u_sec(&self, new_value: u64) -> crate::zbus::Result<()>;
1108
1109 #[zbus(
1111 property(emits_changed_signal = "false"),
1112 name = "RuntimeWatchdogPreUSec"
1113 )]
1114 fn runtime_watchdog_pre_u_sec(&self) -> crate::zbus::Result<u64>;
1115
1116 #[zbus(property, name = "RuntimeWatchdogPreUSec")]
1118 fn set_property_runtime_watchdog_pre_u_sec(&self, new_value: u64) -> crate::zbus::Result<()>;
1119
1120 #[zbus(
1122 property(emits_changed_signal = "false"),
1123 name = "RuntimeWatchdogPreGovernor"
1124 )]
1125 fn runtime_watchdog_pre_governor(&self) -> crate::zbus::Result<String>;
1126
1127 #[zbus(property, name = "RuntimeWatchdogPreGovernor")]
1129 fn set_property_runtime_watchdog_pre_governor(
1130 &self,
1131 new_value: String,
1132 ) -> crate::zbus::Result<()>;
1133
1134 #[zbus(property(emits_changed_signal = "false"), name = "RebootWatchdogUSec")]
1136 fn reboot_watchdog_u_sec(&self) -> crate::zbus::Result<u64>;
1137
1138 #[zbus(property, name = "RebootWatchdogUSec")]
1140 fn set_property_reboot_watchdog_u_sec(&self, new_value: u64) -> crate::zbus::Result<()>;
1141
1142 #[zbus(property(emits_changed_signal = "false"), name = "KExecWatchdogUSec")]
1144 fn k_exec_watchdog_u_sec(&self) -> crate::zbus::Result<u64>;
1145
1146 #[zbus(property, name = "KExecWatchdogUSec")]
1148 fn set_property_k_exec_watchdog_u_sec(&self, new_value: u64) -> crate::zbus::Result<()>;
1149
1150 #[zbus(property(emits_changed_signal = "false"), name = "ServiceWatchdogs")]
1152 fn service_watchdogs(&self) -> crate::zbus::Result<bool>;
1153
1154 #[zbus(property, name = "ServiceWatchdogs")]
1156 fn set_property_service_watchdogs(&self, new_value: bool) -> crate::zbus::Result<()>;
1157
1158 #[zbus(property(emits_changed_signal = "false"), name = "ControlGroup")]
1160 fn control_group(&self) -> crate::zbus::Result<String>;
1161
1162 #[zbus(property(emits_changed_signal = "false"), name = "SystemState")]
1164 fn system_state(&self) -> crate::zbus::Result<String>;
1165
1166 #[zbus(property(emits_changed_signal = "false"), name = "ExitCode")]
1168 fn exit_code(&self) -> crate::zbus::Result<u8>;
1169
1170 #[zbus(
1172 property(emits_changed_signal = "const"),
1173 name = "DefaultTimerAccuracyUSec"
1174 )]
1175 fn default_timer_accuracy_u_sec(&self) -> crate::zbus::Result<u64>;
1176
1177 #[zbus(
1179 property(emits_changed_signal = "const"),
1180 name = "DefaultTimeoutStartUSec"
1181 )]
1182 fn default_timeout_start_u_sec(&self) -> crate::zbus::Result<u64>;
1183
1184 #[zbus(
1186 property(emits_changed_signal = "const"),
1187 name = "DefaultTimeoutStopUSec"
1188 )]
1189 fn default_timeout_stop_u_sec(&self) -> crate::zbus::Result<u64>;
1190
1191 #[zbus(
1193 property(emits_changed_signal = "false"),
1194 name = "DefaultTimeoutAbortUSec"
1195 )]
1196 fn default_timeout_abort_u_sec(&self) -> crate::zbus::Result<u64>;
1197
1198 #[zbus(
1200 property(emits_changed_signal = "const"),
1201 name = "DefaultDeviceTimeoutUSec"
1202 )]
1203 fn default_device_timeout_u_sec(&self) -> crate::zbus::Result<u64>;
1204
1205 #[zbus(property(emits_changed_signal = "const"), name = "DefaultRestartUSec")]
1207 fn default_restart_u_sec(&self) -> crate::zbus::Result<u64>;
1208
1209 #[zbus(
1211 property(emits_changed_signal = "const"),
1212 name = "DefaultStartLimitIntervalUSec"
1213 )]
1214 fn default_start_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
1215
1216 #[zbus(
1218 property(emits_changed_signal = "const"),
1219 name = "DefaultStartLimitBurst"
1220 )]
1221 fn default_start_limit_burst(&self) -> crate::zbus::Result<u32>;
1222
1223 #[zbus(property(emits_changed_signal = "const"), name = "DefaultIOAccounting")]
1225 fn default_io_accounting(&self) -> crate::zbus::Result<bool>;
1226
1227 #[zbus(property(emits_changed_signal = "const"), name = "DefaultIPAccounting")]
1229 fn default_ip_accounting(&self) -> crate::zbus::Result<bool>;
1230
1231 #[zbus(
1233 property(emits_changed_signal = "const"),
1234 name = "DefaultMemoryAccounting"
1235 )]
1236 fn default_memory_accounting(&self) -> crate::zbus::Result<bool>;
1237
1238 #[zbus(
1240 property(emits_changed_signal = "const"),
1241 name = "DefaultTasksAccounting"
1242 )]
1243 fn default_tasks_accounting(&self) -> crate::zbus::Result<bool>;
1244
1245 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitCPU")]
1247 fn default_limit_cpu(&self) -> crate::zbus::Result<u64>;
1248
1249 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitCPUSoft")]
1251 fn default_limit_cpu_soft(&self) -> crate::zbus::Result<u64>;
1252
1253 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitFSIZE")]
1255 fn default_limit_fsize(&self) -> crate::zbus::Result<u64>;
1256
1257 #[zbus(
1259 property(emits_changed_signal = "const"),
1260 name = "DefaultLimitFSIZESoft"
1261 )]
1262 fn default_limit_fsize_soft(&self) -> crate::zbus::Result<u64>;
1263
1264 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitDATA")]
1266 fn default_limit_data(&self) -> crate::zbus::Result<u64>;
1267
1268 #[zbus(
1270 property(emits_changed_signal = "const"),
1271 name = "DefaultLimitDATASoft"
1272 )]
1273 fn default_limit_data_soft(&self) -> crate::zbus::Result<u64>;
1274
1275 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitSTACK")]
1277 fn default_limit_stack(&self) -> crate::zbus::Result<u64>;
1278
1279 #[zbus(
1281 property(emits_changed_signal = "const"),
1282 name = "DefaultLimitSTACKSoft"
1283 )]
1284 fn default_limit_stack_soft(&self) -> crate::zbus::Result<u64>;
1285
1286 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitCORE")]
1288 fn default_limit_core(&self) -> crate::zbus::Result<u64>;
1289
1290 #[zbus(
1292 property(emits_changed_signal = "const"),
1293 name = "DefaultLimitCORESoft"
1294 )]
1295 fn default_limit_core_soft(&self) -> crate::zbus::Result<u64>;
1296
1297 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitRSS")]
1299 fn default_limit_rss(&self) -> crate::zbus::Result<u64>;
1300
1301 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitRSSSoft")]
1303 fn default_limit_rss_soft(&self) -> crate::zbus::Result<u64>;
1304
1305 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitNOFILE")]
1307 fn default_limit_nofile(&self) -> crate::zbus::Result<u64>;
1308
1309 #[zbus(
1311 property(emits_changed_signal = "const"),
1312 name = "DefaultLimitNOFILESoft"
1313 )]
1314 fn default_limit_nofile_soft(&self) -> crate::zbus::Result<u64>;
1315
1316 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitAS")]
1318 fn default_limit_as(&self) -> crate::zbus::Result<u64>;
1319
1320 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitASSoft")]
1322 fn default_limit_as_soft(&self) -> crate::zbus::Result<u64>;
1323
1324 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitNPROC")]
1326 fn default_limit_nproc(&self) -> crate::zbus::Result<u64>;
1327
1328 #[zbus(
1330 property(emits_changed_signal = "const"),
1331 name = "DefaultLimitNPROCSoft"
1332 )]
1333 fn default_limit_nproc_soft(&self) -> crate::zbus::Result<u64>;
1334
1335 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitMEMLOCK")]
1337 fn default_limit_memlock(&self) -> crate::zbus::Result<u64>;
1338
1339 #[zbus(
1341 property(emits_changed_signal = "const"),
1342 name = "DefaultLimitMEMLOCKSoft"
1343 )]
1344 fn default_limit_memlock_soft(&self) -> crate::zbus::Result<u64>;
1345
1346 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitLOCKS")]
1348 fn default_limit_locks(&self) -> crate::zbus::Result<u64>;
1349
1350 #[zbus(
1352 property(emits_changed_signal = "const"),
1353 name = "DefaultLimitLOCKSSoft"
1354 )]
1355 fn default_limit_locks_soft(&self) -> crate::zbus::Result<u64>;
1356
1357 #[zbus(
1359 property(emits_changed_signal = "const"),
1360 name = "DefaultLimitSIGPENDING"
1361 )]
1362 fn default_limit_sigpending(&self) -> crate::zbus::Result<u64>;
1363
1364 #[zbus(
1366 property(emits_changed_signal = "const"),
1367 name = "DefaultLimitSIGPENDINGSoft"
1368 )]
1369 fn default_limit_sigpending_soft(&self) -> crate::zbus::Result<u64>;
1370
1371 #[zbus(
1373 property(emits_changed_signal = "const"),
1374 name = "DefaultLimitMSGQUEUE"
1375 )]
1376 fn default_limit_msgqueue(&self) -> crate::zbus::Result<u64>;
1377
1378 #[zbus(
1380 property(emits_changed_signal = "const"),
1381 name = "DefaultLimitMSGQUEUESoft"
1382 )]
1383 fn default_limit_msgqueue_soft(&self) -> crate::zbus::Result<u64>;
1384
1385 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitNICE")]
1387 fn default_limit_nice(&self) -> crate::zbus::Result<u64>;
1388
1389 #[zbus(
1391 property(emits_changed_signal = "const"),
1392 name = "DefaultLimitNICESoft"
1393 )]
1394 fn default_limit_nice_soft(&self) -> crate::zbus::Result<u64>;
1395
1396 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitRTPRIO")]
1398 fn default_limit_rtprio(&self) -> crate::zbus::Result<u64>;
1399
1400 #[zbus(
1402 property(emits_changed_signal = "const"),
1403 name = "DefaultLimitRTPRIOSoft"
1404 )]
1405 fn default_limit_rtprio_soft(&self) -> crate::zbus::Result<u64>;
1406
1407 #[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitRTTIME")]
1409 fn default_limit_rttime(&self) -> crate::zbus::Result<u64>;
1410
1411 #[zbus(
1413 property(emits_changed_signal = "const"),
1414 name = "DefaultLimitRTTIMESoft"
1415 )]
1416 fn default_limit_rttime_soft(&self) -> crate::zbus::Result<u64>;
1417
1418 #[zbus(property(emits_changed_signal = "false"), name = "DefaultTasksMax")]
1420 fn default_tasks_max(&self) -> crate::zbus::Result<u64>;
1421
1422 #[zbus(
1424 property(emits_changed_signal = "false"),
1425 name = "DefaultMemoryPressureThresholdUSec"
1426 )]
1427 fn default_memory_pressure_threshold_u_sec(&self) -> crate::zbus::Result<u64>;
1428
1429 #[zbus(
1431 property(emits_changed_signal = "false"),
1432 name = "DefaultMemoryPressureWatch"
1433 )]
1434 fn default_memory_pressure_watch(&self) -> crate::zbus::Result<String>;
1435
1436 #[zbus(property(emits_changed_signal = "const"), name = "TimerSlackNSec")]
1438 fn timer_slack_n_sec(&self) -> crate::zbus::Result<u64>;
1439
1440 #[zbus(property(emits_changed_signal = "const"), name = "DefaultOOMPolicy")]
1442 fn default_oom_policy(&self) -> crate::zbus::Result<String>;
1443
1444 #[zbus(
1446 property(emits_changed_signal = "const"),
1447 name = "DefaultOOMScoreAdjust"
1448 )]
1449 fn default_oom_score_adjust(&self) -> crate::zbus::Result<i32>;
1450
1451 #[zbus(
1453 property(emits_changed_signal = "const"),
1454 name = "DefaultRestrictSUIDSGID"
1455 )]
1456 fn default_restrict_suidsgid(&self) -> crate::zbus::Result<bool>;
1457
1458 #[zbus(
1460 property(emits_changed_signal = "const"),
1461 name = "CtrlAltDelBurstAction"
1462 )]
1463 fn ctrl_alt_del_burst_action(&self) -> crate::zbus::Result<String>;
1464
1465 #[zbus(property(emits_changed_signal = "const"), name = "SoftRebootsCount")]
1467 fn soft_reboots_count(&self) -> crate::zbus::Result<u32>;
1468}
1469
1470#[proxy(
1472 interface = "org.freedesktop.systemd1.Unit",
1473 gen_blocking = false,
1474 default_service = "org.freedesktop.systemd1",
1475 assume_defaults = false
1476)]
1477pub trait Unit {
1478 #[zbus(name = "Start")]
1480 fn start(&self, mode: String) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
1481
1482 #[zbus(name = "Stop")]
1484 fn stop(&self, mode: String) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
1485
1486 #[zbus(name = "Reload")]
1488 fn reload(&self, mode: String) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
1489
1490 #[zbus(name = "Restart")]
1492 fn restart(&self, mode: String) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
1493
1494 #[zbus(name = "TryRestart")]
1496 fn try_restart(&self, mode: String) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
1497
1498 #[zbus(name = "ReloadOrRestart")]
1500 fn reload_or_restart(
1501 &self,
1502 mode: String,
1503 ) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
1504
1505 #[zbus(name = "ReloadOrTryRestart")]
1507 fn reload_or_try_restart(
1508 &self,
1509 mode: String,
1510 ) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
1511
1512 #[zbus(name = "EnqueueJob")]
1514 fn enqueue_job(
1515 &self,
1516 job_type: String,
1517 job_mode: String,
1518 ) -> crate::zbus::Result<(
1519 u32,
1520 crate::zvariant::OwnedObjectPath,
1521 String,
1522 crate::zvariant::OwnedObjectPath,
1523 String,
1524 Vec<(
1525 u32,
1526 crate::zvariant::OwnedObjectPath,
1527 String,
1528 crate::zvariant::OwnedObjectPath,
1529 String,
1530 )>,
1531 )>;
1532
1533 #[zbus(name = "Kill")]
1535 fn kill(&self, whom: String, signal: i32) -> crate::zbus::Result<()>;
1536
1537 #[zbus(name = "KillSubgroup")]
1539 fn kill_subgroup(&self, subgroup: String, signal: i32) -> crate::zbus::Result<()>;
1540
1541 #[zbus(name = "QueueSignal")]
1543 fn queue_signal(&self, whom: String, signal: i32, value: i32) -> crate::zbus::Result<()>;
1544
1545 #[zbus(name = "ResetFailed")]
1547 fn reset_failed(&self) -> crate::zbus::Result<()>;
1548
1549 #[zbus(name = "SetProperties")]
1551 fn set_properties(
1552 &self,
1553 runtime: bool,
1554 properties: Vec<(String, crate::zvariant::OwnedValue)>,
1555 ) -> crate::zbus::Result<()>;
1556
1557 #[zbus(name = "Ref")]
1559 fn reference(&self) -> crate::zbus::Result<()>;
1560
1561 #[zbus(name = "Unref")]
1563 fn unref(&self) -> crate::zbus::Result<()>;
1564
1565 #[zbus(name = "Clean")]
1567 fn clean(&self, mask: Vec<String>) -> crate::zbus::Result<()>;
1568
1569 #[zbus(name = "Freeze")]
1571 fn freeze(&self) -> crate::zbus::Result<()>;
1572
1573 #[zbus(name = "Thaw")]
1575 fn thaw(&self) -> crate::zbus::Result<()>;
1576
1577 #[zbus(property(emits_changed_signal = "const"), name = "Id")]
1579 fn id(&self) -> crate::zbus::Result<String>;
1580
1581 #[zbus(property(emits_changed_signal = "const"), name = "Names")]
1583 fn names(&self) -> crate::zbus::Result<Vec<String>>;
1584
1585 #[zbus(property(emits_changed_signal = "false"), name = "Following")]
1587 fn following(&self) -> crate::zbus::Result<String>;
1588
1589 #[zbus(property(emits_changed_signal = "const"), name = "Requires")]
1591 fn requires(&self) -> crate::zbus::Result<Vec<String>>;
1592
1593 #[zbus(property(emits_changed_signal = "const"), name = "Requisite")]
1595 fn requisite(&self) -> crate::zbus::Result<Vec<String>>;
1596
1597 #[zbus(property(emits_changed_signal = "const"), name = "Wants")]
1599 fn wants(&self) -> crate::zbus::Result<Vec<String>>;
1600
1601 #[zbus(property(emits_changed_signal = "const"), name = "BindsTo")]
1603 fn binds_to(&self) -> crate::zbus::Result<Vec<String>>;
1604
1605 #[zbus(property(emits_changed_signal = "const"), name = "PartOf")]
1607 fn part_of(&self) -> crate::zbus::Result<Vec<String>>;
1608
1609 #[zbus(property(emits_changed_signal = "const"), name = "Upholds")]
1611 fn upholds(&self) -> crate::zbus::Result<Vec<String>>;
1612
1613 #[zbus(property(emits_changed_signal = "const"), name = "RequiredBy")]
1615 fn required_by(&self) -> crate::zbus::Result<Vec<String>>;
1616
1617 #[zbus(property(emits_changed_signal = "const"), name = "RequisiteOf")]
1619 fn requisite_of(&self) -> crate::zbus::Result<Vec<String>>;
1620
1621 #[zbus(property(emits_changed_signal = "const"), name = "WantedBy")]
1623 fn wanted_by(&self) -> crate::zbus::Result<Vec<String>>;
1624
1625 #[zbus(property(emits_changed_signal = "const"), name = "BoundBy")]
1627 fn bound_by(&self) -> crate::zbus::Result<Vec<String>>;
1628
1629 #[zbus(property(emits_changed_signal = "const"), name = "UpheldBy")]
1631 fn upheld_by(&self) -> crate::zbus::Result<Vec<String>>;
1632
1633 #[zbus(property(emits_changed_signal = "const"), name = "ConsistsOf")]
1635 fn consists_of(&self) -> crate::zbus::Result<Vec<String>>;
1636
1637 #[zbus(property(emits_changed_signal = "const"), name = "Conflicts")]
1639 fn conflicts(&self) -> crate::zbus::Result<Vec<String>>;
1640
1641 #[zbus(property(emits_changed_signal = "const"), name = "ConflictedBy")]
1643 fn conflicted_by(&self) -> crate::zbus::Result<Vec<String>>;
1644
1645 #[zbus(property(emits_changed_signal = "const"), name = "Before")]
1647 fn before(&self) -> crate::zbus::Result<Vec<String>>;
1648
1649 #[zbus(property(emits_changed_signal = "const"), name = "After")]
1651 fn after(&self) -> crate::zbus::Result<Vec<String>>;
1652
1653 #[zbus(property(emits_changed_signal = "const"), name = "OnSuccess")]
1655 fn on_success(&self) -> crate::zbus::Result<Vec<String>>;
1656
1657 #[zbus(property(emits_changed_signal = "const"), name = "OnSuccessOf")]
1659 fn on_success_of(&self) -> crate::zbus::Result<Vec<String>>;
1660
1661 #[zbus(property(emits_changed_signal = "const"), name = "OnFailure")]
1663 fn on_failure(&self) -> crate::zbus::Result<Vec<String>>;
1664
1665 #[zbus(property(emits_changed_signal = "const"), name = "OnFailureOf")]
1667 fn on_failure_of(&self) -> crate::zbus::Result<Vec<String>>;
1668
1669 #[zbus(property(emits_changed_signal = "const"), name = "Triggers")]
1671 fn triggers(&self) -> crate::zbus::Result<Vec<String>>;
1672
1673 #[zbus(property(emits_changed_signal = "const"), name = "TriggeredBy")]
1675 fn triggered_by(&self) -> crate::zbus::Result<Vec<String>>;
1676
1677 #[zbus(property(emits_changed_signal = "const"), name = "PropagatesReloadTo")]
1679 fn propagates_reload_to(&self) -> crate::zbus::Result<Vec<String>>;
1680
1681 #[zbus(
1683 property(emits_changed_signal = "const"),
1684 name = "ReloadPropagatedFrom"
1685 )]
1686 fn reload_propagated_from(&self) -> crate::zbus::Result<Vec<String>>;
1687
1688 #[zbus(property(emits_changed_signal = "const"), name = "PropagatesStopTo")]
1690 fn propagates_stop_to(&self) -> crate::zbus::Result<Vec<String>>;
1691
1692 #[zbus(property(emits_changed_signal = "const"), name = "StopPropagatedFrom")]
1694 fn stop_propagated_from(&self) -> crate::zbus::Result<Vec<String>>;
1695
1696 #[zbus(property(emits_changed_signal = "const"), name = "JoinsNamespaceOf")]
1698 fn joins_namespace_of(&self) -> crate::zbus::Result<Vec<String>>;
1699
1700 #[zbus(property(emits_changed_signal = "const"), name = "SliceOf")]
1702 fn slice_of(&self) -> crate::zbus::Result<Vec<String>>;
1703
1704 #[zbus(property(emits_changed_signal = "const"), name = "RequiresMountsFor")]
1706 fn requires_mounts_for(&self) -> crate::zbus::Result<Vec<String>>;
1707
1708 #[zbus(property(emits_changed_signal = "const"), name = "WantsMountsFor")]
1710 fn wants_mounts_for(&self) -> crate::zbus::Result<Vec<String>>;
1711
1712 #[zbus(property(emits_changed_signal = "const"), name = "Documentation")]
1714 fn documentation(&self) -> crate::zbus::Result<Vec<String>>;
1715
1716 #[zbus(property(emits_changed_signal = "const"), name = "Description")]
1718 fn description(&self) -> crate::zbus::Result<String>;
1719
1720 #[zbus(
1722 property(emits_changed_signal = "const"),
1723 name = "AccessSELinuxContext"
1724 )]
1725 fn access_se_linux_context(&self) -> crate::zbus::Result<String>;
1726
1727 #[zbus(property(emits_changed_signal = "const"), name = "LoadState")]
1729 fn load_state(&self) -> crate::zbus::Result<String>;
1730
1731 #[zbus(property(emits_changed_signal = "true"), name = "ActiveState")]
1733 fn active_state(&self) -> crate::zbus::Result<String>;
1734
1735 #[zbus(property(emits_changed_signal = "true"), name = "FreezerState")]
1737 fn freezer_state(&self) -> crate::zbus::Result<String>;
1738
1739 #[zbus(property(emits_changed_signal = "true"), name = "SubState")]
1741 fn sub_state(&self) -> crate::zbus::Result<String>;
1742
1743 #[zbus(property(emits_changed_signal = "const"), name = "FragmentPath")]
1745 fn fragment_path(&self) -> crate::zbus::Result<String>;
1746
1747 #[zbus(property(emits_changed_signal = "const"), name = "SourcePath")]
1749 fn source_path(&self) -> crate::zbus::Result<String>;
1750
1751 #[zbus(property(emits_changed_signal = "const"), name = "DropInPaths")]
1753 fn drop_in_paths(&self) -> crate::zbus::Result<Vec<String>>;
1754
1755 #[zbus(property(emits_changed_signal = "false"), name = "UnitFileState")]
1757 fn unit_file_state(&self) -> crate::zbus::Result<String>;
1758
1759 #[zbus(property(emits_changed_signal = "false"), name = "UnitFilePreset")]
1761 fn unit_file_preset(&self) -> crate::zbus::Result<String>;
1762
1763 #[zbus(property(emits_changed_signal = "true"), name = "StateChangeTimestamp")]
1765 fn state_change_timestamp(&self) -> crate::zbus::Result<u64>;
1766
1767 #[zbus(
1769 property(emits_changed_signal = "true"),
1770 name = "StateChangeTimestampMonotonic"
1771 )]
1772 fn state_change_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
1773
1774 #[zbus(
1776 property(emits_changed_signal = "true"),
1777 name = "InactiveExitTimestamp"
1778 )]
1779 fn inactive_exit_timestamp(&self) -> crate::zbus::Result<u64>;
1780
1781 #[zbus(
1783 property(emits_changed_signal = "true"),
1784 name = "InactiveExitTimestampMonotonic"
1785 )]
1786 fn inactive_exit_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
1787
1788 #[zbus(property(emits_changed_signal = "true"), name = "ActiveEnterTimestamp")]
1790 fn active_enter_timestamp(&self) -> crate::zbus::Result<u64>;
1791
1792 #[zbus(
1794 property(emits_changed_signal = "true"),
1795 name = "ActiveEnterTimestampMonotonic"
1796 )]
1797 fn active_enter_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
1798
1799 #[zbus(property(emits_changed_signal = "true"), name = "ActiveExitTimestamp")]
1801 fn active_exit_timestamp(&self) -> crate::zbus::Result<u64>;
1802
1803 #[zbus(
1805 property(emits_changed_signal = "true"),
1806 name = "ActiveExitTimestampMonotonic"
1807 )]
1808 fn active_exit_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
1809
1810 #[zbus(
1812 property(emits_changed_signal = "true"),
1813 name = "InactiveEnterTimestamp"
1814 )]
1815 fn inactive_enter_timestamp(&self) -> crate::zbus::Result<u64>;
1816
1817 #[zbus(
1819 property(emits_changed_signal = "true"),
1820 name = "InactiveEnterTimestampMonotonic"
1821 )]
1822 fn inactive_enter_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
1823
1824 #[zbus(property(emits_changed_signal = "const"), name = "CanStart")]
1826 fn can_start(&self) -> crate::zbus::Result<bool>;
1827
1828 #[zbus(property(emits_changed_signal = "const"), name = "CanStop")]
1830 fn can_stop(&self) -> crate::zbus::Result<bool>;
1831
1832 #[zbus(property(emits_changed_signal = "const"), name = "CanReload")]
1834 fn can_reload(&self) -> crate::zbus::Result<bool>;
1835
1836 #[zbus(property(emits_changed_signal = "const"), name = "CanIsolate")]
1838 fn can_isolate(&self) -> crate::zbus::Result<bool>;
1839
1840 #[zbus(property(emits_changed_signal = "const"), name = "CanClean")]
1842 fn can_clean(&self) -> crate::zbus::Result<Vec<String>>;
1843
1844 #[zbus(property(emits_changed_signal = "const"), name = "CanFreeze")]
1846 fn can_freeze(&self) -> crate::zbus::Result<bool>;
1847
1848 #[zbus(property(emits_changed_signal = "const"), name = "CanLiveMount")]
1850 fn can_live_mount(&self) -> crate::zbus::Result<bool>;
1851
1852 #[zbus(property(emits_changed_signal = "true"), name = "Job")]
1854 fn job(&self) -> crate::zbus::Result<(u32, crate::zvariant::OwnedObjectPath)>;
1855
1856 #[zbus(property(emits_changed_signal = "const"), name = "StopWhenUnneeded")]
1858 fn stop_when_unneeded(&self) -> crate::zbus::Result<bool>;
1859
1860 #[zbus(property(emits_changed_signal = "const"), name = "RefuseManualStart")]
1862 fn refuse_manual_start(&self) -> crate::zbus::Result<bool>;
1863
1864 #[zbus(property(emits_changed_signal = "const"), name = "RefuseManualStop")]
1866 fn refuse_manual_stop(&self) -> crate::zbus::Result<bool>;
1867
1868 #[zbus(property(emits_changed_signal = "const"), name = "AllowIsolate")]
1870 fn allow_isolate(&self) -> crate::zbus::Result<bool>;
1871
1872 #[zbus(property(emits_changed_signal = "const"), name = "DefaultDependencies")]
1874 fn default_dependencies(&self) -> crate::zbus::Result<bool>;
1875
1876 #[zbus(
1878 property(emits_changed_signal = "const"),
1879 name = "SurviveFinalKillSignal"
1880 )]
1881 fn survive_final_kill_signal(&self) -> crate::zbus::Result<bool>;
1882
1883 #[zbus(property(emits_changed_signal = "const"), name = "OnSuccessJobMode")]
1885 fn on_success_job_mode(&self) -> crate::zbus::Result<String>;
1886
1887 #[zbus(property(emits_changed_signal = "const"), name = "OnFailureJobMode")]
1889 fn on_failure_job_mode(&self) -> crate::zbus::Result<String>;
1890
1891 #[zbus(property(emits_changed_signal = "const"), name = "IgnoreOnIsolate")]
1893 fn ignore_on_isolate(&self) -> crate::zbus::Result<bool>;
1894
1895 #[zbus(property(emits_changed_signal = "false"), name = "NeedDaemonReload")]
1897 fn need_daemon_reload(&self) -> crate::zbus::Result<bool>;
1898
1899 #[zbus(property(emits_changed_signal = "false"), name = "Markers")]
1901 fn markers(&self) -> crate::zbus::Result<Vec<String>>;
1902
1903 #[zbus(property(emits_changed_signal = "const"), name = "JobTimeoutUSec")]
1905 fn job_timeout_u_sec(&self) -> crate::zbus::Result<u64>;
1906
1907 #[zbus(
1909 property(emits_changed_signal = "const"),
1910 name = "JobRunningTimeoutUSec"
1911 )]
1912 fn job_running_timeout_u_sec(&self) -> crate::zbus::Result<u64>;
1913
1914 #[zbus(property(emits_changed_signal = "const"), name = "JobTimeoutAction")]
1916 fn job_timeout_action(&self) -> crate::zbus::Result<String>;
1917
1918 #[zbus(
1920 property(emits_changed_signal = "const"),
1921 name = "JobTimeoutRebootArgument"
1922 )]
1923 fn job_timeout_reboot_argument(&self) -> crate::zbus::Result<String>;
1924
1925 #[zbus(property(emits_changed_signal = "true"), name = "ConditionResult")]
1927 fn condition_result(&self) -> crate::zbus::Result<bool>;
1928
1929 #[zbus(property(emits_changed_signal = "true"), name = "AssertResult")]
1931 fn assert_result(&self) -> crate::zbus::Result<bool>;
1932
1933 #[zbus(property(emits_changed_signal = "true"), name = "ConditionTimestamp")]
1935 fn condition_timestamp(&self) -> crate::zbus::Result<u64>;
1936
1937 #[zbus(
1939 property(emits_changed_signal = "true"),
1940 name = "ConditionTimestampMonotonic"
1941 )]
1942 fn condition_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
1943
1944 #[zbus(property(emits_changed_signal = "true"), name = "AssertTimestamp")]
1946 fn assert_timestamp(&self) -> crate::zbus::Result<u64>;
1947
1948 #[zbus(
1950 property(emits_changed_signal = "true"),
1951 name = "AssertTimestampMonotonic"
1952 )]
1953 fn assert_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
1954
1955 #[zbus(property(emits_changed_signal = "invalidates"), name = "Conditions")]
1957 fn conditions(&self) -> crate::zbus::Result<Vec<(String, bool, bool, String, i32)>>;
1958
1959 #[zbus(property(emits_changed_signal = "invalidates"), name = "Asserts")]
1961 fn asserts(&self) -> crate::zbus::Result<Vec<(String, bool, bool, String, i32)>>;
1962
1963 #[zbus(property(emits_changed_signal = "const"), name = "LoadError")]
1965 fn load_error(&self) -> crate::zbus::Result<(String, String)>;
1966
1967 #[zbus(property(emits_changed_signal = "const"), name = "Transient")]
1969 fn transient(&self) -> crate::zbus::Result<bool>;
1970
1971 #[zbus(property(emits_changed_signal = "const"), name = "Perpetual")]
1973 fn perpetual(&self) -> crate::zbus::Result<bool>;
1974
1975 #[zbus(
1977 property(emits_changed_signal = "const"),
1978 name = "StartLimitIntervalUSec"
1979 )]
1980 fn start_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
1981
1982 #[zbus(property(emits_changed_signal = "const"), name = "StartLimitBurst")]
1984 fn start_limit_burst(&self) -> crate::zbus::Result<u32>;
1985
1986 #[zbus(property(emits_changed_signal = "const"), name = "StartLimitAction")]
1988 fn start_limit_action(&self) -> crate::zbus::Result<String>;
1989
1990 #[zbus(property(emits_changed_signal = "const"), name = "FailureAction")]
1992 fn failure_action(&self) -> crate::zbus::Result<String>;
1993
1994 #[zbus(
1996 property(emits_changed_signal = "const"),
1997 name = "FailureActionExitStatus"
1998 )]
1999 fn failure_action_exit_status(&self) -> crate::zbus::Result<i32>;
2000
2001 #[zbus(property(emits_changed_signal = "const"), name = "SuccessAction")]
2003 fn success_action(&self) -> crate::zbus::Result<String>;
2004
2005 #[zbus(
2007 property(emits_changed_signal = "const"),
2008 name = "SuccessActionExitStatus"
2009 )]
2010 fn success_action_exit_status(&self) -> crate::zbus::Result<i32>;
2011
2012 #[zbus(property(emits_changed_signal = "const"), name = "RebootArgument")]
2014 fn reboot_argument(&self) -> crate::zbus::Result<String>;
2015
2016 #[zbus(property(emits_changed_signal = "true"), name = "InvocationID")]
2018 fn invocation_id(&self) -> crate::zbus::Result<Vec<u8>>;
2019
2020 #[zbus(property(emits_changed_signal = "const"), name = "CollectMode")]
2022 fn collect_mode(&self) -> crate::zbus::Result<String>;
2023
2024 #[zbus(property(emits_changed_signal = "false"), name = "Refs")]
2026 fn refs(&self) -> crate::zbus::Result<Vec<String>>;
2027
2028 #[zbus(property(emits_changed_signal = "true"), name = "ActivationDetails")]
2030 fn activation_details(&self) -> crate::zbus::Result<Vec<(String, String)>>;
2031
2032 #[zbus(property(emits_changed_signal = "false"), name = "DebugInvocation")]
2034 fn debug_invocation(&self) -> crate::zbus::Result<bool>;
2035}
2036
2037#[proxy(
2039 interface = "org.freedesktop.systemd1.Service",
2040 gen_blocking = false,
2041 default_service = "org.freedesktop.systemd1",
2042 assume_defaults = false
2043)]
2044pub trait Service {
2045 #[zbus(name = "BindMount")]
2047 fn bind_mount(
2048 &self,
2049 source: String,
2050 destination: String,
2051 read_only: bool,
2052 mkdir: bool,
2053 ) -> crate::zbus::Result<()>;
2054
2055 #[zbus(name = "MountImage")]
2057 fn mount_image(
2058 &self,
2059 source: String,
2060 destination: String,
2061 read_only: bool,
2062 mkdir: bool,
2063 options: Vec<(String, String)>,
2064 ) -> crate::zbus::Result<()>;
2065
2066 #[zbus(name = "DumpFileDescriptorStore")]
2068 fn dump_file_descriptor_store(
2069 &self,
2070 ) -> crate::zbus::Result<Vec<(String, u32, u32, u32, u64, u32, u32, String, u32)>>;
2071
2072 #[zbus(name = "GetProcesses")]
2074 fn get_processes(&self) -> crate::zbus::Result<Vec<(String, u32, String)>>;
2075
2076 #[zbus(name = "AttachProcesses")]
2078 fn attach_processes(&self, subcgroup: String, pids: Vec<u32>) -> crate::zbus::Result<()>;
2079
2080 #[zbus(name = "RemoveSubgroup")]
2082 fn remove_subgroup(&self, subcgroup: String, flags: u64) -> crate::zbus::Result<()>;
2083
2084 #[zbus(property(emits_changed_signal = "const"), name = "Type")]
2086 fn type_property(&self) -> crate::zbus::Result<String>;
2087
2088 #[zbus(property(emits_changed_signal = "const"), name = "ExitType")]
2090 fn exit_type(&self) -> crate::zbus::Result<String>;
2091
2092 #[zbus(property(emits_changed_signal = "const"), name = "Restart")]
2094 fn restart(&self) -> crate::zbus::Result<String>;
2095
2096 #[zbus(property(emits_changed_signal = "const"), name = "RestartMode")]
2098 fn restart_mode(&self) -> crate::zbus::Result<String>;
2099
2100 #[zbus(property(emits_changed_signal = "const"), name = "PIDFile")]
2102 fn pid_file(&self) -> crate::zbus::Result<String>;
2103
2104 #[zbus(property(emits_changed_signal = "true"), name = "NotifyAccess")]
2106 fn notify_access(&self) -> crate::zbus::Result<String>;
2107
2108 #[zbus(property(emits_changed_signal = "const"), name = "RestartUSec")]
2110 fn restart_u_sec(&self) -> crate::zbus::Result<u64>;
2111
2112 #[zbus(property(emits_changed_signal = "const"), name = "RestartSteps")]
2114 fn restart_steps(&self) -> crate::zbus::Result<u32>;
2115
2116 #[zbus(property(emits_changed_signal = "const"), name = "RestartMaxDelayUSec")]
2118 fn restart_max_delay_u_sec(&self) -> crate::zbus::Result<u64>;
2119
2120 #[zbus(property(emits_changed_signal = "false"), name = "RestartUSecNext")]
2122 fn restart_u_sec_next(&self) -> crate::zbus::Result<u64>;
2123
2124 #[zbus(property(emits_changed_signal = "const"), name = "TimeoutStartUSec")]
2126 fn timeout_start_u_sec(&self) -> crate::zbus::Result<u64>;
2127
2128 #[zbus(property(emits_changed_signal = "const"), name = "TimeoutStopUSec")]
2130 fn timeout_stop_u_sec(&self) -> crate::zbus::Result<u64>;
2131
2132 #[zbus(property(emits_changed_signal = "false"), name = "TimeoutAbortUSec")]
2134 fn timeout_abort_u_sec(&self) -> crate::zbus::Result<u64>;
2135
2136 #[zbus(
2138 property(emits_changed_signal = "const"),
2139 name = "TimeoutStartFailureMode"
2140 )]
2141 fn timeout_start_failure_mode(&self) -> crate::zbus::Result<String>;
2142
2143 #[zbus(
2145 property(emits_changed_signal = "const"),
2146 name = "TimeoutStopFailureMode"
2147 )]
2148 fn timeout_stop_failure_mode(&self) -> crate::zbus::Result<String>;
2149
2150 #[zbus(property(emits_changed_signal = "const"), name = "RuntimeMaxUSec")]
2152 fn runtime_max_u_sec(&self) -> crate::zbus::Result<u64>;
2153
2154 #[zbus(
2156 property(emits_changed_signal = "const"),
2157 name = "RuntimeRandomizedExtraUSec"
2158 )]
2159 fn runtime_randomized_extra_u_sec(&self) -> crate::zbus::Result<u64>;
2160
2161 #[zbus(property(emits_changed_signal = "false"), name = "WatchdogUSec")]
2163 fn watchdog_u_sec(&self) -> crate::zbus::Result<u64>;
2164
2165 #[zbus(property(emits_changed_signal = "false"), name = "WatchdogTimestamp")]
2167 fn watchdog_timestamp(&self) -> crate::zbus::Result<u64>;
2168
2169 #[zbus(
2171 property(emits_changed_signal = "false"),
2172 name = "WatchdogTimestampMonotonic"
2173 )]
2174 fn watchdog_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
2175
2176 #[zbus(
2178 property(emits_changed_signal = "const"),
2179 name = "RootDirectoryStartOnly"
2180 )]
2181 fn root_directory_start_only(&self) -> crate::zbus::Result<bool>;
2182
2183 #[zbus(property(emits_changed_signal = "const"), name = "RemainAfterExit")]
2185 fn remain_after_exit(&self) -> crate::zbus::Result<bool>;
2186
2187 #[zbus(property(emits_changed_signal = "const"), name = "GuessMainPID")]
2189 fn guess_main_pid(&self) -> crate::zbus::Result<bool>;
2190
2191 #[zbus(
2193 property(emits_changed_signal = "const"),
2194 name = "RestartPreventExitStatus"
2195 )]
2196 fn restart_prevent_exit_status(&self) -> crate::zbus::Result<(Vec<i32>, Vec<i32>)>;
2197
2198 #[zbus(
2200 property(emits_changed_signal = "const"),
2201 name = "RestartForceExitStatus"
2202 )]
2203 fn restart_force_exit_status(&self) -> crate::zbus::Result<(Vec<i32>, Vec<i32>)>;
2204
2205 #[zbus(property(emits_changed_signal = "const"), name = "SuccessExitStatus")]
2207 fn success_exit_status(&self) -> crate::zbus::Result<(Vec<i32>, Vec<i32>)>;
2208
2209 #[zbus(property(emits_changed_signal = "true"), name = "MainPID")]
2211 fn main_pid(&self) -> crate::zbus::Result<u32>;
2212
2213 #[zbus(property(emits_changed_signal = "true"), name = "ControlPID")]
2215 fn control_pid(&self) -> crate::zbus::Result<u32>;
2216
2217 #[zbus(property(emits_changed_signal = "const"), name = "BusName")]
2219 fn bus_name(&self) -> crate::zbus::Result<String>;
2220
2221 #[zbus(
2223 property(emits_changed_signal = "const"),
2224 name = "FileDescriptorStoreMax"
2225 )]
2226 fn file_descriptor_store_max(&self) -> crate::zbus::Result<u32>;
2227
2228 #[zbus(
2230 property(emits_changed_signal = "false"),
2231 name = "NFileDescriptorStore"
2232 )]
2233 fn n_file_descriptor_store(&self) -> crate::zbus::Result<u32>;
2234
2235 #[zbus(
2237 property(emits_changed_signal = "false"),
2238 name = "FileDescriptorStorePreserve"
2239 )]
2240 fn file_descriptor_store_preserve(&self) -> crate::zbus::Result<String>;
2241
2242 #[zbus(property(emits_changed_signal = "true"), name = "StatusText")]
2244 fn status_text(&self) -> crate::zbus::Result<String>;
2245
2246 #[zbus(property(emits_changed_signal = "true"), name = "StatusErrno")]
2248 fn status_errno(&self) -> crate::zbus::Result<i32>;
2249
2250 #[zbus(property(emits_changed_signal = "true"), name = "StatusBusError")]
2252 fn status_bus_error(&self) -> crate::zbus::Result<String>;
2253
2254 #[zbus(property(emits_changed_signal = "true"), name = "StatusVarlinkError")]
2256 fn status_varlink_error(&self) -> crate::zbus::Result<String>;
2257
2258 #[zbus(property(emits_changed_signal = "true"), name = "Result")]
2260 fn result(&self) -> crate::zbus::Result<String>;
2261
2262 #[zbus(property(emits_changed_signal = "true"), name = "ReloadResult")]
2264 fn reload_result(&self) -> crate::zbus::Result<String>;
2265
2266 #[zbus(property(emits_changed_signal = "true"), name = "CleanResult")]
2268 fn clean_result(&self) -> crate::zbus::Result<String>;
2269
2270 #[zbus(property(emits_changed_signal = "true"), name = "LiveMountResult")]
2272 fn live_mount_result(&self) -> crate::zbus::Result<String>;
2273
2274 #[zbus(
2276 property(emits_changed_signal = "const"),
2277 name = "USBFunctionDescriptors"
2278 )]
2279 fn usb_function_descriptors(&self) -> crate::zbus::Result<String>;
2280
2281 #[zbus(property(emits_changed_signal = "const"), name = "USBFunctionStrings")]
2283 fn usb_function_strings(&self) -> crate::zbus::Result<String>;
2284
2285 #[zbus(property(emits_changed_signal = "true"), name = "UID")]
2287 fn uid(&self) -> crate::zbus::Result<u32>;
2288
2289 #[zbus(property(emits_changed_signal = "true"), name = "GID")]
2291 fn gid(&self) -> crate::zbus::Result<u32>;
2292
2293 #[zbus(property(emits_changed_signal = "true"), name = "NRestarts")]
2295 fn n_restarts(&self) -> crate::zbus::Result<u32>;
2296
2297 #[zbus(property(emits_changed_signal = "const"), name = "OOMPolicy")]
2299 fn oom_policy(&self) -> crate::zbus::Result<String>;
2300
2301 #[zbus(property(emits_changed_signal = "const"), name = "OpenFile")]
2303 fn open_file(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
2304
2305 #[zbus(
2307 property(emits_changed_signal = "const"),
2308 name = "ExtraFileDescriptorNames"
2309 )]
2310 fn extra_file_descriptor_names(&self) -> crate::zbus::Result<Vec<String>>;
2311
2312 #[zbus(property(emits_changed_signal = "const"), name = "ReloadSignal")]
2314 fn reload_signal(&self) -> crate::zbus::Result<i32>;
2315
2316 #[zbus(property(emits_changed_signal = "const"), name = "RefreshOnReload")]
2318 fn refresh_on_reload(&self) -> crate::zbus::Result<Vec<String>>;
2319
2320 #[zbus(
2322 property(emits_changed_signal = "true"),
2323 name = "ExecMainStartTimestamp"
2324 )]
2325 fn exec_main_start_timestamp(&self) -> crate::zbus::Result<u64>;
2326
2327 #[zbus(
2329 property(emits_changed_signal = "true"),
2330 name = "ExecMainStartTimestampMonotonic"
2331 )]
2332 fn exec_main_start_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
2333
2334 #[zbus(
2336 property(emits_changed_signal = "true"),
2337 name = "ExecMainExitTimestamp"
2338 )]
2339 fn exec_main_exit_timestamp(&self) -> crate::zbus::Result<u64>;
2340
2341 #[zbus(
2343 property(emits_changed_signal = "true"),
2344 name = "ExecMainExitTimestampMonotonic"
2345 )]
2346 fn exec_main_exit_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
2347
2348 #[zbus(
2350 property(emits_changed_signal = "true"),
2351 name = "ExecMainHandoffTimestamp"
2352 )]
2353 fn exec_main_handoff_timestamp(&self) -> crate::zbus::Result<u64>;
2354
2355 #[zbus(
2357 property(emits_changed_signal = "true"),
2358 name = "ExecMainHandoffTimestampMonotonic"
2359 )]
2360 fn exec_main_handoff_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
2361
2362 #[zbus(property(emits_changed_signal = "true"), name = "ExecMainPID")]
2364 fn exec_main_pid(&self) -> crate::zbus::Result<u32>;
2365
2366 #[zbus(property(emits_changed_signal = "true"), name = "ExecMainCode")]
2368 fn exec_main_code(&self) -> crate::zbus::Result<i32>;
2369
2370 #[zbus(property(emits_changed_signal = "true"), name = "ExecMainStatus")]
2372 fn exec_main_status(&self) -> crate::zbus::Result<i32>;
2373
2374 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecCondition")]
2376 fn exec_condition(
2377 &self,
2378 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
2379
2380 #[zbus(
2382 property(emits_changed_signal = "invalidates"),
2383 name = "ExecConditionEx"
2384 )]
2385 fn exec_condition_ex(
2386 &self,
2387 ) -> crate::zbus::Result<
2388 Vec<(
2389 String,
2390 Vec<String>,
2391 Vec<String>,
2392 u64,
2393 u64,
2394 u64,
2395 u64,
2396 u32,
2397 i32,
2398 i32,
2399 )>,
2400 >;
2401
2402 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStartPre")]
2404 fn exec_start_pre(
2405 &self,
2406 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
2407
2408 #[zbus(
2410 property(emits_changed_signal = "invalidates"),
2411 name = "ExecStartPreEx"
2412 )]
2413 fn exec_start_pre_ex(
2414 &self,
2415 ) -> crate::zbus::Result<
2416 Vec<(
2417 String,
2418 Vec<String>,
2419 Vec<String>,
2420 u64,
2421 u64,
2422 u64,
2423 u64,
2424 u32,
2425 i32,
2426 i32,
2427 )>,
2428 >;
2429
2430 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStart")]
2432 fn exec_start(
2433 &self,
2434 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
2435
2436 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStartEx")]
2438 fn exec_start_ex(
2439 &self,
2440 ) -> crate::zbus::Result<
2441 Vec<(
2442 String,
2443 Vec<String>,
2444 Vec<String>,
2445 u64,
2446 u64,
2447 u64,
2448 u64,
2449 u32,
2450 i32,
2451 i32,
2452 )>,
2453 >;
2454
2455 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStartPost")]
2457 fn exec_start_post(
2458 &self,
2459 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
2460
2461 #[zbus(
2463 property(emits_changed_signal = "invalidates"),
2464 name = "ExecStartPostEx"
2465 )]
2466 fn exec_start_post_ex(
2467 &self,
2468 ) -> crate::zbus::Result<
2469 Vec<(
2470 String,
2471 Vec<String>,
2472 Vec<String>,
2473 u64,
2474 u64,
2475 u64,
2476 u64,
2477 u32,
2478 i32,
2479 i32,
2480 )>,
2481 >;
2482
2483 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecReload")]
2485 fn exec_reload(
2486 &self,
2487 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
2488
2489 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecReloadEx")]
2491 fn exec_reload_ex(
2492 &self,
2493 ) -> crate::zbus::Result<
2494 Vec<(
2495 String,
2496 Vec<String>,
2497 Vec<String>,
2498 u64,
2499 u64,
2500 u64,
2501 u64,
2502 u32,
2503 i32,
2504 i32,
2505 )>,
2506 >;
2507
2508 #[zbus(
2510 property(emits_changed_signal = "invalidates"),
2511 name = "ExecReloadPost"
2512 )]
2513 fn exec_reload_post(
2514 &self,
2515 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
2516
2517 #[zbus(
2519 property(emits_changed_signal = "invalidates"),
2520 name = "ExecReloadPostEx"
2521 )]
2522 fn exec_reload_post_ex(
2523 &self,
2524 ) -> crate::zbus::Result<
2525 Vec<(
2526 String,
2527 Vec<String>,
2528 Vec<String>,
2529 u64,
2530 u64,
2531 u64,
2532 u64,
2533 u32,
2534 i32,
2535 i32,
2536 )>,
2537 >;
2538
2539 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStop")]
2541 fn exec_stop(
2542 &self,
2543 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
2544
2545 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStopEx")]
2547 fn exec_stop_ex(
2548 &self,
2549 ) -> crate::zbus::Result<
2550 Vec<(
2551 String,
2552 Vec<String>,
2553 Vec<String>,
2554 u64,
2555 u64,
2556 u64,
2557 u64,
2558 u32,
2559 i32,
2560 i32,
2561 )>,
2562 >;
2563
2564 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStopPost")]
2566 fn exec_stop_post(
2567 &self,
2568 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
2569
2570 #[zbus(
2572 property(emits_changed_signal = "invalidates"),
2573 name = "ExecStopPostEx"
2574 )]
2575 fn exec_stop_post_ex(
2576 &self,
2577 ) -> crate::zbus::Result<
2578 Vec<(
2579 String,
2580 Vec<String>,
2581 Vec<String>,
2582 u64,
2583 u64,
2584 u64,
2585 u64,
2586 u32,
2587 i32,
2588 i32,
2589 )>,
2590 >;
2591
2592 #[zbus(property(emits_changed_signal = "false"), name = "Slice")]
2594 fn slice(&self) -> crate::zbus::Result<String>;
2595
2596 #[zbus(property(emits_changed_signal = "false"), name = "ControlGroup")]
2598 fn control_group(&self) -> crate::zbus::Result<String>;
2599
2600 #[zbus(property(emits_changed_signal = "false"), name = "ControlGroupId")]
2602 fn control_group_id(&self) -> crate::zbus::Result<u64>;
2603
2604 #[zbus(property(emits_changed_signal = "false"), name = "MemoryCurrent")]
2606 fn memory_current(&self) -> crate::zbus::Result<u64>;
2607
2608 #[zbus(property(emits_changed_signal = "false"), name = "MemoryPeak")]
2610 fn memory_peak(&self) -> crate::zbus::Result<u64>;
2611
2612 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapCurrent")]
2614 fn memory_swap_current(&self) -> crate::zbus::Result<u64>;
2615
2616 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapPeak")]
2618 fn memory_swap_peak(&self) -> crate::zbus::Result<u64>;
2619
2620 #[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapCurrent")]
2622 fn memory_z_swap_current(&self) -> crate::zbus::Result<u64>;
2623
2624 #[zbus(property(emits_changed_signal = "false"), name = "MemoryAvailable")]
2626 fn memory_available(&self) -> crate::zbus::Result<u64>;
2627
2628 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryMax")]
2630 fn effective_memory_max(&self) -> crate::zbus::Result<u64>;
2631
2632 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryHigh")]
2634 fn effective_memory_high(&self) -> crate::zbus::Result<u64>;
2635
2636 #[zbus(property(emits_changed_signal = "false"), name = "CPUUsageNSec")]
2638 fn cpu_usage_n_sec(&self) -> crate::zbus::Result<u64>;
2639
2640 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveCPUs")]
2642 fn effective_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
2643
2644 #[zbus(
2646 property(emits_changed_signal = "false"),
2647 name = "EffectiveMemoryNodes"
2648 )]
2649 fn effective_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
2650
2651 #[zbus(property(emits_changed_signal = "false"), name = "TasksCurrent")]
2653 fn tasks_current(&self) -> crate::zbus::Result<u64>;
2654
2655 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveTasksMax")]
2657 fn effective_tasks_max(&self) -> crate::zbus::Result<u64>;
2658
2659 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressBytes")]
2661 fn ip_ingress_bytes(&self) -> crate::zbus::Result<u64>;
2662
2663 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressPackets")]
2665 fn ip_ingress_packets(&self) -> crate::zbus::Result<u64>;
2666
2667 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressBytes")]
2669 fn ip_egress_bytes(&self) -> crate::zbus::Result<u64>;
2670
2671 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressPackets")]
2673 fn ip_egress_packets(&self) -> crate::zbus::Result<u64>;
2674
2675 #[zbus(property(emits_changed_signal = "false"), name = "IOReadBytes")]
2677 fn io_read_bytes(&self) -> crate::zbus::Result<u64>;
2678
2679 #[zbus(property(emits_changed_signal = "false"), name = "IOReadOperations")]
2681 fn io_read_operations(&self) -> crate::zbus::Result<u64>;
2682
2683 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteBytes")]
2685 fn io_write_bytes(&self) -> crate::zbus::Result<u64>;
2686
2687 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteOperations")]
2689 fn io_write_operations(&self) -> crate::zbus::Result<u64>;
2690
2691 #[zbus(property(emits_changed_signal = "false"), name = "OOMKills")]
2693 fn oom_kills(&self) -> crate::zbus::Result<u64>;
2694
2695 #[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMKills")]
2697 fn managed_oom_kills(&self) -> crate::zbus::Result<u64>;
2698
2699 #[zbus(property(emits_changed_signal = "false"), name = "Delegate")]
2701 fn delegate(&self) -> crate::zbus::Result<bool>;
2702
2703 #[zbus(property(emits_changed_signal = "false"), name = "DelegateControllers")]
2705 fn delegate_controllers(&self) -> crate::zbus::Result<Vec<String>>;
2706
2707 #[zbus(property(emits_changed_signal = "false"), name = "DelegateSubgroup")]
2709 fn delegate_subgroup(&self) -> crate::zbus::Result<String>;
2710
2711 #[zbus(property(emits_changed_signal = "false"), name = "CPUWeight")]
2713 fn cpu_weight(&self) -> crate::zbus::Result<u64>;
2714
2715 #[zbus(property(emits_changed_signal = "false"), name = "StartupCPUWeight")]
2717 fn startup_cpu_weight(&self) -> crate::zbus::Result<u64>;
2718
2719 #[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPerSecUSec")]
2721 fn cpu_quota_per_sec_u_sec(&self) -> crate::zbus::Result<u64>;
2722
2723 #[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPeriodUSec")]
2725 fn cpu_quota_period_u_sec(&self) -> crate::zbus::Result<u64>;
2726
2727 #[zbus(property(emits_changed_signal = "false"), name = "AllowedCPUs")]
2729 fn allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
2730
2731 #[zbus(property(emits_changed_signal = "false"), name = "StartupAllowedCPUs")]
2733 fn startup_allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
2734
2735 #[zbus(property(emits_changed_signal = "false"), name = "AllowedMemoryNodes")]
2737 fn allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
2738
2739 #[zbus(
2741 property(emits_changed_signal = "false"),
2742 name = "StartupAllowedMemoryNodes"
2743 )]
2744 fn startup_allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
2745
2746 #[zbus(property(emits_changed_signal = "false"), name = "IOAccounting")]
2748 fn io_accounting(&self) -> crate::zbus::Result<bool>;
2749
2750 #[zbus(property(emits_changed_signal = "false"), name = "IOWeight")]
2752 fn io_weight(&self) -> crate::zbus::Result<u64>;
2753
2754 #[zbus(property(emits_changed_signal = "false"), name = "StartupIOWeight")]
2756 fn startup_io_weight(&self) -> crate::zbus::Result<u64>;
2757
2758 #[zbus(property(emits_changed_signal = "false"), name = "IODeviceWeight")]
2760 fn io_device_weight(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
2761
2762 #[zbus(property(emits_changed_signal = "false"), name = "IOReadBandwidthMax")]
2764 fn io_read_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
2765
2766 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteBandwidthMax")]
2768 fn io_write_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
2769
2770 #[zbus(property(emits_changed_signal = "false"), name = "IOReadIOPSMax")]
2772 fn io_read_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
2773
2774 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteIOPSMax")]
2776 fn io_write_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
2777
2778 #[zbus(
2780 property(emits_changed_signal = "false"),
2781 name = "IODeviceLatencyTargetUSec"
2782 )]
2783 fn io_device_latency_target_u_sec(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
2784
2785 #[zbus(property(emits_changed_signal = "false"), name = "MemoryAccounting")]
2787 fn memory_accounting(&self) -> crate::zbus::Result<bool>;
2788
2789 #[zbus(property(emits_changed_signal = "false"), name = "MemoryMin")]
2791 fn memory_min(&self) -> crate::zbus::Result<u64>;
2792
2793 #[zbus(property(emits_changed_signal = "false"), name = "MemoryLow")]
2795 fn memory_low(&self) -> crate::zbus::Result<u64>;
2796
2797 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryLow")]
2799 fn startup_memory_low(&self) -> crate::zbus::Result<u64>;
2800
2801 #[zbus(property(emits_changed_signal = "false"), name = "MemoryHigh")]
2803 fn memory_high(&self) -> crate::zbus::Result<u64>;
2804
2805 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryHigh")]
2807 fn startup_memory_high(&self) -> crate::zbus::Result<u64>;
2808
2809 #[zbus(property(emits_changed_signal = "false"), name = "MemoryMax")]
2811 fn memory_max(&self) -> crate::zbus::Result<u64>;
2812
2813 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryMax")]
2815 fn startup_memory_max(&self) -> crate::zbus::Result<u64>;
2816
2817 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapMax")]
2819 fn memory_swap_max(&self) -> crate::zbus::Result<u64>;
2820
2821 #[zbus(
2823 property(emits_changed_signal = "false"),
2824 name = "StartupMemorySwapMax"
2825 )]
2826 fn startup_memory_swap_max(&self) -> crate::zbus::Result<u64>;
2827
2828 #[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapMax")]
2830 fn memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
2831
2832 #[zbus(
2834 property(emits_changed_signal = "false"),
2835 name = "StartupMemoryZSwapMax"
2836 )]
2837 fn startup_memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
2838
2839 #[zbus(
2841 property(emits_changed_signal = "false"),
2842 name = "MemoryZSwapWriteback"
2843 )]
2844 fn memory_z_swap_writeback(&self) -> crate::zbus::Result<bool>;
2845
2846 #[zbus(property(emits_changed_signal = "false"), name = "DevicePolicy")]
2848 fn device_policy(&self) -> crate::zbus::Result<String>;
2849
2850 #[zbus(property(emits_changed_signal = "false"), name = "DeviceAllow")]
2852 fn device_allow(&self) -> crate::zbus::Result<Vec<(String, String)>>;
2853
2854 #[zbus(property(emits_changed_signal = "false"), name = "TasksAccounting")]
2856 fn tasks_accounting(&self) -> crate::zbus::Result<bool>;
2857
2858 #[zbus(property(emits_changed_signal = "false"), name = "TasksMax")]
2860 fn tasks_max(&self) -> crate::zbus::Result<u64>;
2861
2862 #[zbus(property(emits_changed_signal = "false"), name = "IPAccounting")]
2864 fn ip_accounting(&self) -> crate::zbus::Result<bool>;
2865
2866 #[zbus(property(emits_changed_signal = "false"), name = "IPAddressAllow")]
2868 fn ip_address_allow(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
2869
2870 #[zbus(property(emits_changed_signal = "false"), name = "IPAddressDeny")]
2872 fn ip_address_deny(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
2873
2874 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressFilterPath")]
2876 fn ip_ingress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
2877
2878 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressFilterPath")]
2880 fn ip_egress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
2881
2882 #[zbus(property(emits_changed_signal = "false"), name = "DisableControllers")]
2884 fn disable_controllers(&self) -> crate::zbus::Result<Vec<String>>;
2885
2886 #[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMSwap")]
2888 fn managed_oom_swap(&self) -> crate::zbus::Result<String>;
2889
2890 #[zbus(
2892 property(emits_changed_signal = "false"),
2893 name = "ManagedOOMMemoryPressure"
2894 )]
2895 fn managed_oom_memory_pressure(&self) -> crate::zbus::Result<String>;
2896
2897 #[zbus(
2899 property(emits_changed_signal = "false"),
2900 name = "ManagedOOMMemoryPressureLimit"
2901 )]
2902 fn managed_oom_memory_pressure_limit(&self) -> crate::zbus::Result<u32>;
2903
2904 #[zbus(
2906 property(emits_changed_signal = "false"),
2907 name = "ManagedOOMMemoryPressureDurationUSec"
2908 )]
2909 fn managed_oom_memory_pressure_duration_u_sec(&self) -> crate::zbus::Result<u64>;
2910
2911 #[zbus(
2913 property(emits_changed_signal = "false"),
2914 name = "ManagedOOMPreference"
2915 )]
2916 fn managed_oom_preference(&self) -> crate::zbus::Result<String>;
2917
2918 #[zbus(property(emits_changed_signal = "false"), name = "BPFProgram")]
2920 fn bpf_program(&self) -> crate::zbus::Result<Vec<(String, String)>>;
2921
2922 #[zbus(property(emits_changed_signal = "false"), name = "SocketBindAllow")]
2924 fn socket_bind_allow(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
2925
2926 #[zbus(property(emits_changed_signal = "false"), name = "SocketBindDeny")]
2928 fn socket_bind_deny(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
2929
2930 #[zbus(
2932 property(emits_changed_signal = "false"),
2933 name = "RestrictNetworkInterfaces"
2934 )]
2935 fn restrict_network_interfaces(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
2936
2937 #[zbus(
2939 property(emits_changed_signal = "false"),
2940 name = "BindNetworkInterface"
2941 )]
2942 fn bind_network_interface(&self) -> crate::zbus::Result<String>;
2943
2944 #[zbus(property(emits_changed_signal = "false"), name = "MemoryPressureWatch")]
2946 fn memory_pressure_watch(&self) -> crate::zbus::Result<String>;
2947
2948 #[zbus(
2950 property(emits_changed_signal = "false"),
2951 name = "MemoryPressureThresholdUSec"
2952 )]
2953 fn memory_pressure_threshold_u_sec(&self) -> crate::zbus::Result<u64>;
2954
2955 #[zbus(property(emits_changed_signal = "false"), name = "NFTSet")]
2957 fn nft_set(&self) -> crate::zbus::Result<Vec<(i32, i32, String, String)>>;
2958
2959 #[zbus(property(emits_changed_signal = "false"), name = "CoredumpReceive")]
2961 fn coredump_receive(&self) -> crate::zbus::Result<bool>;
2962
2963 #[zbus(property(emits_changed_signal = "const"), name = "Environment")]
2965 fn environment(&self) -> crate::zbus::Result<Vec<String>>;
2966
2967 #[zbus(property(emits_changed_signal = "const"), name = "EnvironmentFiles")]
2969 fn environment_files(&self) -> crate::zbus::Result<Vec<(String, bool)>>;
2970
2971 #[zbus(property(emits_changed_signal = "const"), name = "PassEnvironment")]
2973 fn pass_environment(&self) -> crate::zbus::Result<Vec<String>>;
2974
2975 #[zbus(property(emits_changed_signal = "const"), name = "UnsetEnvironment")]
2977 fn unset_environment(&self) -> crate::zbus::Result<Vec<String>>;
2978
2979 #[zbus(property(emits_changed_signal = "const"), name = "UMask")]
2981 fn u_mask(&self) -> crate::zbus::Result<u32>;
2982
2983 #[zbus(property(emits_changed_signal = "const"), name = "LimitCPU")]
2985 fn limit_cpu(&self) -> crate::zbus::Result<u64>;
2986
2987 #[zbus(property(emits_changed_signal = "const"), name = "LimitCPUSoft")]
2989 fn limit_cpu_soft(&self) -> crate::zbus::Result<u64>;
2990
2991 #[zbus(property(emits_changed_signal = "const"), name = "LimitFSIZE")]
2993 fn limit_fsize(&self) -> crate::zbus::Result<u64>;
2994
2995 #[zbus(property(emits_changed_signal = "const"), name = "LimitFSIZESoft")]
2997 fn limit_fsize_soft(&self) -> crate::zbus::Result<u64>;
2998
2999 #[zbus(property(emits_changed_signal = "const"), name = "LimitDATA")]
3001 fn limit_data(&self) -> crate::zbus::Result<u64>;
3002
3003 #[zbus(property(emits_changed_signal = "const"), name = "LimitDATASoft")]
3005 fn limit_data_soft(&self) -> crate::zbus::Result<u64>;
3006
3007 #[zbus(property(emits_changed_signal = "const"), name = "LimitSTACK")]
3009 fn limit_stack(&self) -> crate::zbus::Result<u64>;
3010
3011 #[zbus(property(emits_changed_signal = "const"), name = "LimitSTACKSoft")]
3013 fn limit_stack_soft(&self) -> crate::zbus::Result<u64>;
3014
3015 #[zbus(property(emits_changed_signal = "const"), name = "LimitCORE")]
3017 fn limit_core(&self) -> crate::zbus::Result<u64>;
3018
3019 #[zbus(property(emits_changed_signal = "const"), name = "LimitCORESoft")]
3021 fn limit_core_soft(&self) -> crate::zbus::Result<u64>;
3022
3023 #[zbus(property(emits_changed_signal = "const"), name = "LimitRSS")]
3025 fn limit_rss(&self) -> crate::zbus::Result<u64>;
3026
3027 #[zbus(property(emits_changed_signal = "const"), name = "LimitRSSSoft")]
3029 fn limit_rss_soft(&self) -> crate::zbus::Result<u64>;
3030
3031 #[zbus(property(emits_changed_signal = "const"), name = "LimitNOFILE")]
3033 fn limit_nofile(&self) -> crate::zbus::Result<u64>;
3034
3035 #[zbus(property(emits_changed_signal = "const"), name = "LimitNOFILESoft")]
3037 fn limit_nofile_soft(&self) -> crate::zbus::Result<u64>;
3038
3039 #[zbus(property(emits_changed_signal = "const"), name = "LimitAS")]
3041 fn limit_as(&self) -> crate::zbus::Result<u64>;
3042
3043 #[zbus(property(emits_changed_signal = "const"), name = "LimitASSoft")]
3045 fn limit_as_soft(&self) -> crate::zbus::Result<u64>;
3046
3047 #[zbus(property(emits_changed_signal = "const"), name = "LimitNPROC")]
3049 fn limit_nproc(&self) -> crate::zbus::Result<u64>;
3050
3051 #[zbus(property(emits_changed_signal = "const"), name = "LimitNPROCSoft")]
3053 fn limit_nproc_soft(&self) -> crate::zbus::Result<u64>;
3054
3055 #[zbus(property(emits_changed_signal = "const"), name = "LimitMEMLOCK")]
3057 fn limit_memlock(&self) -> crate::zbus::Result<u64>;
3058
3059 #[zbus(property(emits_changed_signal = "const"), name = "LimitMEMLOCKSoft")]
3061 fn limit_memlock_soft(&self) -> crate::zbus::Result<u64>;
3062
3063 #[zbus(property(emits_changed_signal = "const"), name = "LimitLOCKS")]
3065 fn limit_locks(&self) -> crate::zbus::Result<u64>;
3066
3067 #[zbus(property(emits_changed_signal = "const"), name = "LimitLOCKSSoft")]
3069 fn limit_locks_soft(&self) -> crate::zbus::Result<u64>;
3070
3071 #[zbus(property(emits_changed_signal = "const"), name = "LimitSIGPENDING")]
3073 fn limit_sigpending(&self) -> crate::zbus::Result<u64>;
3074
3075 #[zbus(property(emits_changed_signal = "const"), name = "LimitSIGPENDINGSoft")]
3077 fn limit_sigpending_soft(&self) -> crate::zbus::Result<u64>;
3078
3079 #[zbus(property(emits_changed_signal = "const"), name = "LimitMSGQUEUE")]
3081 fn limit_msgqueue(&self) -> crate::zbus::Result<u64>;
3082
3083 #[zbus(property(emits_changed_signal = "const"), name = "LimitMSGQUEUESoft")]
3085 fn limit_msgqueue_soft(&self) -> crate::zbus::Result<u64>;
3086
3087 #[zbus(property(emits_changed_signal = "const"), name = "LimitNICE")]
3089 fn limit_nice(&self) -> crate::zbus::Result<u64>;
3090
3091 #[zbus(property(emits_changed_signal = "const"), name = "LimitNICESoft")]
3093 fn limit_nice_soft(&self) -> crate::zbus::Result<u64>;
3094
3095 #[zbus(property(emits_changed_signal = "const"), name = "LimitRTPRIO")]
3097 fn limit_rtprio(&self) -> crate::zbus::Result<u64>;
3098
3099 #[zbus(property(emits_changed_signal = "const"), name = "LimitRTPRIOSoft")]
3101 fn limit_rtprio_soft(&self) -> crate::zbus::Result<u64>;
3102
3103 #[zbus(property(emits_changed_signal = "const"), name = "LimitRTTIME")]
3105 fn limit_rttime(&self) -> crate::zbus::Result<u64>;
3106
3107 #[zbus(property(emits_changed_signal = "const"), name = "LimitRTTIMESoft")]
3109 fn limit_rttime_soft(&self) -> crate::zbus::Result<u64>;
3110
3111 #[zbus(property(emits_changed_signal = "const"), name = "WorkingDirectory")]
3113 fn working_directory(&self) -> crate::zbus::Result<String>;
3114
3115 #[zbus(property(emits_changed_signal = "const"), name = "RootDirectory")]
3117 fn root_directory(&self) -> crate::zbus::Result<String>;
3118
3119 #[zbus(property(emits_changed_signal = "const"), name = "RootImage")]
3121 fn root_image(&self) -> crate::zbus::Result<String>;
3122
3123 #[zbus(property(emits_changed_signal = "const"), name = "RootImageOptions")]
3125 fn root_image_options(&self) -> crate::zbus::Result<Vec<(String, String)>>;
3126
3127 #[zbus(property(emits_changed_signal = "const"), name = "RootHash")]
3129 fn root_hash(&self) -> crate::zbus::Result<Vec<u8>>;
3130
3131 #[zbus(property(emits_changed_signal = "const"), name = "RootHashPath")]
3133 fn root_hash_path(&self) -> crate::zbus::Result<String>;
3134
3135 #[zbus(property(emits_changed_signal = "const"), name = "RootHashSignature")]
3137 fn root_hash_signature(&self) -> crate::zbus::Result<Vec<u8>>;
3138
3139 #[zbus(
3141 property(emits_changed_signal = "const"),
3142 name = "RootHashSignaturePath"
3143 )]
3144 fn root_hash_signature_path(&self) -> crate::zbus::Result<String>;
3145
3146 #[zbus(property(emits_changed_signal = "const"), name = "RootVerity")]
3148 fn root_verity(&self) -> crate::zbus::Result<String>;
3149
3150 #[zbus(property(emits_changed_signal = "const"), name = "RootEphemeral")]
3152 fn root_ephemeral(&self) -> crate::zbus::Result<bool>;
3153
3154 #[zbus(property(emits_changed_signal = "const"), name = "RootMStack")]
3156 fn root_m_stack(&self) -> crate::zbus::Result<String>;
3157
3158 #[zbus(
3160 property(emits_changed_signal = "const"),
3161 name = "ExtensionDirectories"
3162 )]
3163 fn extension_directories(&self) -> crate::zbus::Result<Vec<String>>;
3164
3165 #[zbus(property(emits_changed_signal = "const"), name = "ExtensionImages")]
3167 fn extension_images(&self) -> crate::zbus::Result<Vec<(String, bool, Vec<(String, String)>)>>;
3168
3169 #[zbus(property(emits_changed_signal = "const"), name = "MountImages")]
3171 fn mount_images(
3172 &self,
3173 ) -> crate::zbus::Result<Vec<(String, String, bool, Vec<(String, String)>)>>;
3174
3175 #[zbus(property(emits_changed_signal = "const"), name = "OOMScoreAdjust")]
3177 fn oom_score_adjust(&self) -> crate::zbus::Result<i32>;
3178
3179 #[zbus(property(emits_changed_signal = "const"), name = "CoredumpFilter")]
3181 fn coredump_filter(&self) -> crate::zbus::Result<u64>;
3182
3183 #[zbus(property(emits_changed_signal = "const"), name = "Nice")]
3185 fn nice(&self) -> crate::zbus::Result<i32>;
3186
3187 #[zbus(property(emits_changed_signal = "const"), name = "IOSchedulingClass")]
3189 fn io_scheduling_class(&self) -> crate::zbus::Result<i32>;
3190
3191 #[zbus(
3193 property(emits_changed_signal = "const"),
3194 name = "IOSchedulingPriority"
3195 )]
3196 fn io_scheduling_priority(&self) -> crate::zbus::Result<i32>;
3197
3198 #[zbus(property(emits_changed_signal = "const"), name = "CPUSchedulingPolicy")]
3200 fn cpu_scheduling_policy(&self) -> crate::zbus::Result<i32>;
3201
3202 #[zbus(
3204 property(emits_changed_signal = "const"),
3205 name = "CPUSchedulingPriority"
3206 )]
3207 fn cpu_scheduling_priority(&self) -> crate::zbus::Result<i32>;
3208
3209 #[zbus(property(emits_changed_signal = "const"), name = "CPUAffinity")]
3211 fn cpu_affinity(&self) -> crate::zbus::Result<Vec<u8>>;
3212
3213 #[zbus(property(emits_changed_signal = "const"), name = "CPUAffinityFromNUMA")]
3215 fn cpu_affinity_from_numa(&self) -> crate::zbus::Result<bool>;
3216
3217 #[zbus(property(emits_changed_signal = "const"), name = "NUMAPolicy")]
3219 fn numa_policy(&self) -> crate::zbus::Result<i32>;
3220
3221 #[zbus(property(emits_changed_signal = "const"), name = "NUMAMask")]
3223 fn numa_mask(&self) -> crate::zbus::Result<Vec<u8>>;
3224
3225 #[zbus(property(emits_changed_signal = "const"), name = "TimerSlackNSec")]
3227 fn timer_slack_n_sec(&self) -> crate::zbus::Result<u64>;
3228
3229 #[zbus(
3231 property(emits_changed_signal = "const"),
3232 name = "CPUSchedulingResetOnFork"
3233 )]
3234 fn cpu_scheduling_reset_on_fork(&self) -> crate::zbus::Result<bool>;
3235
3236 #[zbus(property(emits_changed_signal = "const"), name = "NonBlocking")]
3238 fn non_blocking(&self) -> crate::zbus::Result<bool>;
3239
3240 #[zbus(property(emits_changed_signal = "const"), name = "StandardInput")]
3242 fn standard_input(&self) -> crate::zbus::Result<String>;
3243
3244 #[zbus(
3246 property(emits_changed_signal = "const"),
3247 name = "StandardInputFileDescriptorName"
3248 )]
3249 fn standard_input_file_descriptor_name(&self) -> crate::zbus::Result<String>;
3250
3251 #[zbus(property(emits_changed_signal = "const"), name = "StandardInputData")]
3253 fn standard_input_data(&self) -> crate::zbus::Result<Vec<u8>>;
3254
3255 #[zbus(property(emits_changed_signal = "const"), name = "StandardOutput")]
3257 fn standard_output(&self) -> crate::zbus::Result<String>;
3258
3259 #[zbus(
3261 property(emits_changed_signal = "const"),
3262 name = "StandardOutputFileDescriptorName"
3263 )]
3264 fn standard_output_file_descriptor_name(&self) -> crate::zbus::Result<String>;
3265
3266 #[zbus(property(emits_changed_signal = "const"), name = "StandardError")]
3268 fn standard_error(&self) -> crate::zbus::Result<String>;
3269
3270 #[zbus(
3272 property(emits_changed_signal = "const"),
3273 name = "StandardErrorFileDescriptorName"
3274 )]
3275 fn standard_error_file_descriptor_name(&self) -> crate::zbus::Result<String>;
3276
3277 #[zbus(property(emits_changed_signal = "const"), name = "TTYPath")]
3279 fn tty_path(&self) -> crate::zbus::Result<String>;
3280
3281 #[zbus(property(emits_changed_signal = "const"), name = "TTYReset")]
3283 fn tty_reset(&self) -> crate::zbus::Result<bool>;
3284
3285 #[zbus(property(emits_changed_signal = "const"), name = "TTYVHangup")]
3287 fn ttyv_hangup(&self) -> crate::zbus::Result<bool>;
3288
3289 #[zbus(property(emits_changed_signal = "const"), name = "TTYVTDisallocate")]
3291 fn ttyvt_disallocate(&self) -> crate::zbus::Result<bool>;
3292
3293 #[zbus(property(emits_changed_signal = "const"), name = "TTYRows")]
3295 fn tty_rows(&self) -> crate::zbus::Result<u16>;
3296
3297 #[zbus(property(emits_changed_signal = "const"), name = "TTYColumns")]
3299 fn tty_columns(&self) -> crate::zbus::Result<u16>;
3300
3301 #[zbus(property(emits_changed_signal = "const"), name = "SyslogPriority")]
3303 fn syslog_priority(&self) -> crate::zbus::Result<i32>;
3304
3305 #[zbus(property(emits_changed_signal = "const"), name = "SyslogIdentifier")]
3307 fn syslog_identifier(&self) -> crate::zbus::Result<String>;
3308
3309 #[zbus(property(emits_changed_signal = "const"), name = "SyslogLevelPrefix")]
3311 fn syslog_level_prefix(&self) -> crate::zbus::Result<bool>;
3312
3313 #[zbus(property(emits_changed_signal = "const"), name = "SyslogLevel")]
3315 fn syslog_level(&self) -> crate::zbus::Result<i32>;
3316
3317 #[zbus(property(emits_changed_signal = "const"), name = "SyslogFacility")]
3319 fn syslog_facility(&self) -> crate::zbus::Result<i32>;
3320
3321 #[zbus(property(emits_changed_signal = "const"), name = "LogLevelMax")]
3323 fn log_level_max(&self) -> crate::zbus::Result<i32>;
3324
3325 #[zbus(
3327 property(emits_changed_signal = "const"),
3328 name = "LogRateLimitIntervalUSec"
3329 )]
3330 fn log_rate_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
3331
3332 #[zbus(property(emits_changed_signal = "const"), name = "LogRateLimitBurst")]
3334 fn log_rate_limit_burst(&self) -> crate::zbus::Result<u32>;
3335
3336 #[zbus(property(emits_changed_signal = "const"), name = "LogExtraFields")]
3338 fn log_extra_fields(&self) -> crate::zbus::Result<Vec<Vec<u8>>>;
3339
3340 #[zbus(property(emits_changed_signal = "const"), name = "LogFilterPatterns")]
3342 fn log_filter_patterns(&self) -> crate::zbus::Result<Vec<(bool, String)>>;
3343
3344 #[zbus(property(emits_changed_signal = "const"), name = "LogNamespace")]
3346 fn log_namespace(&self) -> crate::zbus::Result<String>;
3347
3348 #[zbus(property(emits_changed_signal = "const"), name = "SecureBits")]
3350 fn secure_bits(&self) -> crate::zbus::Result<i32>;
3351
3352 #[zbus(
3354 property(emits_changed_signal = "const"),
3355 name = "CapabilityBoundingSet"
3356 )]
3357 fn capability_bounding_set(&self) -> crate::zbus::Result<u64>;
3358
3359 #[zbus(property(emits_changed_signal = "const"), name = "AmbientCapabilities")]
3361 fn ambient_capabilities(&self) -> crate::zbus::Result<u64>;
3362
3363 #[zbus(property(emits_changed_signal = "const"), name = "User")]
3365 fn user(&self) -> crate::zbus::Result<String>;
3366
3367 #[zbus(property(emits_changed_signal = "const"), name = "Group")]
3369 fn group(&self) -> crate::zbus::Result<String>;
3370
3371 #[zbus(property(emits_changed_signal = "const"), name = "DynamicUser")]
3373 fn dynamic_user(&self) -> crate::zbus::Result<bool>;
3374
3375 #[zbus(property(emits_changed_signal = "const"), name = "SetLoginEnvironment")]
3377 fn set_login_environment(&self) -> crate::zbus::Result<bool>;
3378
3379 #[zbus(property(emits_changed_signal = "const"), name = "RemoveIPC")]
3381 fn remove_ipc(&self) -> crate::zbus::Result<bool>;
3382
3383 #[zbus(property(emits_changed_signal = "const"), name = "SetCredential")]
3385 fn set_credential(&self) -> crate::zbus::Result<Vec<(String, Vec<u8>)>>;
3386
3387 #[zbus(
3389 property(emits_changed_signal = "const"),
3390 name = "SetCredentialEncrypted"
3391 )]
3392 fn set_credential_encrypted(&self) -> crate::zbus::Result<Vec<(String, Vec<u8>)>>;
3393
3394 #[zbus(property(emits_changed_signal = "const"), name = "LoadCredential")]
3396 fn load_credential(&self) -> crate::zbus::Result<Vec<(String, String)>>;
3397
3398 #[zbus(
3400 property(emits_changed_signal = "const"),
3401 name = "LoadCredentialEncrypted"
3402 )]
3403 fn load_credential_encrypted(&self) -> crate::zbus::Result<Vec<(String, String)>>;
3404
3405 #[zbus(property(emits_changed_signal = "const"), name = "ImportCredential")]
3407 fn import_credential(&self) -> crate::zbus::Result<Vec<String>>;
3408
3409 #[zbus(property(emits_changed_signal = "const"), name = "ImportCredentialEx")]
3411 fn import_credential_ex(&self) -> crate::zbus::Result<Vec<(String, String)>>;
3412
3413 #[zbus(property(emits_changed_signal = "const"), name = "SupplementaryGroups")]
3415 fn supplementary_groups(&self) -> crate::zbus::Result<Vec<String>>;
3416
3417 #[zbus(property(emits_changed_signal = "const"), name = "PAMName")]
3419 fn pam_name(&self) -> crate::zbus::Result<String>;
3420
3421 #[zbus(property(emits_changed_signal = "const"), name = "ReadWritePaths")]
3423 fn read_write_paths(&self) -> crate::zbus::Result<Vec<String>>;
3424
3425 #[zbus(property(emits_changed_signal = "const"), name = "ReadOnlyPaths")]
3427 fn read_only_paths(&self) -> crate::zbus::Result<Vec<String>>;
3428
3429 #[zbus(property(emits_changed_signal = "const"), name = "InaccessiblePaths")]
3431 fn inaccessible_paths(&self) -> crate::zbus::Result<Vec<String>>;
3432
3433 #[zbus(property(emits_changed_signal = "const"), name = "ExecPaths")]
3435 fn exec_paths(&self) -> crate::zbus::Result<Vec<String>>;
3436
3437 #[zbus(property(emits_changed_signal = "const"), name = "NoExecPaths")]
3439 fn no_exec_paths(&self) -> crate::zbus::Result<Vec<String>>;
3440
3441 #[zbus(property(emits_changed_signal = "const"), name = "ExecSearchPath")]
3443 fn exec_search_path(&self) -> crate::zbus::Result<Vec<String>>;
3444
3445 #[zbus(property(emits_changed_signal = "const"), name = "MountFlags")]
3447 fn mount_flags(&self) -> crate::zbus::Result<u64>;
3448
3449 #[zbus(property(emits_changed_signal = "const"), name = "PrivateTmp")]
3451 fn private_tmp(&self) -> crate::zbus::Result<bool>;
3452
3453 #[zbus(property(emits_changed_signal = "const"), name = "PrivateTmpEx")]
3455 fn private_tmp_ex(&self) -> crate::zbus::Result<String>;
3456
3457 #[zbus(property(emits_changed_signal = "const"), name = "PrivateDevices")]
3459 fn private_devices(&self) -> crate::zbus::Result<bool>;
3460
3461 #[zbus(property(emits_changed_signal = "const"), name = "ProtectClock")]
3463 fn protect_clock(&self) -> crate::zbus::Result<bool>;
3464
3465 #[zbus(
3467 property(emits_changed_signal = "const"),
3468 name = "ProtectKernelTunables"
3469 )]
3470 fn protect_kernel_tunables(&self) -> crate::zbus::Result<bool>;
3471
3472 #[zbus(
3474 property(emits_changed_signal = "const"),
3475 name = "ProtectKernelModules"
3476 )]
3477 fn protect_kernel_modules(&self) -> crate::zbus::Result<bool>;
3478
3479 #[zbus(property(emits_changed_signal = "const"), name = "ProtectKernelLogs")]
3481 fn protect_kernel_logs(&self) -> crate::zbus::Result<bool>;
3482
3483 #[zbus(
3485 property(emits_changed_signal = "const"),
3486 name = "ProtectControlGroups"
3487 )]
3488 fn protect_control_groups(&self) -> crate::zbus::Result<bool>;
3489
3490 #[zbus(
3492 property(emits_changed_signal = "const"),
3493 name = "ProtectControlGroupsEx"
3494 )]
3495 fn protect_control_groups_ex(&self) -> crate::zbus::Result<String>;
3496
3497 #[zbus(property(emits_changed_signal = "const"), name = "PrivateNetwork")]
3499 fn private_network(&self) -> crate::zbus::Result<bool>;
3500
3501 #[zbus(property(emits_changed_signal = "const"), name = "PrivateUsers")]
3503 fn private_users(&self) -> crate::zbus::Result<bool>;
3504
3505 #[zbus(property(emits_changed_signal = "const"), name = "PrivateUsersEx")]
3507 fn private_users_ex(&self) -> crate::zbus::Result<String>;
3508
3509 #[zbus(property(emits_changed_signal = "const"), name = "PrivateMounts")]
3511 fn private_mounts(&self) -> crate::zbus::Result<bool>;
3512
3513 #[zbus(property(emits_changed_signal = "const"), name = "PrivateIPC")]
3515 fn private_ipc(&self) -> crate::zbus::Result<bool>;
3516
3517 #[zbus(property(emits_changed_signal = "const"), name = "PrivatePIDs")]
3519 fn private_pi_ds(&self) -> crate::zbus::Result<String>;
3520
3521 #[zbus(property(emits_changed_signal = "const"), name = "ProtectHome")]
3523 fn protect_home(&self) -> crate::zbus::Result<String>;
3524
3525 #[zbus(property(emits_changed_signal = "const"), name = "ProtectSystem")]
3527 fn protect_system(&self) -> crate::zbus::Result<String>;
3528
3529 #[zbus(property(emits_changed_signal = "const"), name = "SameProcessGroup")]
3531 fn same_process_group(&self) -> crate::zbus::Result<bool>;
3532
3533 #[zbus(property(emits_changed_signal = "const"), name = "UtmpIdentifier")]
3535 fn utmp_identifier(&self) -> crate::zbus::Result<String>;
3536
3537 #[zbus(property(emits_changed_signal = "const"), name = "UtmpMode")]
3539 fn utmp_mode(&self) -> crate::zbus::Result<String>;
3540
3541 #[zbus(property(emits_changed_signal = "const"), name = "SELinuxContext")]
3543 fn se_linux_context(&self) -> crate::zbus::Result<(bool, String)>;
3544
3545 #[zbus(property(emits_changed_signal = "const"), name = "AppArmorProfile")]
3547 fn app_armor_profile(&self) -> crate::zbus::Result<(bool, String)>;
3548
3549 #[zbus(property(emits_changed_signal = "const"), name = "SmackProcessLabel")]
3551 fn smack_process_label(&self) -> crate::zbus::Result<(bool, String)>;
3552
3553 #[zbus(property(emits_changed_signal = "const"), name = "IgnoreSIGPIPE")]
3555 fn ignore_sigpipe(&self) -> crate::zbus::Result<bool>;
3556
3557 #[zbus(property(emits_changed_signal = "const"), name = "NoNewPrivileges")]
3559 fn no_new_privileges(&self) -> crate::zbus::Result<bool>;
3560
3561 #[zbus(property(emits_changed_signal = "const"), name = "SystemCallFilter")]
3563 fn system_call_filter(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
3564
3565 #[zbus(
3567 property(emits_changed_signal = "const"),
3568 name = "SystemCallArchitectures"
3569 )]
3570 fn system_call_architectures(&self) -> crate::zbus::Result<Vec<String>>;
3571
3572 #[zbus(
3574 property(emits_changed_signal = "const"),
3575 name = "SystemCallErrorNumber"
3576 )]
3577 fn system_call_error_number(&self) -> crate::zbus::Result<i32>;
3578
3579 #[zbus(property(emits_changed_signal = "const"), name = "SystemCallLog")]
3581 fn system_call_log(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
3582
3583 #[zbus(property(emits_changed_signal = "const"), name = "Personality")]
3585 fn personality(&self) -> crate::zbus::Result<String>;
3586
3587 #[zbus(property(emits_changed_signal = "const"), name = "LockPersonality")]
3589 fn lock_personality(&self) -> crate::zbus::Result<bool>;
3590
3591 #[zbus(
3593 property(emits_changed_signal = "const"),
3594 name = "RestrictAddressFamilies"
3595 )]
3596 fn restrict_address_families(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
3597
3598 #[zbus(
3600 property(emits_changed_signal = "const"),
3601 name = "RuntimeDirectorySymlink"
3602 )]
3603 fn runtime_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
3604
3605 #[zbus(
3607 property(emits_changed_signal = "const"),
3608 name = "RuntimeDirectoryPreserve"
3609 )]
3610 fn runtime_directory_preserve(&self) -> crate::zbus::Result<String>;
3611
3612 #[zbus(
3614 property(emits_changed_signal = "const"),
3615 name = "RuntimeDirectoryMode"
3616 )]
3617 fn runtime_directory_mode(&self) -> crate::zbus::Result<u32>;
3618
3619 #[zbus(property(emits_changed_signal = "const"), name = "RuntimeDirectory")]
3621 fn runtime_directory(&self) -> crate::zbus::Result<Vec<String>>;
3622
3623 #[zbus(
3625 property(emits_changed_signal = "const"),
3626 name = "StateDirectorySymlink"
3627 )]
3628 fn state_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
3629
3630 #[zbus(property(emits_changed_signal = "const"), name = "StateDirectoryMode")]
3632 fn state_directory_mode(&self) -> crate::zbus::Result<u32>;
3633
3634 #[zbus(
3636 property(emits_changed_signal = "const"),
3637 name = "StateDirectoryAccounting"
3638 )]
3639 fn state_directory_accounting(&self) -> crate::zbus::Result<bool>;
3640
3641 #[zbus(property(emits_changed_signal = "const"), name = "StateDirectoryQuota")]
3643 fn state_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
3644
3645 #[zbus(property(emits_changed_signal = "const"), name = "StateDirectory")]
3647 fn state_directory(&self) -> crate::zbus::Result<Vec<String>>;
3648
3649 #[zbus(
3651 property(emits_changed_signal = "const"),
3652 name = "CacheDirectorySymlink"
3653 )]
3654 fn cache_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
3655
3656 #[zbus(property(emits_changed_signal = "const"), name = "CacheDirectoryMode")]
3658 fn cache_directory_mode(&self) -> crate::zbus::Result<u32>;
3659
3660 #[zbus(
3662 property(emits_changed_signal = "const"),
3663 name = "CacheDirectoryAccounting"
3664 )]
3665 fn cache_directory_accounting(&self) -> crate::zbus::Result<bool>;
3666
3667 #[zbus(property(emits_changed_signal = "const"), name = "CacheDirectoryQuota")]
3669 fn cache_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
3670
3671 #[zbus(property(emits_changed_signal = "const"), name = "CacheDirectory")]
3673 fn cache_directory(&self) -> crate::zbus::Result<Vec<String>>;
3674
3675 #[zbus(
3677 property(emits_changed_signal = "const"),
3678 name = "LogsDirectorySymlink"
3679 )]
3680 fn logs_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
3681
3682 #[zbus(property(emits_changed_signal = "const"), name = "LogsDirectoryMode")]
3684 fn logs_directory_mode(&self) -> crate::zbus::Result<u32>;
3685
3686 #[zbus(
3688 property(emits_changed_signal = "const"),
3689 name = "LogsDirectoryAccounting"
3690 )]
3691 fn logs_directory_accounting(&self) -> crate::zbus::Result<bool>;
3692
3693 #[zbus(property(emits_changed_signal = "const"), name = "LogsDirectoryQuota")]
3695 fn logs_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
3696
3697 #[zbus(property(emits_changed_signal = "const"), name = "LogsDirectory")]
3699 fn logs_directory(&self) -> crate::zbus::Result<Vec<String>>;
3700
3701 #[zbus(
3703 property(emits_changed_signal = "const"),
3704 name = "ConfigurationDirectoryMode"
3705 )]
3706 fn configuration_directory_mode(&self) -> crate::zbus::Result<u32>;
3707
3708 #[zbus(
3710 property(emits_changed_signal = "const"),
3711 name = "ConfigurationDirectory"
3712 )]
3713 fn configuration_directory(&self) -> crate::zbus::Result<Vec<String>>;
3714
3715 #[zbus(property(emits_changed_signal = "const"), name = "TimeoutCleanUSec")]
3717 fn timeout_clean_u_sec(&self) -> crate::zbus::Result<u64>;
3718
3719 #[zbus(
3721 property(emits_changed_signal = "const"),
3722 name = "MemoryDenyWriteExecute"
3723 )]
3724 fn memory_deny_write_execute(&self) -> crate::zbus::Result<bool>;
3725
3726 #[zbus(property(emits_changed_signal = "const"), name = "RestrictRealtime")]
3728 fn restrict_realtime(&self) -> crate::zbus::Result<bool>;
3729
3730 #[zbus(property(emits_changed_signal = "const"), name = "RestrictSUIDSGID")]
3732 fn restrict_suidsgid(&self) -> crate::zbus::Result<bool>;
3733
3734 #[zbus(property(emits_changed_signal = "const"), name = "RestrictNamespaces")]
3736 fn restrict_namespaces(&self) -> crate::zbus::Result<u64>;
3737
3738 #[zbus(property(emits_changed_signal = "const"), name = "DelegateNamespaces")]
3740 fn delegate_namespaces(&self) -> crate::zbus::Result<u64>;
3741
3742 #[zbus(property(emits_changed_signal = "const"), name = "RestrictFileSystems")]
3744 fn restrict_file_systems(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
3745
3746 #[zbus(property(emits_changed_signal = "const"), name = "BindPaths")]
3748 fn bind_paths(&self) -> crate::zbus::Result<Vec<(String, String, bool, u64)>>;
3749
3750 #[zbus(property(emits_changed_signal = "const"), name = "BindReadOnlyPaths")]
3752 fn bind_read_only_paths(&self) -> crate::zbus::Result<Vec<(String, String, bool, u64)>>;
3753
3754 #[zbus(property(emits_changed_signal = "const"), name = "TemporaryFileSystem")]
3756 fn temporary_file_system(&self) -> crate::zbus::Result<Vec<(String, String)>>;
3757
3758 #[zbus(property(emits_changed_signal = "const"), name = "MountAPIVFS")]
3760 fn mount_apivfs(&self) -> crate::zbus::Result<bool>;
3761
3762 #[zbus(property(emits_changed_signal = "const"), name = "BindLogSockets")]
3764 fn bind_log_sockets(&self) -> crate::zbus::Result<bool>;
3765
3766 #[zbus(property(emits_changed_signal = "const"), name = "KeyringMode")]
3768 fn keyring_mode(&self) -> crate::zbus::Result<String>;
3769
3770 #[zbus(property(emits_changed_signal = "const"), name = "ProtectProc")]
3772 fn protect_proc(&self) -> crate::zbus::Result<String>;
3773
3774 #[zbus(property(emits_changed_signal = "const"), name = "ProcSubset")]
3776 fn proc_subset(&self) -> crate::zbus::Result<String>;
3777
3778 #[zbus(property(emits_changed_signal = "const"), name = "ProtectHostname")]
3780 fn protect_hostname(&self) -> crate::zbus::Result<bool>;
3781
3782 #[zbus(property(emits_changed_signal = "const"), name = "ProtectHostnameEx")]
3784 fn protect_hostname_ex(&self) -> crate::zbus::Result<(String, String)>;
3785
3786 #[zbus(property(emits_changed_signal = "const"), name = "PrivateBPF")]
3788 fn private_bpf(&self) -> crate::zbus::Result<String>;
3789
3790 #[zbus(property(emits_changed_signal = "const"), name = "BPFDelegateCommands")]
3792 fn bpf_delegate_commands(&self) -> crate::zbus::Result<String>;
3793
3794 #[zbus(property(emits_changed_signal = "const"), name = "BPFDelegateMaps")]
3796 fn bpf_delegate_maps(&self) -> crate::zbus::Result<String>;
3797
3798 #[zbus(property(emits_changed_signal = "const"), name = "BPFDelegatePrograms")]
3800 fn bpf_delegate_programs(&self) -> crate::zbus::Result<String>;
3801
3802 #[zbus(
3804 property(emits_changed_signal = "const"),
3805 name = "BPFDelegateAttachments"
3806 )]
3807 fn bpf_delegate_attachments(&self) -> crate::zbus::Result<String>;
3808
3809 #[zbus(property(emits_changed_signal = "const"), name = "MemoryKSM")]
3811 fn memory_ksm(&self) -> crate::zbus::Result<bool>;
3812
3813 #[zbus(property(emits_changed_signal = "const"), name = "MemoryTHP")]
3815 fn memory_thp(&self) -> crate::zbus::Result<String>;
3816
3817 #[zbus(property(emits_changed_signal = "const"), name = "UserNamespacePath")]
3819 fn user_namespace_path(&self) -> crate::zbus::Result<String>;
3820
3821 #[zbus(
3823 property(emits_changed_signal = "const"),
3824 name = "NetworkNamespacePath"
3825 )]
3826 fn network_namespace_path(&self) -> crate::zbus::Result<String>;
3827
3828 #[zbus(property(emits_changed_signal = "const"), name = "IPCNamespacePath")]
3830 fn ipc_namespace_path(&self) -> crate::zbus::Result<String>;
3831
3832 #[zbus(property(emits_changed_signal = "const"), name = "RootImagePolicy")]
3834 fn root_image_policy(&self) -> crate::zbus::Result<String>;
3835
3836 #[zbus(property(emits_changed_signal = "const"), name = "MountImagePolicy")]
3838 fn mount_image_policy(&self) -> crate::zbus::Result<String>;
3839
3840 #[zbus(
3842 property(emits_changed_signal = "const"),
3843 name = "ExtensionImagePolicy"
3844 )]
3845 fn extension_image_policy(&self) -> crate::zbus::Result<String>;
3846
3847 #[zbus(
3849 property(emits_changed_signal = "false"),
3850 name = "StateDirectoryQuotaUsage"
3851 )]
3852 fn state_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
3853
3854 #[zbus(
3856 property(emits_changed_signal = "false"),
3857 name = "CacheDirectoryQuotaUsage"
3858 )]
3859 fn cache_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
3860
3861 #[zbus(
3863 property(emits_changed_signal = "false"),
3864 name = "LogsDirectoryQuotaUsage"
3865 )]
3866 fn logs_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
3867
3868 #[zbus(property(emits_changed_signal = "const"), name = "KillMode")]
3870 fn kill_mode(&self) -> crate::zbus::Result<String>;
3871
3872 #[zbus(property(emits_changed_signal = "const"), name = "KillSignal")]
3874 fn kill_signal(&self) -> crate::zbus::Result<i32>;
3875
3876 #[zbus(property(emits_changed_signal = "const"), name = "RestartKillSignal")]
3878 fn restart_kill_signal(&self) -> crate::zbus::Result<i32>;
3879
3880 #[zbus(property(emits_changed_signal = "const"), name = "FinalKillSignal")]
3882 fn final_kill_signal(&self) -> crate::zbus::Result<i32>;
3883
3884 #[zbus(property(emits_changed_signal = "const"), name = "SendSIGKILL")]
3886 fn send_sigkill(&self) -> crate::zbus::Result<bool>;
3887
3888 #[zbus(property(emits_changed_signal = "const"), name = "SendSIGHUP")]
3890 fn send_sighup(&self) -> crate::zbus::Result<bool>;
3891
3892 #[zbus(property(emits_changed_signal = "const"), name = "WatchdogSignal")]
3894 fn watchdog_signal(&self) -> crate::zbus::Result<i32>;
3895}
3896
3897#[proxy(
3899 interface = "org.freedesktop.systemd1.Socket",
3900 gen_blocking = false,
3901 default_service = "org.freedesktop.systemd1",
3902 assume_defaults = false
3903)]
3904pub trait Socket {
3905 #[zbus(name = "GetProcesses")]
3907 fn get_processes(&self) -> crate::zbus::Result<Vec<(String, u32, String)>>;
3908
3909 #[zbus(name = "AttachProcesses")]
3911 fn attach_processes(&self, subcgroup: String, pids: Vec<u32>) -> crate::zbus::Result<()>;
3912
3913 #[zbus(name = "RemoveSubgroup")]
3915 fn remove_subgroup(&self, subcgroup: String, flags: u64) -> crate::zbus::Result<()>;
3916
3917 #[zbus(property(emits_changed_signal = "const"), name = "BindIPv6Only")]
3919 fn bind_i_pv6_only(&self) -> crate::zbus::Result<String>;
3920
3921 #[zbus(property(emits_changed_signal = "const"), name = "Backlog")]
3923 fn backlog(&self) -> crate::zbus::Result<u32>;
3924
3925 #[zbus(property(emits_changed_signal = "const"), name = "TimeoutUSec")]
3927 fn timeout_u_sec(&self) -> crate::zbus::Result<u64>;
3928
3929 #[zbus(property(emits_changed_signal = "const"), name = "BindToDevice")]
3931 fn bind_to_device(&self) -> crate::zbus::Result<String>;
3932
3933 #[zbus(property(emits_changed_signal = "const"), name = "SocketUser")]
3935 fn socket_user(&self) -> crate::zbus::Result<String>;
3936
3937 #[zbus(property(emits_changed_signal = "const"), name = "SocketGroup")]
3939 fn socket_group(&self) -> crate::zbus::Result<String>;
3940
3941 #[zbus(property(emits_changed_signal = "const"), name = "SocketMode")]
3943 fn socket_mode(&self) -> crate::zbus::Result<u32>;
3944
3945 #[zbus(property(emits_changed_signal = "const"), name = "DirectoryMode")]
3947 fn directory_mode(&self) -> crate::zbus::Result<u32>;
3948
3949 #[zbus(property(emits_changed_signal = "const"), name = "Accept")]
3951 fn accept(&self) -> crate::zbus::Result<bool>;
3952
3953 #[zbus(property(emits_changed_signal = "const"), name = "FlushPending")]
3955 fn flush_pending(&self) -> crate::zbus::Result<bool>;
3956
3957 #[zbus(property(emits_changed_signal = "const"), name = "Writable")]
3959 fn writable(&self) -> crate::zbus::Result<bool>;
3960
3961 #[zbus(property(emits_changed_signal = "const"), name = "KeepAlive")]
3963 fn keep_alive(&self) -> crate::zbus::Result<bool>;
3964
3965 #[zbus(property(emits_changed_signal = "const"), name = "KeepAliveTimeUSec")]
3967 fn keep_alive_time_u_sec(&self) -> crate::zbus::Result<u64>;
3968
3969 #[zbus(
3971 property(emits_changed_signal = "const"),
3972 name = "KeepAliveIntervalUSec"
3973 )]
3974 fn keep_alive_interval_u_sec(&self) -> crate::zbus::Result<u64>;
3975
3976 #[zbus(property(emits_changed_signal = "const"), name = "KeepAliveProbes")]
3978 fn keep_alive_probes(&self) -> crate::zbus::Result<u32>;
3979
3980 #[zbus(property(emits_changed_signal = "const"), name = "DeferAcceptUSec")]
3982 fn defer_accept_u_sec(&self) -> crate::zbus::Result<u64>;
3983
3984 #[zbus(property(emits_changed_signal = "const"), name = "NoDelay")]
3986 fn no_delay(&self) -> crate::zbus::Result<bool>;
3987
3988 #[zbus(property(emits_changed_signal = "const"), name = "Priority")]
3990 fn priority(&self) -> crate::zbus::Result<i32>;
3991
3992 #[zbus(property(emits_changed_signal = "const"), name = "ReceiveBuffer")]
3994 fn receive_buffer(&self) -> crate::zbus::Result<u64>;
3995
3996 #[zbus(property(emits_changed_signal = "const"), name = "SendBuffer")]
3998 fn send_buffer(&self) -> crate::zbus::Result<u64>;
3999
4000 #[zbus(property(emits_changed_signal = "const"), name = "IPTOS")]
4002 fn iptos(&self) -> crate::zbus::Result<i32>;
4003
4004 #[zbus(property(emits_changed_signal = "const"), name = "IPTTL")]
4006 fn ipttl(&self) -> crate::zbus::Result<i32>;
4007
4008 #[zbus(property(emits_changed_signal = "const"), name = "PipeSize")]
4010 fn pipe_size(&self) -> crate::zbus::Result<u64>;
4011
4012 #[zbus(property(emits_changed_signal = "const"), name = "FreeBind")]
4014 fn free_bind(&self) -> crate::zbus::Result<bool>;
4015
4016 #[zbus(property(emits_changed_signal = "const"), name = "Transparent")]
4018 fn transparent(&self) -> crate::zbus::Result<bool>;
4019
4020 #[zbus(property(emits_changed_signal = "const"), name = "Broadcast")]
4022 fn broadcast(&self) -> crate::zbus::Result<bool>;
4023
4024 #[zbus(property(emits_changed_signal = "const"), name = "PassCredentials")]
4026 fn pass_credentials(&self) -> crate::zbus::Result<bool>;
4027
4028 #[zbus(property(emits_changed_signal = "const"), name = "PassPIDFD")]
4030 fn pass_pidfd(&self) -> crate::zbus::Result<bool>;
4031
4032 #[zbus(property(emits_changed_signal = "const"), name = "PassSecurity")]
4034 fn pass_security(&self) -> crate::zbus::Result<bool>;
4035
4036 #[zbus(property(emits_changed_signal = "const"), name = "PassPacketInfo")]
4038 fn pass_packet_info(&self) -> crate::zbus::Result<bool>;
4039
4040 #[zbus(
4042 property(emits_changed_signal = "const"),
4043 name = "AcceptFileDescriptors"
4044 )]
4045 fn accept_file_descriptors(&self) -> crate::zbus::Result<bool>;
4046
4047 #[zbus(property(emits_changed_signal = "const"), name = "Timestamping")]
4049 fn timestamping(&self) -> crate::zbus::Result<String>;
4050
4051 #[zbus(property(emits_changed_signal = "const"), name = "RemoveOnStop")]
4053 fn remove_on_stop(&self) -> crate::zbus::Result<bool>;
4054
4055 #[zbus(property(emits_changed_signal = "const"), name = "Listen")]
4057 fn listen(&self) -> crate::zbus::Result<Vec<(String, String)>>;
4058
4059 #[zbus(property(emits_changed_signal = "const"), name = "Symlinks")]
4061 fn symlinks(&self) -> crate::zbus::Result<Vec<String>>;
4062
4063 #[zbus(property(emits_changed_signal = "const"), name = "Mark")]
4065 fn mark(&self) -> crate::zbus::Result<i32>;
4066
4067 #[zbus(property(emits_changed_signal = "const"), name = "MaxConnections")]
4069 fn max_connections(&self) -> crate::zbus::Result<u32>;
4070
4071 #[zbus(
4073 property(emits_changed_signal = "const"),
4074 name = "MaxConnectionsPerSource"
4075 )]
4076 fn max_connections_per_source(&self) -> crate::zbus::Result<u32>;
4077
4078 #[zbus(
4080 property(emits_changed_signal = "const"),
4081 name = "MessageQueueMaxMessages"
4082 )]
4083 fn message_queue_max_messages(&self) -> crate::zbus::Result<i64>;
4084
4085 #[zbus(
4087 property(emits_changed_signal = "const"),
4088 name = "MessageQueueMessageSize"
4089 )]
4090 fn message_queue_message_size(&self) -> crate::zbus::Result<i64>;
4091
4092 #[zbus(property(emits_changed_signal = "const"), name = "TCPCongestion")]
4094 fn tcp_congestion(&self) -> crate::zbus::Result<String>;
4095
4096 #[zbus(property(emits_changed_signal = "const"), name = "ReusePort")]
4098 fn reuse_port(&self) -> crate::zbus::Result<bool>;
4099
4100 #[zbus(property(emits_changed_signal = "const"), name = "SmackLabel")]
4102 fn smack_label(&self) -> crate::zbus::Result<String>;
4103
4104 #[zbus(property(emits_changed_signal = "const"), name = "SmackLabelIPIn")]
4106 fn smack_label_ip_in(&self) -> crate::zbus::Result<String>;
4107
4108 #[zbus(property(emits_changed_signal = "const"), name = "SmackLabelIPOut")]
4110 fn smack_label_ip_out(&self) -> crate::zbus::Result<String>;
4111
4112 #[zbus(property(emits_changed_signal = "true"), name = "ControlPID")]
4114 fn control_pid(&self) -> crate::zbus::Result<u32>;
4115
4116 #[zbus(property(emits_changed_signal = "true"), name = "Result")]
4118 fn result(&self) -> crate::zbus::Result<String>;
4119
4120 #[zbus(property(emits_changed_signal = "false"), name = "NConnections")]
4122 fn n_connections(&self) -> crate::zbus::Result<u32>;
4123
4124 #[zbus(property(emits_changed_signal = "false"), name = "NAccepted")]
4126 fn n_accepted(&self) -> crate::zbus::Result<u32>;
4127
4128 #[zbus(property(emits_changed_signal = "false"), name = "NRefused")]
4130 fn n_refused(&self) -> crate::zbus::Result<u32>;
4131
4132 #[zbus(property(emits_changed_signal = "false"), name = "FileDescriptorName")]
4134 fn file_descriptor_name(&self) -> crate::zbus::Result<String>;
4135
4136 #[zbus(property(emits_changed_signal = "const"), name = "SocketProtocol")]
4138 fn socket_protocol(&self) -> crate::zbus::Result<i32>;
4139
4140 #[zbus(
4142 property(emits_changed_signal = "const"),
4143 name = "TriggerLimitIntervalUSec"
4144 )]
4145 fn trigger_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
4146
4147 #[zbus(property(emits_changed_signal = "const"), name = "TriggerLimitBurst")]
4149 fn trigger_limit_burst(&self) -> crate::zbus::Result<u32>;
4150
4151 #[zbus(
4153 property(emits_changed_signal = "const"),
4154 name = "PollLimitIntervalUSec"
4155 )]
4156 fn poll_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
4157
4158 #[zbus(property(emits_changed_signal = "const"), name = "PollLimitBurst")]
4160 fn poll_limit_burst(&self) -> crate::zbus::Result<u32>;
4161
4162 #[zbus(property(emits_changed_signal = "const"), name = "DeferTrigger")]
4164 fn defer_trigger(&self) -> crate::zbus::Result<String>;
4165
4166 #[zbus(property(emits_changed_signal = "const"), name = "DeferTriggerMaxUSec")]
4168 fn defer_trigger_max_u_sec(&self) -> crate::zbus::Result<u64>;
4169
4170 #[zbus(property(emits_changed_signal = "true"), name = "UID")]
4172 fn uid(&self) -> crate::zbus::Result<u32>;
4173
4174 #[zbus(property(emits_changed_signal = "true"), name = "GID")]
4176 fn gid(&self) -> crate::zbus::Result<u32>;
4177
4178 #[zbus(
4180 property(emits_changed_signal = "const"),
4181 name = "PassFileDescriptorsToExec"
4182 )]
4183 fn pass_file_descriptors_to_exec(&self) -> crate::zbus::Result<bool>;
4184
4185 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStartPre")]
4187 fn exec_start_pre(
4188 &self,
4189 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
4190
4191 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStartPost")]
4193 fn exec_start_post(
4194 &self,
4195 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
4196
4197 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStopPre")]
4199 fn exec_stop_pre(
4200 &self,
4201 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
4202
4203 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStopPost")]
4205 fn exec_stop_post(
4206 &self,
4207 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
4208
4209 #[zbus(property(emits_changed_signal = "false"), name = "Slice")]
4211 fn slice(&self) -> crate::zbus::Result<String>;
4212
4213 #[zbus(property(emits_changed_signal = "false"), name = "ControlGroup")]
4215 fn control_group(&self) -> crate::zbus::Result<String>;
4216
4217 #[zbus(property(emits_changed_signal = "false"), name = "ControlGroupId")]
4219 fn control_group_id(&self) -> crate::zbus::Result<u64>;
4220
4221 #[zbus(property(emits_changed_signal = "false"), name = "MemoryCurrent")]
4223 fn memory_current(&self) -> crate::zbus::Result<u64>;
4224
4225 #[zbus(property(emits_changed_signal = "false"), name = "MemoryPeak")]
4227 fn memory_peak(&self) -> crate::zbus::Result<u64>;
4228
4229 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapCurrent")]
4231 fn memory_swap_current(&self) -> crate::zbus::Result<u64>;
4232
4233 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapPeak")]
4235 fn memory_swap_peak(&self) -> crate::zbus::Result<u64>;
4236
4237 #[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapCurrent")]
4239 fn memory_z_swap_current(&self) -> crate::zbus::Result<u64>;
4240
4241 #[zbus(property(emits_changed_signal = "false"), name = "MemoryAvailable")]
4243 fn memory_available(&self) -> crate::zbus::Result<u64>;
4244
4245 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryMax")]
4247 fn effective_memory_max(&self) -> crate::zbus::Result<u64>;
4248
4249 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryHigh")]
4251 fn effective_memory_high(&self) -> crate::zbus::Result<u64>;
4252
4253 #[zbus(property(emits_changed_signal = "false"), name = "CPUUsageNSec")]
4255 fn cpu_usage_n_sec(&self) -> crate::zbus::Result<u64>;
4256
4257 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveCPUs")]
4259 fn effective_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
4260
4261 #[zbus(
4263 property(emits_changed_signal = "false"),
4264 name = "EffectiveMemoryNodes"
4265 )]
4266 fn effective_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
4267
4268 #[zbus(property(emits_changed_signal = "false"), name = "TasksCurrent")]
4270 fn tasks_current(&self) -> crate::zbus::Result<u64>;
4271
4272 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveTasksMax")]
4274 fn effective_tasks_max(&self) -> crate::zbus::Result<u64>;
4275
4276 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressBytes")]
4278 fn ip_ingress_bytes(&self) -> crate::zbus::Result<u64>;
4279
4280 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressPackets")]
4282 fn ip_ingress_packets(&self) -> crate::zbus::Result<u64>;
4283
4284 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressBytes")]
4286 fn ip_egress_bytes(&self) -> crate::zbus::Result<u64>;
4287
4288 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressPackets")]
4290 fn ip_egress_packets(&self) -> crate::zbus::Result<u64>;
4291
4292 #[zbus(property(emits_changed_signal = "false"), name = "IOReadBytes")]
4294 fn io_read_bytes(&self) -> crate::zbus::Result<u64>;
4295
4296 #[zbus(property(emits_changed_signal = "false"), name = "IOReadOperations")]
4298 fn io_read_operations(&self) -> crate::zbus::Result<u64>;
4299
4300 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteBytes")]
4302 fn io_write_bytes(&self) -> crate::zbus::Result<u64>;
4303
4304 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteOperations")]
4306 fn io_write_operations(&self) -> crate::zbus::Result<u64>;
4307
4308 #[zbus(property(emits_changed_signal = "false"), name = "OOMKills")]
4310 fn oom_kills(&self) -> crate::zbus::Result<u64>;
4311
4312 #[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMKills")]
4314 fn managed_oom_kills(&self) -> crate::zbus::Result<u64>;
4315
4316 #[zbus(property(emits_changed_signal = "false"), name = "Delegate")]
4318 fn delegate(&self) -> crate::zbus::Result<bool>;
4319
4320 #[zbus(property(emits_changed_signal = "false"), name = "DelegateControllers")]
4322 fn delegate_controllers(&self) -> crate::zbus::Result<Vec<String>>;
4323
4324 #[zbus(property(emits_changed_signal = "false"), name = "DelegateSubgroup")]
4326 fn delegate_subgroup(&self) -> crate::zbus::Result<String>;
4327
4328 #[zbus(property(emits_changed_signal = "false"), name = "CPUWeight")]
4330 fn cpu_weight(&self) -> crate::zbus::Result<u64>;
4331
4332 #[zbus(property(emits_changed_signal = "false"), name = "StartupCPUWeight")]
4334 fn startup_cpu_weight(&self) -> crate::zbus::Result<u64>;
4335
4336 #[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPerSecUSec")]
4338 fn cpu_quota_per_sec_u_sec(&self) -> crate::zbus::Result<u64>;
4339
4340 #[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPeriodUSec")]
4342 fn cpu_quota_period_u_sec(&self) -> crate::zbus::Result<u64>;
4343
4344 #[zbus(property(emits_changed_signal = "false"), name = "AllowedCPUs")]
4346 fn allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
4347
4348 #[zbus(property(emits_changed_signal = "false"), name = "StartupAllowedCPUs")]
4350 fn startup_allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
4351
4352 #[zbus(property(emits_changed_signal = "false"), name = "AllowedMemoryNodes")]
4354 fn allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
4355
4356 #[zbus(
4358 property(emits_changed_signal = "false"),
4359 name = "StartupAllowedMemoryNodes"
4360 )]
4361 fn startup_allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
4362
4363 #[zbus(property(emits_changed_signal = "false"), name = "IOAccounting")]
4365 fn io_accounting(&self) -> crate::zbus::Result<bool>;
4366
4367 #[zbus(property(emits_changed_signal = "false"), name = "IOWeight")]
4369 fn io_weight(&self) -> crate::zbus::Result<u64>;
4370
4371 #[zbus(property(emits_changed_signal = "false"), name = "StartupIOWeight")]
4373 fn startup_io_weight(&self) -> crate::zbus::Result<u64>;
4374
4375 #[zbus(property(emits_changed_signal = "false"), name = "IODeviceWeight")]
4377 fn io_device_weight(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
4378
4379 #[zbus(property(emits_changed_signal = "false"), name = "IOReadBandwidthMax")]
4381 fn io_read_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
4382
4383 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteBandwidthMax")]
4385 fn io_write_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
4386
4387 #[zbus(property(emits_changed_signal = "false"), name = "IOReadIOPSMax")]
4389 fn io_read_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
4390
4391 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteIOPSMax")]
4393 fn io_write_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
4394
4395 #[zbus(
4397 property(emits_changed_signal = "false"),
4398 name = "IODeviceLatencyTargetUSec"
4399 )]
4400 fn io_device_latency_target_u_sec(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
4401
4402 #[zbus(property(emits_changed_signal = "false"), name = "MemoryAccounting")]
4404 fn memory_accounting(&self) -> crate::zbus::Result<bool>;
4405
4406 #[zbus(property(emits_changed_signal = "false"), name = "MemoryMin")]
4408 fn memory_min(&self) -> crate::zbus::Result<u64>;
4409
4410 #[zbus(property(emits_changed_signal = "false"), name = "MemoryLow")]
4412 fn memory_low(&self) -> crate::zbus::Result<u64>;
4413
4414 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryLow")]
4416 fn startup_memory_low(&self) -> crate::zbus::Result<u64>;
4417
4418 #[zbus(property(emits_changed_signal = "false"), name = "MemoryHigh")]
4420 fn memory_high(&self) -> crate::zbus::Result<u64>;
4421
4422 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryHigh")]
4424 fn startup_memory_high(&self) -> crate::zbus::Result<u64>;
4425
4426 #[zbus(property(emits_changed_signal = "false"), name = "MemoryMax")]
4428 fn memory_max(&self) -> crate::zbus::Result<u64>;
4429
4430 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryMax")]
4432 fn startup_memory_max(&self) -> crate::zbus::Result<u64>;
4433
4434 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapMax")]
4436 fn memory_swap_max(&self) -> crate::zbus::Result<u64>;
4437
4438 #[zbus(
4440 property(emits_changed_signal = "false"),
4441 name = "StartupMemorySwapMax"
4442 )]
4443 fn startup_memory_swap_max(&self) -> crate::zbus::Result<u64>;
4444
4445 #[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapMax")]
4447 fn memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
4448
4449 #[zbus(
4451 property(emits_changed_signal = "false"),
4452 name = "StartupMemoryZSwapMax"
4453 )]
4454 fn startup_memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
4455
4456 #[zbus(
4458 property(emits_changed_signal = "false"),
4459 name = "MemoryZSwapWriteback"
4460 )]
4461 fn memory_z_swap_writeback(&self) -> crate::zbus::Result<bool>;
4462
4463 #[zbus(property(emits_changed_signal = "false"), name = "DevicePolicy")]
4465 fn device_policy(&self) -> crate::zbus::Result<String>;
4466
4467 #[zbus(property(emits_changed_signal = "false"), name = "DeviceAllow")]
4469 fn device_allow(&self) -> crate::zbus::Result<Vec<(String, String)>>;
4470
4471 #[zbus(property(emits_changed_signal = "false"), name = "TasksAccounting")]
4473 fn tasks_accounting(&self) -> crate::zbus::Result<bool>;
4474
4475 #[zbus(property(emits_changed_signal = "false"), name = "TasksMax")]
4477 fn tasks_max(&self) -> crate::zbus::Result<u64>;
4478
4479 #[zbus(property(emits_changed_signal = "false"), name = "IPAccounting")]
4481 fn ip_accounting(&self) -> crate::zbus::Result<bool>;
4482
4483 #[zbus(property(emits_changed_signal = "false"), name = "IPAddressAllow")]
4485 fn ip_address_allow(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
4486
4487 #[zbus(property(emits_changed_signal = "false"), name = "IPAddressDeny")]
4489 fn ip_address_deny(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
4490
4491 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressFilterPath")]
4493 fn ip_ingress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
4494
4495 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressFilterPath")]
4497 fn ip_egress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
4498
4499 #[zbus(property(emits_changed_signal = "false"), name = "DisableControllers")]
4501 fn disable_controllers(&self) -> crate::zbus::Result<Vec<String>>;
4502
4503 #[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMSwap")]
4505 fn managed_oom_swap(&self) -> crate::zbus::Result<String>;
4506
4507 #[zbus(
4509 property(emits_changed_signal = "false"),
4510 name = "ManagedOOMMemoryPressure"
4511 )]
4512 fn managed_oom_memory_pressure(&self) -> crate::zbus::Result<String>;
4513
4514 #[zbus(
4516 property(emits_changed_signal = "false"),
4517 name = "ManagedOOMMemoryPressureLimit"
4518 )]
4519 fn managed_oom_memory_pressure_limit(&self) -> crate::zbus::Result<u32>;
4520
4521 #[zbus(
4523 property(emits_changed_signal = "false"),
4524 name = "ManagedOOMMemoryPressureDurationUSec"
4525 )]
4526 fn managed_oom_memory_pressure_duration_u_sec(&self) -> crate::zbus::Result<u64>;
4527
4528 #[zbus(
4530 property(emits_changed_signal = "false"),
4531 name = "ManagedOOMPreference"
4532 )]
4533 fn managed_oom_preference(&self) -> crate::zbus::Result<String>;
4534
4535 #[zbus(property(emits_changed_signal = "false"), name = "BPFProgram")]
4537 fn bpf_program(&self) -> crate::zbus::Result<Vec<(String, String)>>;
4538
4539 #[zbus(property(emits_changed_signal = "false"), name = "SocketBindAllow")]
4541 fn socket_bind_allow(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
4542
4543 #[zbus(property(emits_changed_signal = "false"), name = "SocketBindDeny")]
4545 fn socket_bind_deny(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
4546
4547 #[zbus(
4549 property(emits_changed_signal = "false"),
4550 name = "RestrictNetworkInterfaces"
4551 )]
4552 fn restrict_network_interfaces(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
4553
4554 #[zbus(
4556 property(emits_changed_signal = "false"),
4557 name = "BindNetworkInterface"
4558 )]
4559 fn bind_network_interface(&self) -> crate::zbus::Result<String>;
4560
4561 #[zbus(property(emits_changed_signal = "false"), name = "MemoryPressureWatch")]
4563 fn memory_pressure_watch(&self) -> crate::zbus::Result<String>;
4564
4565 #[zbus(
4567 property(emits_changed_signal = "false"),
4568 name = "MemoryPressureThresholdUSec"
4569 )]
4570 fn memory_pressure_threshold_u_sec(&self) -> crate::zbus::Result<u64>;
4571
4572 #[zbus(property(emits_changed_signal = "false"), name = "NFTSet")]
4574 fn nft_set(&self) -> crate::zbus::Result<Vec<(i32, i32, String, String)>>;
4575
4576 #[zbus(property(emits_changed_signal = "false"), name = "CoredumpReceive")]
4578 fn coredump_receive(&self) -> crate::zbus::Result<bool>;
4579
4580 #[zbus(property(emits_changed_signal = "const"), name = "Environment")]
4582 fn environment(&self) -> crate::zbus::Result<Vec<String>>;
4583
4584 #[zbus(property(emits_changed_signal = "const"), name = "EnvironmentFiles")]
4586 fn environment_files(&self) -> crate::zbus::Result<Vec<(String, bool)>>;
4587
4588 #[zbus(property(emits_changed_signal = "const"), name = "PassEnvironment")]
4590 fn pass_environment(&self) -> crate::zbus::Result<Vec<String>>;
4591
4592 #[zbus(property(emits_changed_signal = "const"), name = "UnsetEnvironment")]
4594 fn unset_environment(&self) -> crate::zbus::Result<Vec<String>>;
4595
4596 #[zbus(property(emits_changed_signal = "const"), name = "UMask")]
4598 fn u_mask(&self) -> crate::zbus::Result<u32>;
4599
4600 #[zbus(property(emits_changed_signal = "const"), name = "LimitCPU")]
4602 fn limit_cpu(&self) -> crate::zbus::Result<u64>;
4603
4604 #[zbus(property(emits_changed_signal = "const"), name = "LimitCPUSoft")]
4606 fn limit_cpu_soft(&self) -> crate::zbus::Result<u64>;
4607
4608 #[zbus(property(emits_changed_signal = "const"), name = "LimitFSIZE")]
4610 fn limit_fsize(&self) -> crate::zbus::Result<u64>;
4611
4612 #[zbus(property(emits_changed_signal = "const"), name = "LimitFSIZESoft")]
4614 fn limit_fsize_soft(&self) -> crate::zbus::Result<u64>;
4615
4616 #[zbus(property(emits_changed_signal = "const"), name = "LimitDATA")]
4618 fn limit_data(&self) -> crate::zbus::Result<u64>;
4619
4620 #[zbus(property(emits_changed_signal = "const"), name = "LimitDATASoft")]
4622 fn limit_data_soft(&self) -> crate::zbus::Result<u64>;
4623
4624 #[zbus(property(emits_changed_signal = "const"), name = "LimitSTACK")]
4626 fn limit_stack(&self) -> crate::zbus::Result<u64>;
4627
4628 #[zbus(property(emits_changed_signal = "const"), name = "LimitSTACKSoft")]
4630 fn limit_stack_soft(&self) -> crate::zbus::Result<u64>;
4631
4632 #[zbus(property(emits_changed_signal = "const"), name = "LimitCORE")]
4634 fn limit_core(&self) -> crate::zbus::Result<u64>;
4635
4636 #[zbus(property(emits_changed_signal = "const"), name = "LimitCORESoft")]
4638 fn limit_core_soft(&self) -> crate::zbus::Result<u64>;
4639
4640 #[zbus(property(emits_changed_signal = "const"), name = "LimitRSS")]
4642 fn limit_rss(&self) -> crate::zbus::Result<u64>;
4643
4644 #[zbus(property(emits_changed_signal = "const"), name = "LimitRSSSoft")]
4646 fn limit_rss_soft(&self) -> crate::zbus::Result<u64>;
4647
4648 #[zbus(property(emits_changed_signal = "const"), name = "LimitNOFILE")]
4650 fn limit_nofile(&self) -> crate::zbus::Result<u64>;
4651
4652 #[zbus(property(emits_changed_signal = "const"), name = "LimitNOFILESoft")]
4654 fn limit_nofile_soft(&self) -> crate::zbus::Result<u64>;
4655
4656 #[zbus(property(emits_changed_signal = "const"), name = "LimitAS")]
4658 fn limit_as(&self) -> crate::zbus::Result<u64>;
4659
4660 #[zbus(property(emits_changed_signal = "const"), name = "LimitASSoft")]
4662 fn limit_as_soft(&self) -> crate::zbus::Result<u64>;
4663
4664 #[zbus(property(emits_changed_signal = "const"), name = "LimitNPROC")]
4666 fn limit_nproc(&self) -> crate::zbus::Result<u64>;
4667
4668 #[zbus(property(emits_changed_signal = "const"), name = "LimitNPROCSoft")]
4670 fn limit_nproc_soft(&self) -> crate::zbus::Result<u64>;
4671
4672 #[zbus(property(emits_changed_signal = "const"), name = "LimitMEMLOCK")]
4674 fn limit_memlock(&self) -> crate::zbus::Result<u64>;
4675
4676 #[zbus(property(emits_changed_signal = "const"), name = "LimitMEMLOCKSoft")]
4678 fn limit_memlock_soft(&self) -> crate::zbus::Result<u64>;
4679
4680 #[zbus(property(emits_changed_signal = "const"), name = "LimitLOCKS")]
4682 fn limit_locks(&self) -> crate::zbus::Result<u64>;
4683
4684 #[zbus(property(emits_changed_signal = "const"), name = "LimitLOCKSSoft")]
4686 fn limit_locks_soft(&self) -> crate::zbus::Result<u64>;
4687
4688 #[zbus(property(emits_changed_signal = "const"), name = "LimitSIGPENDING")]
4690 fn limit_sigpending(&self) -> crate::zbus::Result<u64>;
4691
4692 #[zbus(property(emits_changed_signal = "const"), name = "LimitSIGPENDINGSoft")]
4694 fn limit_sigpending_soft(&self) -> crate::zbus::Result<u64>;
4695
4696 #[zbus(property(emits_changed_signal = "const"), name = "LimitMSGQUEUE")]
4698 fn limit_msgqueue(&self) -> crate::zbus::Result<u64>;
4699
4700 #[zbus(property(emits_changed_signal = "const"), name = "LimitMSGQUEUESoft")]
4702 fn limit_msgqueue_soft(&self) -> crate::zbus::Result<u64>;
4703
4704 #[zbus(property(emits_changed_signal = "const"), name = "LimitNICE")]
4706 fn limit_nice(&self) -> crate::zbus::Result<u64>;
4707
4708 #[zbus(property(emits_changed_signal = "const"), name = "LimitNICESoft")]
4710 fn limit_nice_soft(&self) -> crate::zbus::Result<u64>;
4711
4712 #[zbus(property(emits_changed_signal = "const"), name = "LimitRTPRIO")]
4714 fn limit_rtprio(&self) -> crate::zbus::Result<u64>;
4715
4716 #[zbus(property(emits_changed_signal = "const"), name = "LimitRTPRIOSoft")]
4718 fn limit_rtprio_soft(&self) -> crate::zbus::Result<u64>;
4719
4720 #[zbus(property(emits_changed_signal = "const"), name = "LimitRTTIME")]
4722 fn limit_rttime(&self) -> crate::zbus::Result<u64>;
4723
4724 #[zbus(property(emits_changed_signal = "const"), name = "LimitRTTIMESoft")]
4726 fn limit_rttime_soft(&self) -> crate::zbus::Result<u64>;
4727
4728 #[zbus(property(emits_changed_signal = "const"), name = "WorkingDirectory")]
4730 fn working_directory(&self) -> crate::zbus::Result<String>;
4731
4732 #[zbus(property(emits_changed_signal = "const"), name = "RootDirectory")]
4734 fn root_directory(&self) -> crate::zbus::Result<String>;
4735
4736 #[zbus(property(emits_changed_signal = "const"), name = "RootImage")]
4738 fn root_image(&self) -> crate::zbus::Result<String>;
4739
4740 #[zbus(property(emits_changed_signal = "const"), name = "RootImageOptions")]
4742 fn root_image_options(&self) -> crate::zbus::Result<Vec<(String, String)>>;
4743
4744 #[zbus(property(emits_changed_signal = "const"), name = "RootHash")]
4746 fn root_hash(&self) -> crate::zbus::Result<Vec<u8>>;
4747
4748 #[zbus(property(emits_changed_signal = "const"), name = "RootHashPath")]
4750 fn root_hash_path(&self) -> crate::zbus::Result<String>;
4751
4752 #[zbus(property(emits_changed_signal = "const"), name = "RootHashSignature")]
4754 fn root_hash_signature(&self) -> crate::zbus::Result<Vec<u8>>;
4755
4756 #[zbus(
4758 property(emits_changed_signal = "const"),
4759 name = "RootHashSignaturePath"
4760 )]
4761 fn root_hash_signature_path(&self) -> crate::zbus::Result<String>;
4762
4763 #[zbus(property(emits_changed_signal = "const"), name = "RootVerity")]
4765 fn root_verity(&self) -> crate::zbus::Result<String>;
4766
4767 #[zbus(property(emits_changed_signal = "const"), name = "RootEphemeral")]
4769 fn root_ephemeral(&self) -> crate::zbus::Result<bool>;
4770
4771 #[zbus(property(emits_changed_signal = "const"), name = "RootMStack")]
4773 fn root_m_stack(&self) -> crate::zbus::Result<String>;
4774
4775 #[zbus(
4777 property(emits_changed_signal = "const"),
4778 name = "ExtensionDirectories"
4779 )]
4780 fn extension_directories(&self) -> crate::zbus::Result<Vec<String>>;
4781
4782 #[zbus(property(emits_changed_signal = "const"), name = "ExtensionImages")]
4784 fn extension_images(&self) -> crate::zbus::Result<Vec<(String, bool, Vec<(String, String)>)>>;
4785
4786 #[zbus(property(emits_changed_signal = "const"), name = "MountImages")]
4788 fn mount_images(
4789 &self,
4790 ) -> crate::zbus::Result<Vec<(String, String, bool, Vec<(String, String)>)>>;
4791
4792 #[zbus(property(emits_changed_signal = "const"), name = "OOMScoreAdjust")]
4794 fn oom_score_adjust(&self) -> crate::zbus::Result<i32>;
4795
4796 #[zbus(property(emits_changed_signal = "const"), name = "CoredumpFilter")]
4798 fn coredump_filter(&self) -> crate::zbus::Result<u64>;
4799
4800 #[zbus(property(emits_changed_signal = "const"), name = "Nice")]
4802 fn nice(&self) -> crate::zbus::Result<i32>;
4803
4804 #[zbus(property(emits_changed_signal = "const"), name = "IOSchedulingClass")]
4806 fn io_scheduling_class(&self) -> crate::zbus::Result<i32>;
4807
4808 #[zbus(
4810 property(emits_changed_signal = "const"),
4811 name = "IOSchedulingPriority"
4812 )]
4813 fn io_scheduling_priority(&self) -> crate::zbus::Result<i32>;
4814
4815 #[zbus(property(emits_changed_signal = "const"), name = "CPUSchedulingPolicy")]
4817 fn cpu_scheduling_policy(&self) -> crate::zbus::Result<i32>;
4818
4819 #[zbus(
4821 property(emits_changed_signal = "const"),
4822 name = "CPUSchedulingPriority"
4823 )]
4824 fn cpu_scheduling_priority(&self) -> crate::zbus::Result<i32>;
4825
4826 #[zbus(property(emits_changed_signal = "const"), name = "CPUAffinity")]
4828 fn cpu_affinity(&self) -> crate::zbus::Result<Vec<u8>>;
4829
4830 #[zbus(property(emits_changed_signal = "const"), name = "CPUAffinityFromNUMA")]
4832 fn cpu_affinity_from_numa(&self) -> crate::zbus::Result<bool>;
4833
4834 #[zbus(property(emits_changed_signal = "const"), name = "NUMAPolicy")]
4836 fn numa_policy(&self) -> crate::zbus::Result<i32>;
4837
4838 #[zbus(property(emits_changed_signal = "const"), name = "NUMAMask")]
4840 fn numa_mask(&self) -> crate::zbus::Result<Vec<u8>>;
4841
4842 #[zbus(property(emits_changed_signal = "const"), name = "TimerSlackNSec")]
4844 fn timer_slack_n_sec(&self) -> crate::zbus::Result<u64>;
4845
4846 #[zbus(
4848 property(emits_changed_signal = "const"),
4849 name = "CPUSchedulingResetOnFork"
4850 )]
4851 fn cpu_scheduling_reset_on_fork(&self) -> crate::zbus::Result<bool>;
4852
4853 #[zbus(property(emits_changed_signal = "const"), name = "NonBlocking")]
4855 fn non_blocking(&self) -> crate::zbus::Result<bool>;
4856
4857 #[zbus(property(emits_changed_signal = "const"), name = "StandardInput")]
4859 fn standard_input(&self) -> crate::zbus::Result<String>;
4860
4861 #[zbus(
4863 property(emits_changed_signal = "const"),
4864 name = "StandardInputFileDescriptorName"
4865 )]
4866 fn standard_input_file_descriptor_name(&self) -> crate::zbus::Result<String>;
4867
4868 #[zbus(property(emits_changed_signal = "const"), name = "StandardInputData")]
4870 fn standard_input_data(&self) -> crate::zbus::Result<Vec<u8>>;
4871
4872 #[zbus(property(emits_changed_signal = "const"), name = "StandardOutput")]
4874 fn standard_output(&self) -> crate::zbus::Result<String>;
4875
4876 #[zbus(
4878 property(emits_changed_signal = "const"),
4879 name = "StandardOutputFileDescriptorName"
4880 )]
4881 fn standard_output_file_descriptor_name(&self) -> crate::zbus::Result<String>;
4882
4883 #[zbus(property(emits_changed_signal = "const"), name = "StandardError")]
4885 fn standard_error(&self) -> crate::zbus::Result<String>;
4886
4887 #[zbus(
4889 property(emits_changed_signal = "const"),
4890 name = "StandardErrorFileDescriptorName"
4891 )]
4892 fn standard_error_file_descriptor_name(&self) -> crate::zbus::Result<String>;
4893
4894 #[zbus(property(emits_changed_signal = "const"), name = "TTYPath")]
4896 fn tty_path(&self) -> crate::zbus::Result<String>;
4897
4898 #[zbus(property(emits_changed_signal = "const"), name = "TTYReset")]
4900 fn tty_reset(&self) -> crate::zbus::Result<bool>;
4901
4902 #[zbus(property(emits_changed_signal = "const"), name = "TTYVHangup")]
4904 fn ttyv_hangup(&self) -> crate::zbus::Result<bool>;
4905
4906 #[zbus(property(emits_changed_signal = "const"), name = "TTYVTDisallocate")]
4908 fn ttyvt_disallocate(&self) -> crate::zbus::Result<bool>;
4909
4910 #[zbus(property(emits_changed_signal = "const"), name = "TTYRows")]
4912 fn tty_rows(&self) -> crate::zbus::Result<u16>;
4913
4914 #[zbus(property(emits_changed_signal = "const"), name = "TTYColumns")]
4916 fn tty_columns(&self) -> crate::zbus::Result<u16>;
4917
4918 #[zbus(property(emits_changed_signal = "const"), name = "SyslogPriority")]
4920 fn syslog_priority(&self) -> crate::zbus::Result<i32>;
4921
4922 #[zbus(property(emits_changed_signal = "const"), name = "SyslogIdentifier")]
4924 fn syslog_identifier(&self) -> crate::zbus::Result<String>;
4925
4926 #[zbus(property(emits_changed_signal = "const"), name = "SyslogLevelPrefix")]
4928 fn syslog_level_prefix(&self) -> crate::zbus::Result<bool>;
4929
4930 #[zbus(property(emits_changed_signal = "const"), name = "SyslogLevel")]
4932 fn syslog_level(&self) -> crate::zbus::Result<i32>;
4933
4934 #[zbus(property(emits_changed_signal = "const"), name = "SyslogFacility")]
4936 fn syslog_facility(&self) -> crate::zbus::Result<i32>;
4937
4938 #[zbus(property(emits_changed_signal = "const"), name = "LogLevelMax")]
4940 fn log_level_max(&self) -> crate::zbus::Result<i32>;
4941
4942 #[zbus(
4944 property(emits_changed_signal = "const"),
4945 name = "LogRateLimitIntervalUSec"
4946 )]
4947 fn log_rate_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
4948
4949 #[zbus(property(emits_changed_signal = "const"), name = "LogRateLimitBurst")]
4951 fn log_rate_limit_burst(&self) -> crate::zbus::Result<u32>;
4952
4953 #[zbus(property(emits_changed_signal = "const"), name = "LogExtraFields")]
4955 fn log_extra_fields(&self) -> crate::zbus::Result<Vec<Vec<u8>>>;
4956
4957 #[zbus(property(emits_changed_signal = "const"), name = "LogFilterPatterns")]
4959 fn log_filter_patterns(&self) -> crate::zbus::Result<Vec<(bool, String)>>;
4960
4961 #[zbus(property(emits_changed_signal = "const"), name = "LogNamespace")]
4963 fn log_namespace(&self) -> crate::zbus::Result<String>;
4964
4965 #[zbus(property(emits_changed_signal = "const"), name = "SecureBits")]
4967 fn secure_bits(&self) -> crate::zbus::Result<i32>;
4968
4969 #[zbus(
4971 property(emits_changed_signal = "const"),
4972 name = "CapabilityBoundingSet"
4973 )]
4974 fn capability_bounding_set(&self) -> crate::zbus::Result<u64>;
4975
4976 #[zbus(property(emits_changed_signal = "const"), name = "AmbientCapabilities")]
4978 fn ambient_capabilities(&self) -> crate::zbus::Result<u64>;
4979
4980 #[zbus(property(emits_changed_signal = "const"), name = "User")]
4982 fn user(&self) -> crate::zbus::Result<String>;
4983
4984 #[zbus(property(emits_changed_signal = "const"), name = "Group")]
4986 fn group(&self) -> crate::zbus::Result<String>;
4987
4988 #[zbus(property(emits_changed_signal = "const"), name = "DynamicUser")]
4990 fn dynamic_user(&self) -> crate::zbus::Result<bool>;
4991
4992 #[zbus(property(emits_changed_signal = "const"), name = "SetLoginEnvironment")]
4994 fn set_login_environment(&self) -> crate::zbus::Result<bool>;
4995
4996 #[zbus(property(emits_changed_signal = "const"), name = "RemoveIPC")]
4998 fn remove_ipc(&self) -> crate::zbus::Result<bool>;
4999
5000 #[zbus(property(emits_changed_signal = "const"), name = "SetCredential")]
5002 fn set_credential(&self) -> crate::zbus::Result<Vec<(String, Vec<u8>)>>;
5003
5004 #[zbus(
5006 property(emits_changed_signal = "const"),
5007 name = "SetCredentialEncrypted"
5008 )]
5009 fn set_credential_encrypted(&self) -> crate::zbus::Result<Vec<(String, Vec<u8>)>>;
5010
5011 #[zbus(property(emits_changed_signal = "const"), name = "LoadCredential")]
5013 fn load_credential(&self) -> crate::zbus::Result<Vec<(String, String)>>;
5014
5015 #[zbus(
5017 property(emits_changed_signal = "const"),
5018 name = "LoadCredentialEncrypted"
5019 )]
5020 fn load_credential_encrypted(&self) -> crate::zbus::Result<Vec<(String, String)>>;
5021
5022 #[zbus(property(emits_changed_signal = "const"), name = "ImportCredential")]
5024 fn import_credential(&self) -> crate::zbus::Result<Vec<String>>;
5025
5026 #[zbus(property(emits_changed_signal = "const"), name = "ImportCredentialEx")]
5028 fn import_credential_ex(&self) -> crate::zbus::Result<Vec<(String, String)>>;
5029
5030 #[zbus(property(emits_changed_signal = "const"), name = "SupplementaryGroups")]
5032 fn supplementary_groups(&self) -> crate::zbus::Result<Vec<String>>;
5033
5034 #[zbus(property(emits_changed_signal = "const"), name = "PAMName")]
5036 fn pam_name(&self) -> crate::zbus::Result<String>;
5037
5038 #[zbus(property(emits_changed_signal = "const"), name = "ReadWritePaths")]
5040 fn read_write_paths(&self) -> crate::zbus::Result<Vec<String>>;
5041
5042 #[zbus(property(emits_changed_signal = "const"), name = "ReadOnlyPaths")]
5044 fn read_only_paths(&self) -> crate::zbus::Result<Vec<String>>;
5045
5046 #[zbus(property(emits_changed_signal = "const"), name = "InaccessiblePaths")]
5048 fn inaccessible_paths(&self) -> crate::zbus::Result<Vec<String>>;
5049
5050 #[zbus(property(emits_changed_signal = "const"), name = "ExecPaths")]
5052 fn exec_paths(&self) -> crate::zbus::Result<Vec<String>>;
5053
5054 #[zbus(property(emits_changed_signal = "const"), name = "NoExecPaths")]
5056 fn no_exec_paths(&self) -> crate::zbus::Result<Vec<String>>;
5057
5058 #[zbus(property(emits_changed_signal = "const"), name = "ExecSearchPath")]
5060 fn exec_search_path(&self) -> crate::zbus::Result<Vec<String>>;
5061
5062 #[zbus(property(emits_changed_signal = "const"), name = "MountFlags")]
5064 fn mount_flags(&self) -> crate::zbus::Result<u64>;
5065
5066 #[zbus(property(emits_changed_signal = "const"), name = "PrivateTmp")]
5068 fn private_tmp(&self) -> crate::zbus::Result<bool>;
5069
5070 #[zbus(property(emits_changed_signal = "const"), name = "PrivateTmpEx")]
5072 fn private_tmp_ex(&self) -> crate::zbus::Result<String>;
5073
5074 #[zbus(property(emits_changed_signal = "const"), name = "PrivateDevices")]
5076 fn private_devices(&self) -> crate::zbus::Result<bool>;
5077
5078 #[zbus(property(emits_changed_signal = "const"), name = "ProtectClock")]
5080 fn protect_clock(&self) -> crate::zbus::Result<bool>;
5081
5082 #[zbus(
5084 property(emits_changed_signal = "const"),
5085 name = "ProtectKernelTunables"
5086 )]
5087 fn protect_kernel_tunables(&self) -> crate::zbus::Result<bool>;
5088
5089 #[zbus(
5091 property(emits_changed_signal = "const"),
5092 name = "ProtectKernelModules"
5093 )]
5094 fn protect_kernel_modules(&self) -> crate::zbus::Result<bool>;
5095
5096 #[zbus(property(emits_changed_signal = "const"), name = "ProtectKernelLogs")]
5098 fn protect_kernel_logs(&self) -> crate::zbus::Result<bool>;
5099
5100 #[zbus(
5102 property(emits_changed_signal = "const"),
5103 name = "ProtectControlGroups"
5104 )]
5105 fn protect_control_groups(&self) -> crate::zbus::Result<bool>;
5106
5107 #[zbus(
5109 property(emits_changed_signal = "const"),
5110 name = "ProtectControlGroupsEx"
5111 )]
5112 fn protect_control_groups_ex(&self) -> crate::zbus::Result<String>;
5113
5114 #[zbus(property(emits_changed_signal = "const"), name = "PrivateNetwork")]
5116 fn private_network(&self) -> crate::zbus::Result<bool>;
5117
5118 #[zbus(property(emits_changed_signal = "const"), name = "PrivateUsers")]
5120 fn private_users(&self) -> crate::zbus::Result<bool>;
5121
5122 #[zbus(property(emits_changed_signal = "const"), name = "PrivateUsersEx")]
5124 fn private_users_ex(&self) -> crate::zbus::Result<String>;
5125
5126 #[zbus(property(emits_changed_signal = "const"), name = "PrivateMounts")]
5128 fn private_mounts(&self) -> crate::zbus::Result<bool>;
5129
5130 #[zbus(property(emits_changed_signal = "const"), name = "PrivateIPC")]
5132 fn private_ipc(&self) -> crate::zbus::Result<bool>;
5133
5134 #[zbus(property(emits_changed_signal = "const"), name = "PrivatePIDs")]
5136 fn private_pi_ds(&self) -> crate::zbus::Result<String>;
5137
5138 #[zbus(property(emits_changed_signal = "const"), name = "ProtectHome")]
5140 fn protect_home(&self) -> crate::zbus::Result<String>;
5141
5142 #[zbus(property(emits_changed_signal = "const"), name = "ProtectSystem")]
5144 fn protect_system(&self) -> crate::zbus::Result<String>;
5145
5146 #[zbus(property(emits_changed_signal = "const"), name = "SameProcessGroup")]
5148 fn same_process_group(&self) -> crate::zbus::Result<bool>;
5149
5150 #[zbus(property(emits_changed_signal = "const"), name = "UtmpIdentifier")]
5152 fn utmp_identifier(&self) -> crate::zbus::Result<String>;
5153
5154 #[zbus(property(emits_changed_signal = "const"), name = "UtmpMode")]
5156 fn utmp_mode(&self) -> crate::zbus::Result<String>;
5157
5158 #[zbus(property(emits_changed_signal = "const"), name = "SELinuxContext")]
5160 fn se_linux_context(&self) -> crate::zbus::Result<(bool, String)>;
5161
5162 #[zbus(property(emits_changed_signal = "const"), name = "AppArmorProfile")]
5164 fn app_armor_profile(&self) -> crate::zbus::Result<(bool, String)>;
5165
5166 #[zbus(property(emits_changed_signal = "const"), name = "SmackProcessLabel")]
5168 fn smack_process_label(&self) -> crate::zbus::Result<(bool, String)>;
5169
5170 #[zbus(property(emits_changed_signal = "const"), name = "IgnoreSIGPIPE")]
5172 fn ignore_sigpipe(&self) -> crate::zbus::Result<bool>;
5173
5174 #[zbus(property(emits_changed_signal = "const"), name = "NoNewPrivileges")]
5176 fn no_new_privileges(&self) -> crate::zbus::Result<bool>;
5177
5178 #[zbus(property(emits_changed_signal = "const"), name = "SystemCallFilter")]
5180 fn system_call_filter(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
5181
5182 #[zbus(
5184 property(emits_changed_signal = "const"),
5185 name = "SystemCallArchitectures"
5186 )]
5187 fn system_call_architectures(&self) -> crate::zbus::Result<Vec<String>>;
5188
5189 #[zbus(
5191 property(emits_changed_signal = "const"),
5192 name = "SystemCallErrorNumber"
5193 )]
5194 fn system_call_error_number(&self) -> crate::zbus::Result<i32>;
5195
5196 #[zbus(property(emits_changed_signal = "const"), name = "SystemCallLog")]
5198 fn system_call_log(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
5199
5200 #[zbus(property(emits_changed_signal = "const"), name = "Personality")]
5202 fn personality(&self) -> crate::zbus::Result<String>;
5203
5204 #[zbus(property(emits_changed_signal = "const"), name = "LockPersonality")]
5206 fn lock_personality(&self) -> crate::zbus::Result<bool>;
5207
5208 #[zbus(
5210 property(emits_changed_signal = "const"),
5211 name = "RestrictAddressFamilies"
5212 )]
5213 fn restrict_address_families(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
5214
5215 #[zbus(
5217 property(emits_changed_signal = "const"),
5218 name = "RuntimeDirectorySymlink"
5219 )]
5220 fn runtime_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
5221
5222 #[zbus(
5224 property(emits_changed_signal = "const"),
5225 name = "RuntimeDirectoryPreserve"
5226 )]
5227 fn runtime_directory_preserve(&self) -> crate::zbus::Result<String>;
5228
5229 #[zbus(
5231 property(emits_changed_signal = "const"),
5232 name = "RuntimeDirectoryMode"
5233 )]
5234 fn runtime_directory_mode(&self) -> crate::zbus::Result<u32>;
5235
5236 #[zbus(property(emits_changed_signal = "const"), name = "RuntimeDirectory")]
5238 fn runtime_directory(&self) -> crate::zbus::Result<Vec<String>>;
5239
5240 #[zbus(
5242 property(emits_changed_signal = "const"),
5243 name = "StateDirectorySymlink"
5244 )]
5245 fn state_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
5246
5247 #[zbus(property(emits_changed_signal = "const"), name = "StateDirectoryMode")]
5249 fn state_directory_mode(&self) -> crate::zbus::Result<u32>;
5250
5251 #[zbus(
5253 property(emits_changed_signal = "const"),
5254 name = "StateDirectoryAccounting"
5255 )]
5256 fn state_directory_accounting(&self) -> crate::zbus::Result<bool>;
5257
5258 #[zbus(property(emits_changed_signal = "const"), name = "StateDirectoryQuota")]
5260 fn state_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
5261
5262 #[zbus(property(emits_changed_signal = "const"), name = "StateDirectory")]
5264 fn state_directory(&self) -> crate::zbus::Result<Vec<String>>;
5265
5266 #[zbus(
5268 property(emits_changed_signal = "const"),
5269 name = "CacheDirectorySymlink"
5270 )]
5271 fn cache_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
5272
5273 #[zbus(property(emits_changed_signal = "const"), name = "CacheDirectoryMode")]
5275 fn cache_directory_mode(&self) -> crate::zbus::Result<u32>;
5276
5277 #[zbus(
5279 property(emits_changed_signal = "const"),
5280 name = "CacheDirectoryAccounting"
5281 )]
5282 fn cache_directory_accounting(&self) -> crate::zbus::Result<bool>;
5283
5284 #[zbus(property(emits_changed_signal = "const"), name = "CacheDirectoryQuota")]
5286 fn cache_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
5287
5288 #[zbus(property(emits_changed_signal = "const"), name = "CacheDirectory")]
5290 fn cache_directory(&self) -> crate::zbus::Result<Vec<String>>;
5291
5292 #[zbus(
5294 property(emits_changed_signal = "const"),
5295 name = "LogsDirectorySymlink"
5296 )]
5297 fn logs_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
5298
5299 #[zbus(property(emits_changed_signal = "const"), name = "LogsDirectoryMode")]
5301 fn logs_directory_mode(&self) -> crate::zbus::Result<u32>;
5302
5303 #[zbus(
5305 property(emits_changed_signal = "const"),
5306 name = "LogsDirectoryAccounting"
5307 )]
5308 fn logs_directory_accounting(&self) -> crate::zbus::Result<bool>;
5309
5310 #[zbus(property(emits_changed_signal = "const"), name = "LogsDirectoryQuota")]
5312 fn logs_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
5313
5314 #[zbus(property(emits_changed_signal = "const"), name = "LogsDirectory")]
5316 fn logs_directory(&self) -> crate::zbus::Result<Vec<String>>;
5317
5318 #[zbus(
5320 property(emits_changed_signal = "const"),
5321 name = "ConfigurationDirectoryMode"
5322 )]
5323 fn configuration_directory_mode(&self) -> crate::zbus::Result<u32>;
5324
5325 #[zbus(
5327 property(emits_changed_signal = "const"),
5328 name = "ConfigurationDirectory"
5329 )]
5330 fn configuration_directory(&self) -> crate::zbus::Result<Vec<String>>;
5331
5332 #[zbus(property(emits_changed_signal = "const"), name = "TimeoutCleanUSec")]
5334 fn timeout_clean_u_sec(&self) -> crate::zbus::Result<u64>;
5335
5336 #[zbus(
5338 property(emits_changed_signal = "const"),
5339 name = "MemoryDenyWriteExecute"
5340 )]
5341 fn memory_deny_write_execute(&self) -> crate::zbus::Result<bool>;
5342
5343 #[zbus(property(emits_changed_signal = "const"), name = "RestrictRealtime")]
5345 fn restrict_realtime(&self) -> crate::zbus::Result<bool>;
5346
5347 #[zbus(property(emits_changed_signal = "const"), name = "RestrictSUIDSGID")]
5349 fn restrict_suidsgid(&self) -> crate::zbus::Result<bool>;
5350
5351 #[zbus(property(emits_changed_signal = "const"), name = "RestrictNamespaces")]
5353 fn restrict_namespaces(&self) -> crate::zbus::Result<u64>;
5354
5355 #[zbus(property(emits_changed_signal = "const"), name = "DelegateNamespaces")]
5357 fn delegate_namespaces(&self) -> crate::zbus::Result<u64>;
5358
5359 #[zbus(property(emits_changed_signal = "const"), name = "RestrictFileSystems")]
5361 fn restrict_file_systems(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
5362
5363 #[zbus(property(emits_changed_signal = "const"), name = "BindPaths")]
5365 fn bind_paths(&self) -> crate::zbus::Result<Vec<(String, String, bool, u64)>>;
5366
5367 #[zbus(property(emits_changed_signal = "const"), name = "BindReadOnlyPaths")]
5369 fn bind_read_only_paths(&self) -> crate::zbus::Result<Vec<(String, String, bool, u64)>>;
5370
5371 #[zbus(property(emits_changed_signal = "const"), name = "TemporaryFileSystem")]
5373 fn temporary_file_system(&self) -> crate::zbus::Result<Vec<(String, String)>>;
5374
5375 #[zbus(property(emits_changed_signal = "const"), name = "MountAPIVFS")]
5377 fn mount_apivfs(&self) -> crate::zbus::Result<bool>;
5378
5379 #[zbus(property(emits_changed_signal = "const"), name = "BindLogSockets")]
5381 fn bind_log_sockets(&self) -> crate::zbus::Result<bool>;
5382
5383 #[zbus(property(emits_changed_signal = "const"), name = "KeyringMode")]
5385 fn keyring_mode(&self) -> crate::zbus::Result<String>;
5386
5387 #[zbus(property(emits_changed_signal = "const"), name = "ProtectProc")]
5389 fn protect_proc(&self) -> crate::zbus::Result<String>;
5390
5391 #[zbus(property(emits_changed_signal = "const"), name = "ProcSubset")]
5393 fn proc_subset(&self) -> crate::zbus::Result<String>;
5394
5395 #[zbus(property(emits_changed_signal = "const"), name = "ProtectHostname")]
5397 fn protect_hostname(&self) -> crate::zbus::Result<bool>;
5398
5399 #[zbus(property(emits_changed_signal = "const"), name = "ProtectHostnameEx")]
5401 fn protect_hostname_ex(&self) -> crate::zbus::Result<(String, String)>;
5402
5403 #[zbus(property(emits_changed_signal = "const"), name = "PrivateBPF")]
5405 fn private_bpf(&self) -> crate::zbus::Result<String>;
5406
5407 #[zbus(property(emits_changed_signal = "const"), name = "BPFDelegateCommands")]
5409 fn bpf_delegate_commands(&self) -> crate::zbus::Result<String>;
5410
5411 #[zbus(property(emits_changed_signal = "const"), name = "BPFDelegateMaps")]
5413 fn bpf_delegate_maps(&self) -> crate::zbus::Result<String>;
5414
5415 #[zbus(property(emits_changed_signal = "const"), name = "BPFDelegatePrograms")]
5417 fn bpf_delegate_programs(&self) -> crate::zbus::Result<String>;
5418
5419 #[zbus(
5421 property(emits_changed_signal = "const"),
5422 name = "BPFDelegateAttachments"
5423 )]
5424 fn bpf_delegate_attachments(&self) -> crate::zbus::Result<String>;
5425
5426 #[zbus(property(emits_changed_signal = "const"), name = "MemoryKSM")]
5428 fn memory_ksm(&self) -> crate::zbus::Result<bool>;
5429
5430 #[zbus(property(emits_changed_signal = "const"), name = "MemoryTHP")]
5432 fn memory_thp(&self) -> crate::zbus::Result<String>;
5433
5434 #[zbus(property(emits_changed_signal = "const"), name = "UserNamespacePath")]
5436 fn user_namespace_path(&self) -> crate::zbus::Result<String>;
5437
5438 #[zbus(
5440 property(emits_changed_signal = "const"),
5441 name = "NetworkNamespacePath"
5442 )]
5443 fn network_namespace_path(&self) -> crate::zbus::Result<String>;
5444
5445 #[zbus(property(emits_changed_signal = "const"), name = "IPCNamespacePath")]
5447 fn ipc_namespace_path(&self) -> crate::zbus::Result<String>;
5448
5449 #[zbus(property(emits_changed_signal = "const"), name = "RootImagePolicy")]
5451 fn root_image_policy(&self) -> crate::zbus::Result<String>;
5452
5453 #[zbus(property(emits_changed_signal = "const"), name = "MountImagePolicy")]
5455 fn mount_image_policy(&self) -> crate::zbus::Result<String>;
5456
5457 #[zbus(
5459 property(emits_changed_signal = "const"),
5460 name = "ExtensionImagePolicy"
5461 )]
5462 fn extension_image_policy(&self) -> crate::zbus::Result<String>;
5463
5464 #[zbus(
5466 property(emits_changed_signal = "false"),
5467 name = "StateDirectoryQuotaUsage"
5468 )]
5469 fn state_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
5470
5471 #[zbus(
5473 property(emits_changed_signal = "false"),
5474 name = "CacheDirectoryQuotaUsage"
5475 )]
5476 fn cache_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
5477
5478 #[zbus(
5480 property(emits_changed_signal = "false"),
5481 name = "LogsDirectoryQuotaUsage"
5482 )]
5483 fn logs_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
5484
5485 #[zbus(property(emits_changed_signal = "const"), name = "KillMode")]
5487 fn kill_mode(&self) -> crate::zbus::Result<String>;
5488
5489 #[zbus(property(emits_changed_signal = "const"), name = "KillSignal")]
5491 fn kill_signal(&self) -> crate::zbus::Result<i32>;
5492
5493 #[zbus(property(emits_changed_signal = "const"), name = "RestartKillSignal")]
5495 fn restart_kill_signal(&self) -> crate::zbus::Result<i32>;
5496
5497 #[zbus(property(emits_changed_signal = "const"), name = "FinalKillSignal")]
5499 fn final_kill_signal(&self) -> crate::zbus::Result<i32>;
5500
5501 #[zbus(property(emits_changed_signal = "const"), name = "SendSIGKILL")]
5503 fn send_sigkill(&self) -> crate::zbus::Result<bool>;
5504
5505 #[zbus(property(emits_changed_signal = "const"), name = "SendSIGHUP")]
5507 fn send_sighup(&self) -> crate::zbus::Result<bool>;
5508
5509 #[zbus(property(emits_changed_signal = "const"), name = "WatchdogSignal")]
5511 fn watchdog_signal(&self) -> crate::zbus::Result<i32>;
5512}
5513
5514#[proxy(
5516 interface = "org.freedesktop.systemd1.Target",
5517 gen_blocking = false,
5518 default_service = "org.freedesktop.systemd1",
5519 assume_defaults = false
5520)]
5521pub trait Target {}
5522
5523#[proxy(
5525 interface = "org.freedesktop.systemd1.Device",
5526 gen_blocking = false,
5527 default_service = "org.freedesktop.systemd1",
5528 assume_defaults = false
5529)]
5530pub trait Device {
5531 #[zbus(property(emits_changed_signal = "true"), name = "SysFSPath")]
5533 fn sys_fs_path(&self) -> crate::zbus::Result<String>;
5534}
5535
5536#[proxy(
5538 interface = "org.freedesktop.systemd1.Mount",
5539 gen_blocking = false,
5540 default_service = "org.freedesktop.systemd1",
5541 assume_defaults = false
5542)]
5543pub trait Mount {
5544 #[zbus(name = "GetProcesses")]
5546 fn get_processes(&self) -> crate::zbus::Result<Vec<(String, u32, String)>>;
5547
5548 #[zbus(name = "AttachProcesses")]
5550 fn attach_processes(&self, subcgroup: String, pids: Vec<u32>) -> crate::zbus::Result<()>;
5551
5552 #[zbus(name = "RemoveSubgroup")]
5554 fn remove_subgroup(&self, subcgroup: String, flags: u64) -> crate::zbus::Result<()>;
5555
5556 #[zbus(property(emits_changed_signal = "const"), name = "Where")]
5558 fn where_property(&self) -> crate::zbus::Result<String>;
5559
5560 #[zbus(property(emits_changed_signal = "true"), name = "What")]
5562 fn what(&self) -> crate::zbus::Result<String>;
5563
5564 #[zbus(property(emits_changed_signal = "true"), name = "Options")]
5566 fn options(&self) -> crate::zbus::Result<String>;
5567
5568 #[zbus(property(emits_changed_signal = "true"), name = "Type")]
5570 fn type_property(&self) -> crate::zbus::Result<String>;
5571
5572 #[zbus(property(emits_changed_signal = "const"), name = "TimeoutUSec")]
5574 fn timeout_u_sec(&self) -> crate::zbus::Result<u64>;
5575
5576 #[zbus(property(emits_changed_signal = "true"), name = "ControlPID")]
5578 fn control_pid(&self) -> crate::zbus::Result<u32>;
5579
5580 #[zbus(property(emits_changed_signal = "const"), name = "DirectoryMode")]
5582 fn directory_mode(&self) -> crate::zbus::Result<u32>;
5583
5584 #[zbus(property(emits_changed_signal = "const"), name = "SloppyOptions")]
5586 fn sloppy_options(&self) -> crate::zbus::Result<bool>;
5587
5588 #[zbus(property(emits_changed_signal = "const"), name = "LazyUnmount")]
5590 fn lazy_unmount(&self) -> crate::zbus::Result<bool>;
5591
5592 #[zbus(property(emits_changed_signal = "const"), name = "ForceUnmount")]
5594 fn force_unmount(&self) -> crate::zbus::Result<bool>;
5595
5596 #[zbus(property(emits_changed_signal = "const"), name = "ReadWriteOnly")]
5598 fn read_write_only(&self) -> crate::zbus::Result<bool>;
5599
5600 #[zbus(property(emits_changed_signal = "true"), name = "Result")]
5602 fn result(&self) -> crate::zbus::Result<String>;
5603
5604 #[zbus(property(emits_changed_signal = "true"), name = "ReloadResult")]
5606 fn reload_result(&self) -> crate::zbus::Result<String>;
5607
5608 #[zbus(property(emits_changed_signal = "true"), name = "CleanResult")]
5610 fn clean_result(&self) -> crate::zbus::Result<String>;
5611
5612 #[zbus(property(emits_changed_signal = "true"), name = "UID")]
5614 fn uid(&self) -> crate::zbus::Result<u32>;
5615
5616 #[zbus(property(emits_changed_signal = "true"), name = "GID")]
5618 fn gid(&self) -> crate::zbus::Result<u32>;
5619
5620 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecMount")]
5622 fn exec_mount(
5623 &self,
5624 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
5625
5626 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecUnmount")]
5628 fn exec_unmount(
5629 &self,
5630 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
5631
5632 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecRemount")]
5634 fn exec_remount(
5635 &self,
5636 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
5637
5638 #[zbus(property(emits_changed_signal = "false"), name = "Slice")]
5640 fn slice(&self) -> crate::zbus::Result<String>;
5641
5642 #[zbus(property(emits_changed_signal = "false"), name = "ControlGroup")]
5644 fn control_group(&self) -> crate::zbus::Result<String>;
5645
5646 #[zbus(property(emits_changed_signal = "false"), name = "ControlGroupId")]
5648 fn control_group_id(&self) -> crate::zbus::Result<u64>;
5649
5650 #[zbus(property(emits_changed_signal = "false"), name = "MemoryCurrent")]
5652 fn memory_current(&self) -> crate::zbus::Result<u64>;
5653
5654 #[zbus(property(emits_changed_signal = "false"), name = "MemoryPeak")]
5656 fn memory_peak(&self) -> crate::zbus::Result<u64>;
5657
5658 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapCurrent")]
5660 fn memory_swap_current(&self) -> crate::zbus::Result<u64>;
5661
5662 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapPeak")]
5664 fn memory_swap_peak(&self) -> crate::zbus::Result<u64>;
5665
5666 #[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapCurrent")]
5668 fn memory_z_swap_current(&self) -> crate::zbus::Result<u64>;
5669
5670 #[zbus(property(emits_changed_signal = "false"), name = "MemoryAvailable")]
5672 fn memory_available(&self) -> crate::zbus::Result<u64>;
5673
5674 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryMax")]
5676 fn effective_memory_max(&self) -> crate::zbus::Result<u64>;
5677
5678 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryHigh")]
5680 fn effective_memory_high(&self) -> crate::zbus::Result<u64>;
5681
5682 #[zbus(property(emits_changed_signal = "false"), name = "CPUUsageNSec")]
5684 fn cpu_usage_n_sec(&self) -> crate::zbus::Result<u64>;
5685
5686 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveCPUs")]
5688 fn effective_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
5689
5690 #[zbus(
5692 property(emits_changed_signal = "false"),
5693 name = "EffectiveMemoryNodes"
5694 )]
5695 fn effective_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
5696
5697 #[zbus(property(emits_changed_signal = "false"), name = "TasksCurrent")]
5699 fn tasks_current(&self) -> crate::zbus::Result<u64>;
5700
5701 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveTasksMax")]
5703 fn effective_tasks_max(&self) -> crate::zbus::Result<u64>;
5704
5705 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressBytes")]
5707 fn ip_ingress_bytes(&self) -> crate::zbus::Result<u64>;
5708
5709 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressPackets")]
5711 fn ip_ingress_packets(&self) -> crate::zbus::Result<u64>;
5712
5713 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressBytes")]
5715 fn ip_egress_bytes(&self) -> crate::zbus::Result<u64>;
5716
5717 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressPackets")]
5719 fn ip_egress_packets(&self) -> crate::zbus::Result<u64>;
5720
5721 #[zbus(property(emits_changed_signal = "false"), name = "IOReadBytes")]
5723 fn io_read_bytes(&self) -> crate::zbus::Result<u64>;
5724
5725 #[zbus(property(emits_changed_signal = "false"), name = "IOReadOperations")]
5727 fn io_read_operations(&self) -> crate::zbus::Result<u64>;
5728
5729 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteBytes")]
5731 fn io_write_bytes(&self) -> crate::zbus::Result<u64>;
5732
5733 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteOperations")]
5735 fn io_write_operations(&self) -> crate::zbus::Result<u64>;
5736
5737 #[zbus(property(emits_changed_signal = "false"), name = "OOMKills")]
5739 fn oom_kills(&self) -> crate::zbus::Result<u64>;
5740
5741 #[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMKills")]
5743 fn managed_oom_kills(&self) -> crate::zbus::Result<u64>;
5744
5745 #[zbus(property(emits_changed_signal = "false"), name = "Delegate")]
5747 fn delegate(&self) -> crate::zbus::Result<bool>;
5748
5749 #[zbus(property(emits_changed_signal = "false"), name = "DelegateControllers")]
5751 fn delegate_controllers(&self) -> crate::zbus::Result<Vec<String>>;
5752
5753 #[zbus(property(emits_changed_signal = "false"), name = "DelegateSubgroup")]
5755 fn delegate_subgroup(&self) -> crate::zbus::Result<String>;
5756
5757 #[zbus(property(emits_changed_signal = "false"), name = "CPUWeight")]
5759 fn cpu_weight(&self) -> crate::zbus::Result<u64>;
5760
5761 #[zbus(property(emits_changed_signal = "false"), name = "StartupCPUWeight")]
5763 fn startup_cpu_weight(&self) -> crate::zbus::Result<u64>;
5764
5765 #[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPerSecUSec")]
5767 fn cpu_quota_per_sec_u_sec(&self) -> crate::zbus::Result<u64>;
5768
5769 #[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPeriodUSec")]
5771 fn cpu_quota_period_u_sec(&self) -> crate::zbus::Result<u64>;
5772
5773 #[zbus(property(emits_changed_signal = "false"), name = "AllowedCPUs")]
5775 fn allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
5776
5777 #[zbus(property(emits_changed_signal = "false"), name = "StartupAllowedCPUs")]
5779 fn startup_allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
5780
5781 #[zbus(property(emits_changed_signal = "false"), name = "AllowedMemoryNodes")]
5783 fn allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
5784
5785 #[zbus(
5787 property(emits_changed_signal = "false"),
5788 name = "StartupAllowedMemoryNodes"
5789 )]
5790 fn startup_allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
5791
5792 #[zbus(property(emits_changed_signal = "false"), name = "IOAccounting")]
5794 fn io_accounting(&self) -> crate::zbus::Result<bool>;
5795
5796 #[zbus(property(emits_changed_signal = "false"), name = "IOWeight")]
5798 fn io_weight(&self) -> crate::zbus::Result<u64>;
5799
5800 #[zbus(property(emits_changed_signal = "false"), name = "StartupIOWeight")]
5802 fn startup_io_weight(&self) -> crate::zbus::Result<u64>;
5803
5804 #[zbus(property(emits_changed_signal = "false"), name = "IODeviceWeight")]
5806 fn io_device_weight(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
5807
5808 #[zbus(property(emits_changed_signal = "false"), name = "IOReadBandwidthMax")]
5810 fn io_read_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
5811
5812 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteBandwidthMax")]
5814 fn io_write_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
5815
5816 #[zbus(property(emits_changed_signal = "false"), name = "IOReadIOPSMax")]
5818 fn io_read_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
5819
5820 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteIOPSMax")]
5822 fn io_write_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
5823
5824 #[zbus(
5826 property(emits_changed_signal = "false"),
5827 name = "IODeviceLatencyTargetUSec"
5828 )]
5829 fn io_device_latency_target_u_sec(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
5830
5831 #[zbus(property(emits_changed_signal = "false"), name = "MemoryAccounting")]
5833 fn memory_accounting(&self) -> crate::zbus::Result<bool>;
5834
5835 #[zbus(property(emits_changed_signal = "false"), name = "MemoryMin")]
5837 fn memory_min(&self) -> crate::zbus::Result<u64>;
5838
5839 #[zbus(property(emits_changed_signal = "false"), name = "MemoryLow")]
5841 fn memory_low(&self) -> crate::zbus::Result<u64>;
5842
5843 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryLow")]
5845 fn startup_memory_low(&self) -> crate::zbus::Result<u64>;
5846
5847 #[zbus(property(emits_changed_signal = "false"), name = "MemoryHigh")]
5849 fn memory_high(&self) -> crate::zbus::Result<u64>;
5850
5851 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryHigh")]
5853 fn startup_memory_high(&self) -> crate::zbus::Result<u64>;
5854
5855 #[zbus(property(emits_changed_signal = "false"), name = "MemoryMax")]
5857 fn memory_max(&self) -> crate::zbus::Result<u64>;
5858
5859 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryMax")]
5861 fn startup_memory_max(&self) -> crate::zbus::Result<u64>;
5862
5863 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapMax")]
5865 fn memory_swap_max(&self) -> crate::zbus::Result<u64>;
5866
5867 #[zbus(
5869 property(emits_changed_signal = "false"),
5870 name = "StartupMemorySwapMax"
5871 )]
5872 fn startup_memory_swap_max(&self) -> crate::zbus::Result<u64>;
5873
5874 #[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapMax")]
5876 fn memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
5877
5878 #[zbus(
5880 property(emits_changed_signal = "false"),
5881 name = "StartupMemoryZSwapMax"
5882 )]
5883 fn startup_memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
5884
5885 #[zbus(
5887 property(emits_changed_signal = "false"),
5888 name = "MemoryZSwapWriteback"
5889 )]
5890 fn memory_z_swap_writeback(&self) -> crate::zbus::Result<bool>;
5891
5892 #[zbus(property(emits_changed_signal = "false"), name = "DevicePolicy")]
5894 fn device_policy(&self) -> crate::zbus::Result<String>;
5895
5896 #[zbus(property(emits_changed_signal = "false"), name = "DeviceAllow")]
5898 fn device_allow(&self) -> crate::zbus::Result<Vec<(String, String)>>;
5899
5900 #[zbus(property(emits_changed_signal = "false"), name = "TasksAccounting")]
5902 fn tasks_accounting(&self) -> crate::zbus::Result<bool>;
5903
5904 #[zbus(property(emits_changed_signal = "false"), name = "TasksMax")]
5906 fn tasks_max(&self) -> crate::zbus::Result<u64>;
5907
5908 #[zbus(property(emits_changed_signal = "false"), name = "IPAccounting")]
5910 fn ip_accounting(&self) -> crate::zbus::Result<bool>;
5911
5912 #[zbus(property(emits_changed_signal = "false"), name = "IPAddressAllow")]
5914 fn ip_address_allow(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
5915
5916 #[zbus(property(emits_changed_signal = "false"), name = "IPAddressDeny")]
5918 fn ip_address_deny(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
5919
5920 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressFilterPath")]
5922 fn ip_ingress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
5923
5924 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressFilterPath")]
5926 fn ip_egress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
5927
5928 #[zbus(property(emits_changed_signal = "false"), name = "DisableControllers")]
5930 fn disable_controllers(&self) -> crate::zbus::Result<Vec<String>>;
5931
5932 #[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMSwap")]
5934 fn managed_oom_swap(&self) -> crate::zbus::Result<String>;
5935
5936 #[zbus(
5938 property(emits_changed_signal = "false"),
5939 name = "ManagedOOMMemoryPressure"
5940 )]
5941 fn managed_oom_memory_pressure(&self) -> crate::zbus::Result<String>;
5942
5943 #[zbus(
5945 property(emits_changed_signal = "false"),
5946 name = "ManagedOOMMemoryPressureLimit"
5947 )]
5948 fn managed_oom_memory_pressure_limit(&self) -> crate::zbus::Result<u32>;
5949
5950 #[zbus(
5952 property(emits_changed_signal = "false"),
5953 name = "ManagedOOMMemoryPressureDurationUSec"
5954 )]
5955 fn managed_oom_memory_pressure_duration_u_sec(&self) -> crate::zbus::Result<u64>;
5956
5957 #[zbus(
5959 property(emits_changed_signal = "false"),
5960 name = "ManagedOOMPreference"
5961 )]
5962 fn managed_oom_preference(&self) -> crate::zbus::Result<String>;
5963
5964 #[zbus(property(emits_changed_signal = "false"), name = "BPFProgram")]
5966 fn bpf_program(&self) -> crate::zbus::Result<Vec<(String, String)>>;
5967
5968 #[zbus(property(emits_changed_signal = "false"), name = "SocketBindAllow")]
5970 fn socket_bind_allow(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
5971
5972 #[zbus(property(emits_changed_signal = "false"), name = "SocketBindDeny")]
5974 fn socket_bind_deny(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
5975
5976 #[zbus(
5978 property(emits_changed_signal = "false"),
5979 name = "RestrictNetworkInterfaces"
5980 )]
5981 fn restrict_network_interfaces(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
5982
5983 #[zbus(
5985 property(emits_changed_signal = "false"),
5986 name = "BindNetworkInterface"
5987 )]
5988 fn bind_network_interface(&self) -> crate::zbus::Result<String>;
5989
5990 #[zbus(property(emits_changed_signal = "false"), name = "MemoryPressureWatch")]
5992 fn memory_pressure_watch(&self) -> crate::zbus::Result<String>;
5993
5994 #[zbus(
5996 property(emits_changed_signal = "false"),
5997 name = "MemoryPressureThresholdUSec"
5998 )]
5999 fn memory_pressure_threshold_u_sec(&self) -> crate::zbus::Result<u64>;
6000
6001 #[zbus(property(emits_changed_signal = "false"), name = "NFTSet")]
6003 fn nft_set(&self) -> crate::zbus::Result<Vec<(i32, i32, String, String)>>;
6004
6005 #[zbus(property(emits_changed_signal = "false"), name = "CoredumpReceive")]
6007 fn coredump_receive(&self) -> crate::zbus::Result<bool>;
6008
6009 #[zbus(property(emits_changed_signal = "const"), name = "Environment")]
6011 fn environment(&self) -> crate::zbus::Result<Vec<String>>;
6012
6013 #[zbus(property(emits_changed_signal = "const"), name = "EnvironmentFiles")]
6015 fn environment_files(&self) -> crate::zbus::Result<Vec<(String, bool)>>;
6016
6017 #[zbus(property(emits_changed_signal = "const"), name = "PassEnvironment")]
6019 fn pass_environment(&self) -> crate::zbus::Result<Vec<String>>;
6020
6021 #[zbus(property(emits_changed_signal = "const"), name = "UnsetEnvironment")]
6023 fn unset_environment(&self) -> crate::zbus::Result<Vec<String>>;
6024
6025 #[zbus(property(emits_changed_signal = "const"), name = "UMask")]
6027 fn u_mask(&self) -> crate::zbus::Result<u32>;
6028
6029 #[zbus(property(emits_changed_signal = "const"), name = "LimitCPU")]
6031 fn limit_cpu(&self) -> crate::zbus::Result<u64>;
6032
6033 #[zbus(property(emits_changed_signal = "const"), name = "LimitCPUSoft")]
6035 fn limit_cpu_soft(&self) -> crate::zbus::Result<u64>;
6036
6037 #[zbus(property(emits_changed_signal = "const"), name = "LimitFSIZE")]
6039 fn limit_fsize(&self) -> crate::zbus::Result<u64>;
6040
6041 #[zbus(property(emits_changed_signal = "const"), name = "LimitFSIZESoft")]
6043 fn limit_fsize_soft(&self) -> crate::zbus::Result<u64>;
6044
6045 #[zbus(property(emits_changed_signal = "const"), name = "LimitDATA")]
6047 fn limit_data(&self) -> crate::zbus::Result<u64>;
6048
6049 #[zbus(property(emits_changed_signal = "const"), name = "LimitDATASoft")]
6051 fn limit_data_soft(&self) -> crate::zbus::Result<u64>;
6052
6053 #[zbus(property(emits_changed_signal = "const"), name = "LimitSTACK")]
6055 fn limit_stack(&self) -> crate::zbus::Result<u64>;
6056
6057 #[zbus(property(emits_changed_signal = "const"), name = "LimitSTACKSoft")]
6059 fn limit_stack_soft(&self) -> crate::zbus::Result<u64>;
6060
6061 #[zbus(property(emits_changed_signal = "const"), name = "LimitCORE")]
6063 fn limit_core(&self) -> crate::zbus::Result<u64>;
6064
6065 #[zbus(property(emits_changed_signal = "const"), name = "LimitCORESoft")]
6067 fn limit_core_soft(&self) -> crate::zbus::Result<u64>;
6068
6069 #[zbus(property(emits_changed_signal = "const"), name = "LimitRSS")]
6071 fn limit_rss(&self) -> crate::zbus::Result<u64>;
6072
6073 #[zbus(property(emits_changed_signal = "const"), name = "LimitRSSSoft")]
6075 fn limit_rss_soft(&self) -> crate::zbus::Result<u64>;
6076
6077 #[zbus(property(emits_changed_signal = "const"), name = "LimitNOFILE")]
6079 fn limit_nofile(&self) -> crate::zbus::Result<u64>;
6080
6081 #[zbus(property(emits_changed_signal = "const"), name = "LimitNOFILESoft")]
6083 fn limit_nofile_soft(&self) -> crate::zbus::Result<u64>;
6084
6085 #[zbus(property(emits_changed_signal = "const"), name = "LimitAS")]
6087 fn limit_as(&self) -> crate::zbus::Result<u64>;
6088
6089 #[zbus(property(emits_changed_signal = "const"), name = "LimitASSoft")]
6091 fn limit_as_soft(&self) -> crate::zbus::Result<u64>;
6092
6093 #[zbus(property(emits_changed_signal = "const"), name = "LimitNPROC")]
6095 fn limit_nproc(&self) -> crate::zbus::Result<u64>;
6096
6097 #[zbus(property(emits_changed_signal = "const"), name = "LimitNPROCSoft")]
6099 fn limit_nproc_soft(&self) -> crate::zbus::Result<u64>;
6100
6101 #[zbus(property(emits_changed_signal = "const"), name = "LimitMEMLOCK")]
6103 fn limit_memlock(&self) -> crate::zbus::Result<u64>;
6104
6105 #[zbus(property(emits_changed_signal = "const"), name = "LimitMEMLOCKSoft")]
6107 fn limit_memlock_soft(&self) -> crate::zbus::Result<u64>;
6108
6109 #[zbus(property(emits_changed_signal = "const"), name = "LimitLOCKS")]
6111 fn limit_locks(&self) -> crate::zbus::Result<u64>;
6112
6113 #[zbus(property(emits_changed_signal = "const"), name = "LimitLOCKSSoft")]
6115 fn limit_locks_soft(&self) -> crate::zbus::Result<u64>;
6116
6117 #[zbus(property(emits_changed_signal = "const"), name = "LimitSIGPENDING")]
6119 fn limit_sigpending(&self) -> crate::zbus::Result<u64>;
6120
6121 #[zbus(property(emits_changed_signal = "const"), name = "LimitSIGPENDINGSoft")]
6123 fn limit_sigpending_soft(&self) -> crate::zbus::Result<u64>;
6124
6125 #[zbus(property(emits_changed_signal = "const"), name = "LimitMSGQUEUE")]
6127 fn limit_msgqueue(&self) -> crate::zbus::Result<u64>;
6128
6129 #[zbus(property(emits_changed_signal = "const"), name = "LimitMSGQUEUESoft")]
6131 fn limit_msgqueue_soft(&self) -> crate::zbus::Result<u64>;
6132
6133 #[zbus(property(emits_changed_signal = "const"), name = "LimitNICE")]
6135 fn limit_nice(&self) -> crate::zbus::Result<u64>;
6136
6137 #[zbus(property(emits_changed_signal = "const"), name = "LimitNICESoft")]
6139 fn limit_nice_soft(&self) -> crate::zbus::Result<u64>;
6140
6141 #[zbus(property(emits_changed_signal = "const"), name = "LimitRTPRIO")]
6143 fn limit_rtprio(&self) -> crate::zbus::Result<u64>;
6144
6145 #[zbus(property(emits_changed_signal = "const"), name = "LimitRTPRIOSoft")]
6147 fn limit_rtprio_soft(&self) -> crate::zbus::Result<u64>;
6148
6149 #[zbus(property(emits_changed_signal = "const"), name = "LimitRTTIME")]
6151 fn limit_rttime(&self) -> crate::zbus::Result<u64>;
6152
6153 #[zbus(property(emits_changed_signal = "const"), name = "LimitRTTIMESoft")]
6155 fn limit_rttime_soft(&self) -> crate::zbus::Result<u64>;
6156
6157 #[zbus(property(emits_changed_signal = "const"), name = "WorkingDirectory")]
6159 fn working_directory(&self) -> crate::zbus::Result<String>;
6160
6161 #[zbus(property(emits_changed_signal = "const"), name = "RootDirectory")]
6163 fn root_directory(&self) -> crate::zbus::Result<String>;
6164
6165 #[zbus(property(emits_changed_signal = "const"), name = "RootImage")]
6167 fn root_image(&self) -> crate::zbus::Result<String>;
6168
6169 #[zbus(property(emits_changed_signal = "const"), name = "RootImageOptions")]
6171 fn root_image_options(&self) -> crate::zbus::Result<Vec<(String, String)>>;
6172
6173 #[zbus(property(emits_changed_signal = "const"), name = "RootHash")]
6175 fn root_hash(&self) -> crate::zbus::Result<Vec<u8>>;
6176
6177 #[zbus(property(emits_changed_signal = "const"), name = "RootHashPath")]
6179 fn root_hash_path(&self) -> crate::zbus::Result<String>;
6180
6181 #[zbus(property(emits_changed_signal = "const"), name = "RootHashSignature")]
6183 fn root_hash_signature(&self) -> crate::zbus::Result<Vec<u8>>;
6184
6185 #[zbus(
6187 property(emits_changed_signal = "const"),
6188 name = "RootHashSignaturePath"
6189 )]
6190 fn root_hash_signature_path(&self) -> crate::zbus::Result<String>;
6191
6192 #[zbus(property(emits_changed_signal = "const"), name = "RootVerity")]
6194 fn root_verity(&self) -> crate::zbus::Result<String>;
6195
6196 #[zbus(property(emits_changed_signal = "const"), name = "RootEphemeral")]
6198 fn root_ephemeral(&self) -> crate::zbus::Result<bool>;
6199
6200 #[zbus(property(emits_changed_signal = "const"), name = "RootMStack")]
6202 fn root_m_stack(&self) -> crate::zbus::Result<String>;
6203
6204 #[zbus(
6206 property(emits_changed_signal = "const"),
6207 name = "ExtensionDirectories"
6208 )]
6209 fn extension_directories(&self) -> crate::zbus::Result<Vec<String>>;
6210
6211 #[zbus(property(emits_changed_signal = "const"), name = "ExtensionImages")]
6213 fn extension_images(&self) -> crate::zbus::Result<Vec<(String, bool, Vec<(String, String)>)>>;
6214
6215 #[zbus(property(emits_changed_signal = "const"), name = "MountImages")]
6217 fn mount_images(
6218 &self,
6219 ) -> crate::zbus::Result<Vec<(String, String, bool, Vec<(String, String)>)>>;
6220
6221 #[zbus(property(emits_changed_signal = "const"), name = "OOMScoreAdjust")]
6223 fn oom_score_adjust(&self) -> crate::zbus::Result<i32>;
6224
6225 #[zbus(property(emits_changed_signal = "const"), name = "CoredumpFilter")]
6227 fn coredump_filter(&self) -> crate::zbus::Result<u64>;
6228
6229 #[zbus(property(emits_changed_signal = "const"), name = "Nice")]
6231 fn nice(&self) -> crate::zbus::Result<i32>;
6232
6233 #[zbus(property(emits_changed_signal = "const"), name = "IOSchedulingClass")]
6235 fn io_scheduling_class(&self) -> crate::zbus::Result<i32>;
6236
6237 #[zbus(
6239 property(emits_changed_signal = "const"),
6240 name = "IOSchedulingPriority"
6241 )]
6242 fn io_scheduling_priority(&self) -> crate::zbus::Result<i32>;
6243
6244 #[zbus(property(emits_changed_signal = "const"), name = "CPUSchedulingPolicy")]
6246 fn cpu_scheduling_policy(&self) -> crate::zbus::Result<i32>;
6247
6248 #[zbus(
6250 property(emits_changed_signal = "const"),
6251 name = "CPUSchedulingPriority"
6252 )]
6253 fn cpu_scheduling_priority(&self) -> crate::zbus::Result<i32>;
6254
6255 #[zbus(property(emits_changed_signal = "const"), name = "CPUAffinity")]
6257 fn cpu_affinity(&self) -> crate::zbus::Result<Vec<u8>>;
6258
6259 #[zbus(property(emits_changed_signal = "const"), name = "CPUAffinityFromNUMA")]
6261 fn cpu_affinity_from_numa(&self) -> crate::zbus::Result<bool>;
6262
6263 #[zbus(property(emits_changed_signal = "const"), name = "NUMAPolicy")]
6265 fn numa_policy(&self) -> crate::zbus::Result<i32>;
6266
6267 #[zbus(property(emits_changed_signal = "const"), name = "NUMAMask")]
6269 fn numa_mask(&self) -> crate::zbus::Result<Vec<u8>>;
6270
6271 #[zbus(property(emits_changed_signal = "const"), name = "TimerSlackNSec")]
6273 fn timer_slack_n_sec(&self) -> crate::zbus::Result<u64>;
6274
6275 #[zbus(
6277 property(emits_changed_signal = "const"),
6278 name = "CPUSchedulingResetOnFork"
6279 )]
6280 fn cpu_scheduling_reset_on_fork(&self) -> crate::zbus::Result<bool>;
6281
6282 #[zbus(property(emits_changed_signal = "const"), name = "NonBlocking")]
6284 fn non_blocking(&self) -> crate::zbus::Result<bool>;
6285
6286 #[zbus(property(emits_changed_signal = "const"), name = "StandardInput")]
6288 fn standard_input(&self) -> crate::zbus::Result<String>;
6289
6290 #[zbus(
6292 property(emits_changed_signal = "const"),
6293 name = "StandardInputFileDescriptorName"
6294 )]
6295 fn standard_input_file_descriptor_name(&self) -> crate::zbus::Result<String>;
6296
6297 #[zbus(property(emits_changed_signal = "const"), name = "StandardInputData")]
6299 fn standard_input_data(&self) -> crate::zbus::Result<Vec<u8>>;
6300
6301 #[zbus(property(emits_changed_signal = "const"), name = "StandardOutput")]
6303 fn standard_output(&self) -> crate::zbus::Result<String>;
6304
6305 #[zbus(
6307 property(emits_changed_signal = "const"),
6308 name = "StandardOutputFileDescriptorName"
6309 )]
6310 fn standard_output_file_descriptor_name(&self) -> crate::zbus::Result<String>;
6311
6312 #[zbus(property(emits_changed_signal = "const"), name = "StandardError")]
6314 fn standard_error(&self) -> crate::zbus::Result<String>;
6315
6316 #[zbus(
6318 property(emits_changed_signal = "const"),
6319 name = "StandardErrorFileDescriptorName"
6320 )]
6321 fn standard_error_file_descriptor_name(&self) -> crate::zbus::Result<String>;
6322
6323 #[zbus(property(emits_changed_signal = "const"), name = "TTYPath")]
6325 fn tty_path(&self) -> crate::zbus::Result<String>;
6326
6327 #[zbus(property(emits_changed_signal = "const"), name = "TTYReset")]
6329 fn tty_reset(&self) -> crate::zbus::Result<bool>;
6330
6331 #[zbus(property(emits_changed_signal = "const"), name = "TTYVHangup")]
6333 fn ttyv_hangup(&self) -> crate::zbus::Result<bool>;
6334
6335 #[zbus(property(emits_changed_signal = "const"), name = "TTYVTDisallocate")]
6337 fn ttyvt_disallocate(&self) -> crate::zbus::Result<bool>;
6338
6339 #[zbus(property(emits_changed_signal = "const"), name = "TTYRows")]
6341 fn tty_rows(&self) -> crate::zbus::Result<u16>;
6342
6343 #[zbus(property(emits_changed_signal = "const"), name = "TTYColumns")]
6345 fn tty_columns(&self) -> crate::zbus::Result<u16>;
6346
6347 #[zbus(property(emits_changed_signal = "const"), name = "SyslogPriority")]
6349 fn syslog_priority(&self) -> crate::zbus::Result<i32>;
6350
6351 #[zbus(property(emits_changed_signal = "const"), name = "SyslogIdentifier")]
6353 fn syslog_identifier(&self) -> crate::zbus::Result<String>;
6354
6355 #[zbus(property(emits_changed_signal = "const"), name = "SyslogLevelPrefix")]
6357 fn syslog_level_prefix(&self) -> crate::zbus::Result<bool>;
6358
6359 #[zbus(property(emits_changed_signal = "const"), name = "SyslogLevel")]
6361 fn syslog_level(&self) -> crate::zbus::Result<i32>;
6362
6363 #[zbus(property(emits_changed_signal = "const"), name = "SyslogFacility")]
6365 fn syslog_facility(&self) -> crate::zbus::Result<i32>;
6366
6367 #[zbus(property(emits_changed_signal = "const"), name = "LogLevelMax")]
6369 fn log_level_max(&self) -> crate::zbus::Result<i32>;
6370
6371 #[zbus(
6373 property(emits_changed_signal = "const"),
6374 name = "LogRateLimitIntervalUSec"
6375 )]
6376 fn log_rate_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
6377
6378 #[zbus(property(emits_changed_signal = "const"), name = "LogRateLimitBurst")]
6380 fn log_rate_limit_burst(&self) -> crate::zbus::Result<u32>;
6381
6382 #[zbus(property(emits_changed_signal = "const"), name = "LogExtraFields")]
6384 fn log_extra_fields(&self) -> crate::zbus::Result<Vec<Vec<u8>>>;
6385
6386 #[zbus(property(emits_changed_signal = "const"), name = "LogFilterPatterns")]
6388 fn log_filter_patterns(&self) -> crate::zbus::Result<Vec<(bool, String)>>;
6389
6390 #[zbus(property(emits_changed_signal = "const"), name = "LogNamespace")]
6392 fn log_namespace(&self) -> crate::zbus::Result<String>;
6393
6394 #[zbus(property(emits_changed_signal = "const"), name = "SecureBits")]
6396 fn secure_bits(&self) -> crate::zbus::Result<i32>;
6397
6398 #[zbus(
6400 property(emits_changed_signal = "const"),
6401 name = "CapabilityBoundingSet"
6402 )]
6403 fn capability_bounding_set(&self) -> crate::zbus::Result<u64>;
6404
6405 #[zbus(property(emits_changed_signal = "const"), name = "AmbientCapabilities")]
6407 fn ambient_capabilities(&self) -> crate::zbus::Result<u64>;
6408
6409 #[zbus(property(emits_changed_signal = "const"), name = "User")]
6411 fn user(&self) -> crate::zbus::Result<String>;
6412
6413 #[zbus(property(emits_changed_signal = "const"), name = "Group")]
6415 fn group(&self) -> crate::zbus::Result<String>;
6416
6417 #[zbus(property(emits_changed_signal = "const"), name = "DynamicUser")]
6419 fn dynamic_user(&self) -> crate::zbus::Result<bool>;
6420
6421 #[zbus(property(emits_changed_signal = "const"), name = "SetLoginEnvironment")]
6423 fn set_login_environment(&self) -> crate::zbus::Result<bool>;
6424
6425 #[zbus(property(emits_changed_signal = "const"), name = "RemoveIPC")]
6427 fn remove_ipc(&self) -> crate::zbus::Result<bool>;
6428
6429 #[zbus(property(emits_changed_signal = "const"), name = "SetCredential")]
6431 fn set_credential(&self) -> crate::zbus::Result<Vec<(String, Vec<u8>)>>;
6432
6433 #[zbus(
6435 property(emits_changed_signal = "const"),
6436 name = "SetCredentialEncrypted"
6437 )]
6438 fn set_credential_encrypted(&self) -> crate::zbus::Result<Vec<(String, Vec<u8>)>>;
6439
6440 #[zbus(property(emits_changed_signal = "const"), name = "LoadCredential")]
6442 fn load_credential(&self) -> crate::zbus::Result<Vec<(String, String)>>;
6443
6444 #[zbus(
6446 property(emits_changed_signal = "const"),
6447 name = "LoadCredentialEncrypted"
6448 )]
6449 fn load_credential_encrypted(&self) -> crate::zbus::Result<Vec<(String, String)>>;
6450
6451 #[zbus(property(emits_changed_signal = "const"), name = "ImportCredential")]
6453 fn import_credential(&self) -> crate::zbus::Result<Vec<String>>;
6454
6455 #[zbus(property(emits_changed_signal = "const"), name = "ImportCredentialEx")]
6457 fn import_credential_ex(&self) -> crate::zbus::Result<Vec<(String, String)>>;
6458
6459 #[zbus(property(emits_changed_signal = "const"), name = "SupplementaryGroups")]
6461 fn supplementary_groups(&self) -> crate::zbus::Result<Vec<String>>;
6462
6463 #[zbus(property(emits_changed_signal = "const"), name = "PAMName")]
6465 fn pam_name(&self) -> crate::zbus::Result<String>;
6466
6467 #[zbus(property(emits_changed_signal = "const"), name = "ReadWritePaths")]
6469 fn read_write_paths(&self) -> crate::zbus::Result<Vec<String>>;
6470
6471 #[zbus(property(emits_changed_signal = "const"), name = "ReadOnlyPaths")]
6473 fn read_only_paths(&self) -> crate::zbus::Result<Vec<String>>;
6474
6475 #[zbus(property(emits_changed_signal = "const"), name = "InaccessiblePaths")]
6477 fn inaccessible_paths(&self) -> crate::zbus::Result<Vec<String>>;
6478
6479 #[zbus(property(emits_changed_signal = "const"), name = "ExecPaths")]
6481 fn exec_paths(&self) -> crate::zbus::Result<Vec<String>>;
6482
6483 #[zbus(property(emits_changed_signal = "const"), name = "NoExecPaths")]
6485 fn no_exec_paths(&self) -> crate::zbus::Result<Vec<String>>;
6486
6487 #[zbus(property(emits_changed_signal = "const"), name = "ExecSearchPath")]
6489 fn exec_search_path(&self) -> crate::zbus::Result<Vec<String>>;
6490
6491 #[zbus(property(emits_changed_signal = "const"), name = "MountFlags")]
6493 fn mount_flags(&self) -> crate::zbus::Result<u64>;
6494
6495 #[zbus(property(emits_changed_signal = "const"), name = "PrivateTmp")]
6497 fn private_tmp(&self) -> crate::zbus::Result<bool>;
6498
6499 #[zbus(property(emits_changed_signal = "const"), name = "PrivateTmpEx")]
6501 fn private_tmp_ex(&self) -> crate::zbus::Result<String>;
6502
6503 #[zbus(property(emits_changed_signal = "const"), name = "PrivateDevices")]
6505 fn private_devices(&self) -> crate::zbus::Result<bool>;
6506
6507 #[zbus(property(emits_changed_signal = "const"), name = "ProtectClock")]
6509 fn protect_clock(&self) -> crate::zbus::Result<bool>;
6510
6511 #[zbus(
6513 property(emits_changed_signal = "const"),
6514 name = "ProtectKernelTunables"
6515 )]
6516 fn protect_kernel_tunables(&self) -> crate::zbus::Result<bool>;
6517
6518 #[zbus(
6520 property(emits_changed_signal = "const"),
6521 name = "ProtectKernelModules"
6522 )]
6523 fn protect_kernel_modules(&self) -> crate::zbus::Result<bool>;
6524
6525 #[zbus(property(emits_changed_signal = "const"), name = "ProtectKernelLogs")]
6527 fn protect_kernel_logs(&self) -> crate::zbus::Result<bool>;
6528
6529 #[zbus(
6531 property(emits_changed_signal = "const"),
6532 name = "ProtectControlGroups"
6533 )]
6534 fn protect_control_groups(&self) -> crate::zbus::Result<bool>;
6535
6536 #[zbus(
6538 property(emits_changed_signal = "const"),
6539 name = "ProtectControlGroupsEx"
6540 )]
6541 fn protect_control_groups_ex(&self) -> crate::zbus::Result<String>;
6542
6543 #[zbus(property(emits_changed_signal = "const"), name = "PrivateNetwork")]
6545 fn private_network(&self) -> crate::zbus::Result<bool>;
6546
6547 #[zbus(property(emits_changed_signal = "const"), name = "PrivateUsers")]
6549 fn private_users(&self) -> crate::zbus::Result<bool>;
6550
6551 #[zbus(property(emits_changed_signal = "const"), name = "PrivateUsersEx")]
6553 fn private_users_ex(&self) -> crate::zbus::Result<String>;
6554
6555 #[zbus(property(emits_changed_signal = "const"), name = "PrivateMounts")]
6557 fn private_mounts(&self) -> crate::zbus::Result<bool>;
6558
6559 #[zbus(property(emits_changed_signal = "const"), name = "PrivateIPC")]
6561 fn private_ipc(&self) -> crate::zbus::Result<bool>;
6562
6563 #[zbus(property(emits_changed_signal = "const"), name = "PrivatePIDs")]
6565 fn private_pi_ds(&self) -> crate::zbus::Result<String>;
6566
6567 #[zbus(property(emits_changed_signal = "const"), name = "ProtectHome")]
6569 fn protect_home(&self) -> crate::zbus::Result<String>;
6570
6571 #[zbus(property(emits_changed_signal = "const"), name = "ProtectSystem")]
6573 fn protect_system(&self) -> crate::zbus::Result<String>;
6574
6575 #[zbus(property(emits_changed_signal = "const"), name = "SameProcessGroup")]
6577 fn same_process_group(&self) -> crate::zbus::Result<bool>;
6578
6579 #[zbus(property(emits_changed_signal = "const"), name = "UtmpIdentifier")]
6581 fn utmp_identifier(&self) -> crate::zbus::Result<String>;
6582
6583 #[zbus(property(emits_changed_signal = "const"), name = "UtmpMode")]
6585 fn utmp_mode(&self) -> crate::zbus::Result<String>;
6586
6587 #[zbus(property(emits_changed_signal = "const"), name = "SELinuxContext")]
6589 fn se_linux_context(&self) -> crate::zbus::Result<(bool, String)>;
6590
6591 #[zbus(property(emits_changed_signal = "const"), name = "AppArmorProfile")]
6593 fn app_armor_profile(&self) -> crate::zbus::Result<(bool, String)>;
6594
6595 #[zbus(property(emits_changed_signal = "const"), name = "SmackProcessLabel")]
6597 fn smack_process_label(&self) -> crate::zbus::Result<(bool, String)>;
6598
6599 #[zbus(property(emits_changed_signal = "const"), name = "IgnoreSIGPIPE")]
6601 fn ignore_sigpipe(&self) -> crate::zbus::Result<bool>;
6602
6603 #[zbus(property(emits_changed_signal = "const"), name = "NoNewPrivileges")]
6605 fn no_new_privileges(&self) -> crate::zbus::Result<bool>;
6606
6607 #[zbus(property(emits_changed_signal = "const"), name = "SystemCallFilter")]
6609 fn system_call_filter(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
6610
6611 #[zbus(
6613 property(emits_changed_signal = "const"),
6614 name = "SystemCallArchitectures"
6615 )]
6616 fn system_call_architectures(&self) -> crate::zbus::Result<Vec<String>>;
6617
6618 #[zbus(
6620 property(emits_changed_signal = "const"),
6621 name = "SystemCallErrorNumber"
6622 )]
6623 fn system_call_error_number(&self) -> crate::zbus::Result<i32>;
6624
6625 #[zbus(property(emits_changed_signal = "const"), name = "SystemCallLog")]
6627 fn system_call_log(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
6628
6629 #[zbus(property(emits_changed_signal = "const"), name = "Personality")]
6631 fn personality(&self) -> crate::zbus::Result<String>;
6632
6633 #[zbus(property(emits_changed_signal = "const"), name = "LockPersonality")]
6635 fn lock_personality(&self) -> crate::zbus::Result<bool>;
6636
6637 #[zbus(
6639 property(emits_changed_signal = "const"),
6640 name = "RestrictAddressFamilies"
6641 )]
6642 fn restrict_address_families(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
6643
6644 #[zbus(
6646 property(emits_changed_signal = "const"),
6647 name = "RuntimeDirectorySymlink"
6648 )]
6649 fn runtime_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
6650
6651 #[zbus(
6653 property(emits_changed_signal = "const"),
6654 name = "RuntimeDirectoryPreserve"
6655 )]
6656 fn runtime_directory_preserve(&self) -> crate::zbus::Result<String>;
6657
6658 #[zbus(
6660 property(emits_changed_signal = "const"),
6661 name = "RuntimeDirectoryMode"
6662 )]
6663 fn runtime_directory_mode(&self) -> crate::zbus::Result<u32>;
6664
6665 #[zbus(property(emits_changed_signal = "const"), name = "RuntimeDirectory")]
6667 fn runtime_directory(&self) -> crate::zbus::Result<Vec<String>>;
6668
6669 #[zbus(
6671 property(emits_changed_signal = "const"),
6672 name = "StateDirectorySymlink"
6673 )]
6674 fn state_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
6675
6676 #[zbus(property(emits_changed_signal = "const"), name = "StateDirectoryMode")]
6678 fn state_directory_mode(&self) -> crate::zbus::Result<u32>;
6679
6680 #[zbus(
6682 property(emits_changed_signal = "const"),
6683 name = "StateDirectoryAccounting"
6684 )]
6685 fn state_directory_accounting(&self) -> crate::zbus::Result<bool>;
6686
6687 #[zbus(property(emits_changed_signal = "const"), name = "StateDirectoryQuota")]
6689 fn state_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
6690
6691 #[zbus(property(emits_changed_signal = "const"), name = "StateDirectory")]
6693 fn state_directory(&self) -> crate::zbus::Result<Vec<String>>;
6694
6695 #[zbus(
6697 property(emits_changed_signal = "const"),
6698 name = "CacheDirectorySymlink"
6699 )]
6700 fn cache_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
6701
6702 #[zbus(property(emits_changed_signal = "const"), name = "CacheDirectoryMode")]
6704 fn cache_directory_mode(&self) -> crate::zbus::Result<u32>;
6705
6706 #[zbus(
6708 property(emits_changed_signal = "const"),
6709 name = "CacheDirectoryAccounting"
6710 )]
6711 fn cache_directory_accounting(&self) -> crate::zbus::Result<bool>;
6712
6713 #[zbus(property(emits_changed_signal = "const"), name = "CacheDirectoryQuota")]
6715 fn cache_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
6716
6717 #[zbus(property(emits_changed_signal = "const"), name = "CacheDirectory")]
6719 fn cache_directory(&self) -> crate::zbus::Result<Vec<String>>;
6720
6721 #[zbus(
6723 property(emits_changed_signal = "const"),
6724 name = "LogsDirectorySymlink"
6725 )]
6726 fn logs_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
6727
6728 #[zbus(property(emits_changed_signal = "const"), name = "LogsDirectoryMode")]
6730 fn logs_directory_mode(&self) -> crate::zbus::Result<u32>;
6731
6732 #[zbus(
6734 property(emits_changed_signal = "const"),
6735 name = "LogsDirectoryAccounting"
6736 )]
6737 fn logs_directory_accounting(&self) -> crate::zbus::Result<bool>;
6738
6739 #[zbus(property(emits_changed_signal = "const"), name = "LogsDirectoryQuota")]
6741 fn logs_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
6742
6743 #[zbus(property(emits_changed_signal = "const"), name = "LogsDirectory")]
6745 fn logs_directory(&self) -> crate::zbus::Result<Vec<String>>;
6746
6747 #[zbus(
6749 property(emits_changed_signal = "const"),
6750 name = "ConfigurationDirectoryMode"
6751 )]
6752 fn configuration_directory_mode(&self) -> crate::zbus::Result<u32>;
6753
6754 #[zbus(
6756 property(emits_changed_signal = "const"),
6757 name = "ConfigurationDirectory"
6758 )]
6759 fn configuration_directory(&self) -> crate::zbus::Result<Vec<String>>;
6760
6761 #[zbus(property(emits_changed_signal = "const"), name = "TimeoutCleanUSec")]
6763 fn timeout_clean_u_sec(&self) -> crate::zbus::Result<u64>;
6764
6765 #[zbus(
6767 property(emits_changed_signal = "const"),
6768 name = "MemoryDenyWriteExecute"
6769 )]
6770 fn memory_deny_write_execute(&self) -> crate::zbus::Result<bool>;
6771
6772 #[zbus(property(emits_changed_signal = "const"), name = "RestrictRealtime")]
6774 fn restrict_realtime(&self) -> crate::zbus::Result<bool>;
6775
6776 #[zbus(property(emits_changed_signal = "const"), name = "RestrictSUIDSGID")]
6778 fn restrict_suidsgid(&self) -> crate::zbus::Result<bool>;
6779
6780 #[zbus(property(emits_changed_signal = "const"), name = "RestrictNamespaces")]
6782 fn restrict_namespaces(&self) -> crate::zbus::Result<u64>;
6783
6784 #[zbus(property(emits_changed_signal = "const"), name = "DelegateNamespaces")]
6786 fn delegate_namespaces(&self) -> crate::zbus::Result<u64>;
6787
6788 #[zbus(property(emits_changed_signal = "const"), name = "RestrictFileSystems")]
6790 fn restrict_file_systems(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
6791
6792 #[zbus(property(emits_changed_signal = "const"), name = "BindPaths")]
6794 fn bind_paths(&self) -> crate::zbus::Result<Vec<(String, String, bool, u64)>>;
6795
6796 #[zbus(property(emits_changed_signal = "const"), name = "BindReadOnlyPaths")]
6798 fn bind_read_only_paths(&self) -> crate::zbus::Result<Vec<(String, String, bool, u64)>>;
6799
6800 #[zbus(property(emits_changed_signal = "const"), name = "TemporaryFileSystem")]
6802 fn temporary_file_system(&self) -> crate::zbus::Result<Vec<(String, String)>>;
6803
6804 #[zbus(property(emits_changed_signal = "const"), name = "MountAPIVFS")]
6806 fn mount_apivfs(&self) -> crate::zbus::Result<bool>;
6807
6808 #[zbus(property(emits_changed_signal = "const"), name = "BindLogSockets")]
6810 fn bind_log_sockets(&self) -> crate::zbus::Result<bool>;
6811
6812 #[zbus(property(emits_changed_signal = "const"), name = "KeyringMode")]
6814 fn keyring_mode(&self) -> crate::zbus::Result<String>;
6815
6816 #[zbus(property(emits_changed_signal = "const"), name = "ProtectProc")]
6818 fn protect_proc(&self) -> crate::zbus::Result<String>;
6819
6820 #[zbus(property(emits_changed_signal = "const"), name = "ProcSubset")]
6822 fn proc_subset(&self) -> crate::zbus::Result<String>;
6823
6824 #[zbus(property(emits_changed_signal = "const"), name = "ProtectHostname")]
6826 fn protect_hostname(&self) -> crate::zbus::Result<bool>;
6827
6828 #[zbus(property(emits_changed_signal = "const"), name = "ProtectHostnameEx")]
6830 fn protect_hostname_ex(&self) -> crate::zbus::Result<(String, String)>;
6831
6832 #[zbus(property(emits_changed_signal = "const"), name = "PrivateBPF")]
6834 fn private_bpf(&self) -> crate::zbus::Result<String>;
6835
6836 #[zbus(property(emits_changed_signal = "const"), name = "BPFDelegateCommands")]
6838 fn bpf_delegate_commands(&self) -> crate::zbus::Result<String>;
6839
6840 #[zbus(property(emits_changed_signal = "const"), name = "BPFDelegateMaps")]
6842 fn bpf_delegate_maps(&self) -> crate::zbus::Result<String>;
6843
6844 #[zbus(property(emits_changed_signal = "const"), name = "BPFDelegatePrograms")]
6846 fn bpf_delegate_programs(&self) -> crate::zbus::Result<String>;
6847
6848 #[zbus(
6850 property(emits_changed_signal = "const"),
6851 name = "BPFDelegateAttachments"
6852 )]
6853 fn bpf_delegate_attachments(&self) -> crate::zbus::Result<String>;
6854
6855 #[zbus(property(emits_changed_signal = "const"), name = "MemoryKSM")]
6857 fn memory_ksm(&self) -> crate::zbus::Result<bool>;
6858
6859 #[zbus(property(emits_changed_signal = "const"), name = "MemoryTHP")]
6861 fn memory_thp(&self) -> crate::zbus::Result<String>;
6862
6863 #[zbus(property(emits_changed_signal = "const"), name = "UserNamespacePath")]
6865 fn user_namespace_path(&self) -> crate::zbus::Result<String>;
6866
6867 #[zbus(
6869 property(emits_changed_signal = "const"),
6870 name = "NetworkNamespacePath"
6871 )]
6872 fn network_namespace_path(&self) -> crate::zbus::Result<String>;
6873
6874 #[zbus(property(emits_changed_signal = "const"), name = "IPCNamespacePath")]
6876 fn ipc_namespace_path(&self) -> crate::zbus::Result<String>;
6877
6878 #[zbus(property(emits_changed_signal = "const"), name = "RootImagePolicy")]
6880 fn root_image_policy(&self) -> crate::zbus::Result<String>;
6881
6882 #[zbus(property(emits_changed_signal = "const"), name = "MountImagePolicy")]
6884 fn mount_image_policy(&self) -> crate::zbus::Result<String>;
6885
6886 #[zbus(
6888 property(emits_changed_signal = "const"),
6889 name = "ExtensionImagePolicy"
6890 )]
6891 fn extension_image_policy(&self) -> crate::zbus::Result<String>;
6892
6893 #[zbus(
6895 property(emits_changed_signal = "false"),
6896 name = "StateDirectoryQuotaUsage"
6897 )]
6898 fn state_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
6899
6900 #[zbus(
6902 property(emits_changed_signal = "false"),
6903 name = "CacheDirectoryQuotaUsage"
6904 )]
6905 fn cache_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
6906
6907 #[zbus(
6909 property(emits_changed_signal = "false"),
6910 name = "LogsDirectoryQuotaUsage"
6911 )]
6912 fn logs_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
6913
6914 #[zbus(property(emits_changed_signal = "const"), name = "KillMode")]
6916 fn kill_mode(&self) -> crate::zbus::Result<String>;
6917
6918 #[zbus(property(emits_changed_signal = "const"), name = "KillSignal")]
6920 fn kill_signal(&self) -> crate::zbus::Result<i32>;
6921
6922 #[zbus(property(emits_changed_signal = "const"), name = "RestartKillSignal")]
6924 fn restart_kill_signal(&self) -> crate::zbus::Result<i32>;
6925
6926 #[zbus(property(emits_changed_signal = "const"), name = "FinalKillSignal")]
6928 fn final_kill_signal(&self) -> crate::zbus::Result<i32>;
6929
6930 #[zbus(property(emits_changed_signal = "const"), name = "SendSIGKILL")]
6932 fn send_sigkill(&self) -> crate::zbus::Result<bool>;
6933
6934 #[zbus(property(emits_changed_signal = "const"), name = "SendSIGHUP")]
6936 fn send_sighup(&self) -> crate::zbus::Result<bool>;
6937
6938 #[zbus(property(emits_changed_signal = "const"), name = "WatchdogSignal")]
6940 fn watchdog_signal(&self) -> crate::zbus::Result<i32>;
6941}
6942
6943#[proxy(
6945 interface = "org.freedesktop.systemd1.Automount",
6946 gen_blocking = false,
6947 default_service = "org.freedesktop.systemd1",
6948 assume_defaults = false
6949)]
6950pub trait Automount {
6951 #[zbus(property(emits_changed_signal = "const"), name = "Where")]
6953 fn where_property(&self) -> crate::zbus::Result<String>;
6954
6955 #[zbus(property(emits_changed_signal = "const"), name = "ExtraOptions")]
6957 fn extra_options(&self) -> crate::zbus::Result<String>;
6958
6959 #[zbus(property(emits_changed_signal = "const"), name = "DirectoryMode")]
6961 fn directory_mode(&self) -> crate::zbus::Result<u32>;
6962
6963 #[zbus(property(emits_changed_signal = "true"), name = "Result")]
6965 fn result(&self) -> crate::zbus::Result<String>;
6966
6967 #[zbus(property(emits_changed_signal = "const"), name = "TimeoutIdleUSec")]
6969 fn timeout_idle_u_sec(&self) -> crate::zbus::Result<u64>;
6970}
6971
6972#[proxy(
6974 interface = "org.freedesktop.systemd1.Timer",
6975 gen_blocking = false,
6976 default_service = "org.freedesktop.systemd1",
6977 assume_defaults = false
6978)]
6979pub trait Timer {
6980 #[zbus(property(emits_changed_signal = "const"), name = "Unit")]
6982 fn unit(&self) -> crate::zbus::Result<String>;
6983
6984 #[zbus(
6986 property(emits_changed_signal = "invalidates"),
6987 name = "TimersMonotonic"
6988 )]
6989 fn timers_monotonic(&self) -> crate::zbus::Result<Vec<(String, u64, u64)>>;
6990
6991 #[zbus(
6993 property(emits_changed_signal = "invalidates"),
6994 name = "TimersCalendar"
6995 )]
6996 fn timers_calendar(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
6997
6998 #[zbus(property(emits_changed_signal = "const"), name = "OnClockChange")]
7000 fn on_clock_change(&self) -> crate::zbus::Result<bool>;
7001
7002 #[zbus(property(emits_changed_signal = "const"), name = "OnTimezoneChange")]
7004 fn on_timezone_change(&self) -> crate::zbus::Result<bool>;
7005
7006 #[zbus(
7008 property(emits_changed_signal = "true"),
7009 name = "NextElapseUSecRealtime"
7010 )]
7011 fn next_elapse_u_sec_realtime(&self) -> crate::zbus::Result<u64>;
7012
7013 #[zbus(
7015 property(emits_changed_signal = "true"),
7016 name = "NextElapseUSecMonotonic"
7017 )]
7018 fn next_elapse_u_sec_monotonic(&self) -> crate::zbus::Result<u64>;
7019
7020 #[zbus(property(emits_changed_signal = "true"), name = "LastTriggerUSec")]
7022 fn last_trigger_u_sec(&self) -> crate::zbus::Result<u64>;
7023
7024 #[zbus(
7026 property(emits_changed_signal = "true"),
7027 name = "LastTriggerUSecMonotonic"
7028 )]
7029 fn last_trigger_u_sec_monotonic(&self) -> crate::zbus::Result<u64>;
7030
7031 #[zbus(property(emits_changed_signal = "true"), name = "Result")]
7033 fn result(&self) -> crate::zbus::Result<String>;
7034
7035 #[zbus(property(emits_changed_signal = "const"), name = "AccuracyUSec")]
7037 fn accuracy_u_sec(&self) -> crate::zbus::Result<u64>;
7038
7039 #[zbus(property(emits_changed_signal = "const"), name = "RandomizedDelayUSec")]
7041 fn randomized_delay_u_sec(&self) -> crate::zbus::Result<u64>;
7042
7043 #[zbus(
7045 property(emits_changed_signal = "const"),
7046 name = "RandomizedOffsetUSec"
7047 )]
7048 fn randomized_offset_u_sec(&self) -> crate::zbus::Result<u64>;
7049
7050 #[zbus(property(emits_changed_signal = "const"), name = "FixedRandomDelay")]
7052 fn fixed_random_delay(&self) -> crate::zbus::Result<bool>;
7053
7054 #[zbus(property(emits_changed_signal = "const"), name = "Persistent")]
7056 fn persistent(&self) -> crate::zbus::Result<bool>;
7057
7058 #[zbus(property(emits_changed_signal = "const"), name = "WakeSystem")]
7060 fn wake_system(&self) -> crate::zbus::Result<bool>;
7061
7062 #[zbus(property(emits_changed_signal = "const"), name = "RemainAfterElapse")]
7064 fn remain_after_elapse(&self) -> crate::zbus::Result<bool>;
7065
7066 #[zbus(property(emits_changed_signal = "const"), name = "DeferReactivation")]
7068 fn defer_reactivation(&self) -> crate::zbus::Result<bool>;
7069}
7070
7071#[proxy(
7073 interface = "org.freedesktop.systemd1.Swap",
7074 gen_blocking = false,
7075 default_service = "org.freedesktop.systemd1",
7076 assume_defaults = false
7077)]
7078pub trait Swap {
7079 #[zbus(name = "GetProcesses")]
7081 fn get_processes(&self) -> crate::zbus::Result<Vec<(String, u32, String)>>;
7082
7083 #[zbus(name = "AttachProcesses")]
7085 fn attach_processes(&self, subcgroup: String, pids: Vec<u32>) -> crate::zbus::Result<()>;
7086
7087 #[zbus(name = "RemoveSubgroup")]
7089 fn remove_subgroup(&self, subcgroup: String, flags: u64) -> crate::zbus::Result<()>;
7090
7091 #[zbus(property(emits_changed_signal = "true"), name = "What")]
7093 fn what(&self) -> crate::zbus::Result<String>;
7094
7095 #[zbus(property(emits_changed_signal = "true"), name = "Priority")]
7097 fn priority(&self) -> crate::zbus::Result<i32>;
7098
7099 #[zbus(property(emits_changed_signal = "true"), name = "Options")]
7101 fn options(&self) -> crate::zbus::Result<String>;
7102
7103 #[zbus(property(emits_changed_signal = "const"), name = "TimeoutUSec")]
7105 fn timeout_u_sec(&self) -> crate::zbus::Result<u64>;
7106
7107 #[zbus(property(emits_changed_signal = "true"), name = "ControlPID")]
7109 fn control_pid(&self) -> crate::zbus::Result<u32>;
7110
7111 #[zbus(property(emits_changed_signal = "true"), name = "Result")]
7113 fn result(&self) -> crate::zbus::Result<String>;
7114
7115 #[zbus(property(emits_changed_signal = "true"), name = "UID")]
7117 fn uid(&self) -> crate::zbus::Result<u32>;
7118
7119 #[zbus(property(emits_changed_signal = "true"), name = "GID")]
7121 fn gid(&self) -> crate::zbus::Result<u32>;
7122
7123 #[zbus(property(emits_changed_signal = "invalidates"), name = "ExecActivate")]
7125 fn exec_activate(
7126 &self,
7127 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
7128
7129 #[zbus(
7131 property(emits_changed_signal = "invalidates"),
7132 name = "ExecDeactivate"
7133 )]
7134 fn exec_deactivate(
7135 &self,
7136 ) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
7137
7138 #[zbus(property(emits_changed_signal = "false"), name = "Slice")]
7140 fn slice(&self) -> crate::zbus::Result<String>;
7141
7142 #[zbus(property(emits_changed_signal = "false"), name = "ControlGroup")]
7144 fn control_group(&self) -> crate::zbus::Result<String>;
7145
7146 #[zbus(property(emits_changed_signal = "false"), name = "ControlGroupId")]
7148 fn control_group_id(&self) -> crate::zbus::Result<u64>;
7149
7150 #[zbus(property(emits_changed_signal = "false"), name = "MemoryCurrent")]
7152 fn memory_current(&self) -> crate::zbus::Result<u64>;
7153
7154 #[zbus(property(emits_changed_signal = "false"), name = "MemoryPeak")]
7156 fn memory_peak(&self) -> crate::zbus::Result<u64>;
7157
7158 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapCurrent")]
7160 fn memory_swap_current(&self) -> crate::zbus::Result<u64>;
7161
7162 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapPeak")]
7164 fn memory_swap_peak(&self) -> crate::zbus::Result<u64>;
7165
7166 #[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapCurrent")]
7168 fn memory_z_swap_current(&self) -> crate::zbus::Result<u64>;
7169
7170 #[zbus(property(emits_changed_signal = "false"), name = "MemoryAvailable")]
7172 fn memory_available(&self) -> crate::zbus::Result<u64>;
7173
7174 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryMax")]
7176 fn effective_memory_max(&self) -> crate::zbus::Result<u64>;
7177
7178 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryHigh")]
7180 fn effective_memory_high(&self) -> crate::zbus::Result<u64>;
7181
7182 #[zbus(property(emits_changed_signal = "false"), name = "CPUUsageNSec")]
7184 fn cpu_usage_n_sec(&self) -> crate::zbus::Result<u64>;
7185
7186 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveCPUs")]
7188 fn effective_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
7189
7190 #[zbus(
7192 property(emits_changed_signal = "false"),
7193 name = "EffectiveMemoryNodes"
7194 )]
7195 fn effective_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
7196
7197 #[zbus(property(emits_changed_signal = "false"), name = "TasksCurrent")]
7199 fn tasks_current(&self) -> crate::zbus::Result<u64>;
7200
7201 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveTasksMax")]
7203 fn effective_tasks_max(&self) -> crate::zbus::Result<u64>;
7204
7205 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressBytes")]
7207 fn ip_ingress_bytes(&self) -> crate::zbus::Result<u64>;
7208
7209 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressPackets")]
7211 fn ip_ingress_packets(&self) -> crate::zbus::Result<u64>;
7212
7213 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressBytes")]
7215 fn ip_egress_bytes(&self) -> crate::zbus::Result<u64>;
7216
7217 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressPackets")]
7219 fn ip_egress_packets(&self) -> crate::zbus::Result<u64>;
7220
7221 #[zbus(property(emits_changed_signal = "false"), name = "IOReadBytes")]
7223 fn io_read_bytes(&self) -> crate::zbus::Result<u64>;
7224
7225 #[zbus(property(emits_changed_signal = "false"), name = "IOReadOperations")]
7227 fn io_read_operations(&self) -> crate::zbus::Result<u64>;
7228
7229 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteBytes")]
7231 fn io_write_bytes(&self) -> crate::zbus::Result<u64>;
7232
7233 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteOperations")]
7235 fn io_write_operations(&self) -> crate::zbus::Result<u64>;
7236
7237 #[zbus(property(emits_changed_signal = "false"), name = "OOMKills")]
7239 fn oom_kills(&self) -> crate::zbus::Result<u64>;
7240
7241 #[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMKills")]
7243 fn managed_oom_kills(&self) -> crate::zbus::Result<u64>;
7244
7245 #[zbus(property(emits_changed_signal = "false"), name = "Delegate")]
7247 fn delegate(&self) -> crate::zbus::Result<bool>;
7248
7249 #[zbus(property(emits_changed_signal = "false"), name = "DelegateControllers")]
7251 fn delegate_controllers(&self) -> crate::zbus::Result<Vec<String>>;
7252
7253 #[zbus(property(emits_changed_signal = "false"), name = "DelegateSubgroup")]
7255 fn delegate_subgroup(&self) -> crate::zbus::Result<String>;
7256
7257 #[zbus(property(emits_changed_signal = "false"), name = "CPUWeight")]
7259 fn cpu_weight(&self) -> crate::zbus::Result<u64>;
7260
7261 #[zbus(property(emits_changed_signal = "false"), name = "StartupCPUWeight")]
7263 fn startup_cpu_weight(&self) -> crate::zbus::Result<u64>;
7264
7265 #[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPerSecUSec")]
7267 fn cpu_quota_per_sec_u_sec(&self) -> crate::zbus::Result<u64>;
7268
7269 #[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPeriodUSec")]
7271 fn cpu_quota_period_u_sec(&self) -> crate::zbus::Result<u64>;
7272
7273 #[zbus(property(emits_changed_signal = "false"), name = "AllowedCPUs")]
7275 fn allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
7276
7277 #[zbus(property(emits_changed_signal = "false"), name = "StartupAllowedCPUs")]
7279 fn startup_allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
7280
7281 #[zbus(property(emits_changed_signal = "false"), name = "AllowedMemoryNodes")]
7283 fn allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
7284
7285 #[zbus(
7287 property(emits_changed_signal = "false"),
7288 name = "StartupAllowedMemoryNodes"
7289 )]
7290 fn startup_allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
7291
7292 #[zbus(property(emits_changed_signal = "false"), name = "IOAccounting")]
7294 fn io_accounting(&self) -> crate::zbus::Result<bool>;
7295
7296 #[zbus(property(emits_changed_signal = "false"), name = "IOWeight")]
7298 fn io_weight(&self) -> crate::zbus::Result<u64>;
7299
7300 #[zbus(property(emits_changed_signal = "false"), name = "StartupIOWeight")]
7302 fn startup_io_weight(&self) -> crate::zbus::Result<u64>;
7303
7304 #[zbus(property(emits_changed_signal = "false"), name = "IODeviceWeight")]
7306 fn io_device_weight(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
7307
7308 #[zbus(property(emits_changed_signal = "false"), name = "IOReadBandwidthMax")]
7310 fn io_read_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
7311
7312 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteBandwidthMax")]
7314 fn io_write_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
7315
7316 #[zbus(property(emits_changed_signal = "false"), name = "IOReadIOPSMax")]
7318 fn io_read_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
7319
7320 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteIOPSMax")]
7322 fn io_write_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
7323
7324 #[zbus(
7326 property(emits_changed_signal = "false"),
7327 name = "IODeviceLatencyTargetUSec"
7328 )]
7329 fn io_device_latency_target_u_sec(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
7330
7331 #[zbus(property(emits_changed_signal = "false"), name = "MemoryAccounting")]
7333 fn memory_accounting(&self) -> crate::zbus::Result<bool>;
7334
7335 #[zbus(property(emits_changed_signal = "false"), name = "MemoryMin")]
7337 fn memory_min(&self) -> crate::zbus::Result<u64>;
7338
7339 #[zbus(property(emits_changed_signal = "false"), name = "MemoryLow")]
7341 fn memory_low(&self) -> crate::zbus::Result<u64>;
7342
7343 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryLow")]
7345 fn startup_memory_low(&self) -> crate::zbus::Result<u64>;
7346
7347 #[zbus(property(emits_changed_signal = "false"), name = "MemoryHigh")]
7349 fn memory_high(&self) -> crate::zbus::Result<u64>;
7350
7351 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryHigh")]
7353 fn startup_memory_high(&self) -> crate::zbus::Result<u64>;
7354
7355 #[zbus(property(emits_changed_signal = "false"), name = "MemoryMax")]
7357 fn memory_max(&self) -> crate::zbus::Result<u64>;
7358
7359 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryMax")]
7361 fn startup_memory_max(&self) -> crate::zbus::Result<u64>;
7362
7363 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapMax")]
7365 fn memory_swap_max(&self) -> crate::zbus::Result<u64>;
7366
7367 #[zbus(
7369 property(emits_changed_signal = "false"),
7370 name = "StartupMemorySwapMax"
7371 )]
7372 fn startup_memory_swap_max(&self) -> crate::zbus::Result<u64>;
7373
7374 #[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapMax")]
7376 fn memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
7377
7378 #[zbus(
7380 property(emits_changed_signal = "false"),
7381 name = "StartupMemoryZSwapMax"
7382 )]
7383 fn startup_memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
7384
7385 #[zbus(
7387 property(emits_changed_signal = "false"),
7388 name = "MemoryZSwapWriteback"
7389 )]
7390 fn memory_z_swap_writeback(&self) -> crate::zbus::Result<bool>;
7391
7392 #[zbus(property(emits_changed_signal = "false"), name = "DevicePolicy")]
7394 fn device_policy(&self) -> crate::zbus::Result<String>;
7395
7396 #[zbus(property(emits_changed_signal = "false"), name = "DeviceAllow")]
7398 fn device_allow(&self) -> crate::zbus::Result<Vec<(String, String)>>;
7399
7400 #[zbus(property(emits_changed_signal = "false"), name = "TasksAccounting")]
7402 fn tasks_accounting(&self) -> crate::zbus::Result<bool>;
7403
7404 #[zbus(property(emits_changed_signal = "false"), name = "TasksMax")]
7406 fn tasks_max(&self) -> crate::zbus::Result<u64>;
7407
7408 #[zbus(property(emits_changed_signal = "false"), name = "IPAccounting")]
7410 fn ip_accounting(&self) -> crate::zbus::Result<bool>;
7411
7412 #[zbus(property(emits_changed_signal = "false"), name = "IPAddressAllow")]
7414 fn ip_address_allow(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
7415
7416 #[zbus(property(emits_changed_signal = "false"), name = "IPAddressDeny")]
7418 fn ip_address_deny(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
7419
7420 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressFilterPath")]
7422 fn ip_ingress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
7423
7424 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressFilterPath")]
7426 fn ip_egress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
7427
7428 #[zbus(property(emits_changed_signal = "false"), name = "DisableControllers")]
7430 fn disable_controllers(&self) -> crate::zbus::Result<Vec<String>>;
7431
7432 #[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMSwap")]
7434 fn managed_oom_swap(&self) -> crate::zbus::Result<String>;
7435
7436 #[zbus(
7438 property(emits_changed_signal = "false"),
7439 name = "ManagedOOMMemoryPressure"
7440 )]
7441 fn managed_oom_memory_pressure(&self) -> crate::zbus::Result<String>;
7442
7443 #[zbus(
7445 property(emits_changed_signal = "false"),
7446 name = "ManagedOOMMemoryPressureLimit"
7447 )]
7448 fn managed_oom_memory_pressure_limit(&self) -> crate::zbus::Result<u32>;
7449
7450 #[zbus(
7452 property(emits_changed_signal = "false"),
7453 name = "ManagedOOMMemoryPressureDurationUSec"
7454 )]
7455 fn managed_oom_memory_pressure_duration_u_sec(&self) -> crate::zbus::Result<u64>;
7456
7457 #[zbus(
7459 property(emits_changed_signal = "false"),
7460 name = "ManagedOOMPreference"
7461 )]
7462 fn managed_oom_preference(&self) -> crate::zbus::Result<String>;
7463
7464 #[zbus(property(emits_changed_signal = "false"), name = "BPFProgram")]
7466 fn bpf_program(&self) -> crate::zbus::Result<Vec<(String, String)>>;
7467
7468 #[zbus(property(emits_changed_signal = "false"), name = "SocketBindAllow")]
7470 fn socket_bind_allow(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
7471
7472 #[zbus(property(emits_changed_signal = "false"), name = "SocketBindDeny")]
7474 fn socket_bind_deny(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
7475
7476 #[zbus(
7478 property(emits_changed_signal = "false"),
7479 name = "RestrictNetworkInterfaces"
7480 )]
7481 fn restrict_network_interfaces(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
7482
7483 #[zbus(
7485 property(emits_changed_signal = "false"),
7486 name = "BindNetworkInterface"
7487 )]
7488 fn bind_network_interface(&self) -> crate::zbus::Result<String>;
7489
7490 #[zbus(property(emits_changed_signal = "false"), name = "MemoryPressureWatch")]
7492 fn memory_pressure_watch(&self) -> crate::zbus::Result<String>;
7493
7494 #[zbus(
7496 property(emits_changed_signal = "false"),
7497 name = "MemoryPressureThresholdUSec"
7498 )]
7499 fn memory_pressure_threshold_u_sec(&self) -> crate::zbus::Result<u64>;
7500
7501 #[zbus(property(emits_changed_signal = "false"), name = "NFTSet")]
7503 fn nft_set(&self) -> crate::zbus::Result<Vec<(i32, i32, String, String)>>;
7504
7505 #[zbus(property(emits_changed_signal = "false"), name = "CoredumpReceive")]
7507 fn coredump_receive(&self) -> crate::zbus::Result<bool>;
7508
7509 #[zbus(property(emits_changed_signal = "const"), name = "Environment")]
7511 fn environment(&self) -> crate::zbus::Result<Vec<String>>;
7512
7513 #[zbus(property(emits_changed_signal = "const"), name = "EnvironmentFiles")]
7515 fn environment_files(&self) -> crate::zbus::Result<Vec<(String, bool)>>;
7516
7517 #[zbus(property(emits_changed_signal = "const"), name = "PassEnvironment")]
7519 fn pass_environment(&self) -> crate::zbus::Result<Vec<String>>;
7520
7521 #[zbus(property(emits_changed_signal = "const"), name = "UnsetEnvironment")]
7523 fn unset_environment(&self) -> crate::zbus::Result<Vec<String>>;
7524
7525 #[zbus(property(emits_changed_signal = "const"), name = "UMask")]
7527 fn u_mask(&self) -> crate::zbus::Result<u32>;
7528
7529 #[zbus(property(emits_changed_signal = "const"), name = "LimitCPU")]
7531 fn limit_cpu(&self) -> crate::zbus::Result<u64>;
7532
7533 #[zbus(property(emits_changed_signal = "const"), name = "LimitCPUSoft")]
7535 fn limit_cpu_soft(&self) -> crate::zbus::Result<u64>;
7536
7537 #[zbus(property(emits_changed_signal = "const"), name = "LimitFSIZE")]
7539 fn limit_fsize(&self) -> crate::zbus::Result<u64>;
7540
7541 #[zbus(property(emits_changed_signal = "const"), name = "LimitFSIZESoft")]
7543 fn limit_fsize_soft(&self) -> crate::zbus::Result<u64>;
7544
7545 #[zbus(property(emits_changed_signal = "const"), name = "LimitDATA")]
7547 fn limit_data(&self) -> crate::zbus::Result<u64>;
7548
7549 #[zbus(property(emits_changed_signal = "const"), name = "LimitDATASoft")]
7551 fn limit_data_soft(&self) -> crate::zbus::Result<u64>;
7552
7553 #[zbus(property(emits_changed_signal = "const"), name = "LimitSTACK")]
7555 fn limit_stack(&self) -> crate::zbus::Result<u64>;
7556
7557 #[zbus(property(emits_changed_signal = "const"), name = "LimitSTACKSoft")]
7559 fn limit_stack_soft(&self) -> crate::zbus::Result<u64>;
7560
7561 #[zbus(property(emits_changed_signal = "const"), name = "LimitCORE")]
7563 fn limit_core(&self) -> crate::zbus::Result<u64>;
7564
7565 #[zbus(property(emits_changed_signal = "const"), name = "LimitCORESoft")]
7567 fn limit_core_soft(&self) -> crate::zbus::Result<u64>;
7568
7569 #[zbus(property(emits_changed_signal = "const"), name = "LimitRSS")]
7571 fn limit_rss(&self) -> crate::zbus::Result<u64>;
7572
7573 #[zbus(property(emits_changed_signal = "const"), name = "LimitRSSSoft")]
7575 fn limit_rss_soft(&self) -> crate::zbus::Result<u64>;
7576
7577 #[zbus(property(emits_changed_signal = "const"), name = "LimitNOFILE")]
7579 fn limit_nofile(&self) -> crate::zbus::Result<u64>;
7580
7581 #[zbus(property(emits_changed_signal = "const"), name = "LimitNOFILESoft")]
7583 fn limit_nofile_soft(&self) -> crate::zbus::Result<u64>;
7584
7585 #[zbus(property(emits_changed_signal = "const"), name = "LimitAS")]
7587 fn limit_as(&self) -> crate::zbus::Result<u64>;
7588
7589 #[zbus(property(emits_changed_signal = "const"), name = "LimitASSoft")]
7591 fn limit_as_soft(&self) -> crate::zbus::Result<u64>;
7592
7593 #[zbus(property(emits_changed_signal = "const"), name = "LimitNPROC")]
7595 fn limit_nproc(&self) -> crate::zbus::Result<u64>;
7596
7597 #[zbus(property(emits_changed_signal = "const"), name = "LimitNPROCSoft")]
7599 fn limit_nproc_soft(&self) -> crate::zbus::Result<u64>;
7600
7601 #[zbus(property(emits_changed_signal = "const"), name = "LimitMEMLOCK")]
7603 fn limit_memlock(&self) -> crate::zbus::Result<u64>;
7604
7605 #[zbus(property(emits_changed_signal = "const"), name = "LimitMEMLOCKSoft")]
7607 fn limit_memlock_soft(&self) -> crate::zbus::Result<u64>;
7608
7609 #[zbus(property(emits_changed_signal = "const"), name = "LimitLOCKS")]
7611 fn limit_locks(&self) -> crate::zbus::Result<u64>;
7612
7613 #[zbus(property(emits_changed_signal = "const"), name = "LimitLOCKSSoft")]
7615 fn limit_locks_soft(&self) -> crate::zbus::Result<u64>;
7616
7617 #[zbus(property(emits_changed_signal = "const"), name = "LimitSIGPENDING")]
7619 fn limit_sigpending(&self) -> crate::zbus::Result<u64>;
7620
7621 #[zbus(property(emits_changed_signal = "const"), name = "LimitSIGPENDINGSoft")]
7623 fn limit_sigpending_soft(&self) -> crate::zbus::Result<u64>;
7624
7625 #[zbus(property(emits_changed_signal = "const"), name = "LimitMSGQUEUE")]
7627 fn limit_msgqueue(&self) -> crate::zbus::Result<u64>;
7628
7629 #[zbus(property(emits_changed_signal = "const"), name = "LimitMSGQUEUESoft")]
7631 fn limit_msgqueue_soft(&self) -> crate::zbus::Result<u64>;
7632
7633 #[zbus(property(emits_changed_signal = "const"), name = "LimitNICE")]
7635 fn limit_nice(&self) -> crate::zbus::Result<u64>;
7636
7637 #[zbus(property(emits_changed_signal = "const"), name = "LimitNICESoft")]
7639 fn limit_nice_soft(&self) -> crate::zbus::Result<u64>;
7640
7641 #[zbus(property(emits_changed_signal = "const"), name = "LimitRTPRIO")]
7643 fn limit_rtprio(&self) -> crate::zbus::Result<u64>;
7644
7645 #[zbus(property(emits_changed_signal = "const"), name = "LimitRTPRIOSoft")]
7647 fn limit_rtprio_soft(&self) -> crate::zbus::Result<u64>;
7648
7649 #[zbus(property(emits_changed_signal = "const"), name = "LimitRTTIME")]
7651 fn limit_rttime(&self) -> crate::zbus::Result<u64>;
7652
7653 #[zbus(property(emits_changed_signal = "const"), name = "LimitRTTIMESoft")]
7655 fn limit_rttime_soft(&self) -> crate::zbus::Result<u64>;
7656
7657 #[zbus(property(emits_changed_signal = "const"), name = "WorkingDirectory")]
7659 fn working_directory(&self) -> crate::zbus::Result<String>;
7660
7661 #[zbus(property(emits_changed_signal = "const"), name = "RootDirectory")]
7663 fn root_directory(&self) -> crate::zbus::Result<String>;
7664
7665 #[zbus(property(emits_changed_signal = "const"), name = "RootImage")]
7667 fn root_image(&self) -> crate::zbus::Result<String>;
7668
7669 #[zbus(property(emits_changed_signal = "const"), name = "RootImageOptions")]
7671 fn root_image_options(&self) -> crate::zbus::Result<Vec<(String, String)>>;
7672
7673 #[zbus(property(emits_changed_signal = "const"), name = "RootHash")]
7675 fn root_hash(&self) -> crate::zbus::Result<Vec<u8>>;
7676
7677 #[zbus(property(emits_changed_signal = "const"), name = "RootHashPath")]
7679 fn root_hash_path(&self) -> crate::zbus::Result<String>;
7680
7681 #[zbus(property(emits_changed_signal = "const"), name = "RootHashSignature")]
7683 fn root_hash_signature(&self) -> crate::zbus::Result<Vec<u8>>;
7684
7685 #[zbus(
7687 property(emits_changed_signal = "const"),
7688 name = "RootHashSignaturePath"
7689 )]
7690 fn root_hash_signature_path(&self) -> crate::zbus::Result<String>;
7691
7692 #[zbus(property(emits_changed_signal = "const"), name = "RootVerity")]
7694 fn root_verity(&self) -> crate::zbus::Result<String>;
7695
7696 #[zbus(property(emits_changed_signal = "const"), name = "RootEphemeral")]
7698 fn root_ephemeral(&self) -> crate::zbus::Result<bool>;
7699
7700 #[zbus(property(emits_changed_signal = "const"), name = "RootMStack")]
7702 fn root_m_stack(&self) -> crate::zbus::Result<String>;
7703
7704 #[zbus(
7706 property(emits_changed_signal = "const"),
7707 name = "ExtensionDirectories"
7708 )]
7709 fn extension_directories(&self) -> crate::zbus::Result<Vec<String>>;
7710
7711 #[zbus(property(emits_changed_signal = "const"), name = "ExtensionImages")]
7713 fn extension_images(&self) -> crate::zbus::Result<Vec<(String, bool, Vec<(String, String)>)>>;
7714
7715 #[zbus(property(emits_changed_signal = "const"), name = "MountImages")]
7717 fn mount_images(
7718 &self,
7719 ) -> crate::zbus::Result<Vec<(String, String, bool, Vec<(String, String)>)>>;
7720
7721 #[zbus(property(emits_changed_signal = "const"), name = "OOMScoreAdjust")]
7723 fn oom_score_adjust(&self) -> crate::zbus::Result<i32>;
7724
7725 #[zbus(property(emits_changed_signal = "const"), name = "CoredumpFilter")]
7727 fn coredump_filter(&self) -> crate::zbus::Result<u64>;
7728
7729 #[zbus(property(emits_changed_signal = "const"), name = "Nice")]
7731 fn nice(&self) -> crate::zbus::Result<i32>;
7732
7733 #[zbus(property(emits_changed_signal = "const"), name = "IOSchedulingClass")]
7735 fn io_scheduling_class(&self) -> crate::zbus::Result<i32>;
7736
7737 #[zbus(
7739 property(emits_changed_signal = "const"),
7740 name = "IOSchedulingPriority"
7741 )]
7742 fn io_scheduling_priority(&self) -> crate::zbus::Result<i32>;
7743
7744 #[zbus(property(emits_changed_signal = "const"), name = "CPUSchedulingPolicy")]
7746 fn cpu_scheduling_policy(&self) -> crate::zbus::Result<i32>;
7747
7748 #[zbus(
7750 property(emits_changed_signal = "const"),
7751 name = "CPUSchedulingPriority"
7752 )]
7753 fn cpu_scheduling_priority(&self) -> crate::zbus::Result<i32>;
7754
7755 #[zbus(property(emits_changed_signal = "const"), name = "CPUAffinity")]
7757 fn cpu_affinity(&self) -> crate::zbus::Result<Vec<u8>>;
7758
7759 #[zbus(property(emits_changed_signal = "const"), name = "CPUAffinityFromNUMA")]
7761 fn cpu_affinity_from_numa(&self) -> crate::zbus::Result<bool>;
7762
7763 #[zbus(property(emits_changed_signal = "const"), name = "NUMAPolicy")]
7765 fn numa_policy(&self) -> crate::zbus::Result<i32>;
7766
7767 #[zbus(property(emits_changed_signal = "const"), name = "NUMAMask")]
7769 fn numa_mask(&self) -> crate::zbus::Result<Vec<u8>>;
7770
7771 #[zbus(property(emits_changed_signal = "const"), name = "TimerSlackNSec")]
7773 fn timer_slack_n_sec(&self) -> crate::zbus::Result<u64>;
7774
7775 #[zbus(
7777 property(emits_changed_signal = "const"),
7778 name = "CPUSchedulingResetOnFork"
7779 )]
7780 fn cpu_scheduling_reset_on_fork(&self) -> crate::zbus::Result<bool>;
7781
7782 #[zbus(property(emits_changed_signal = "const"), name = "NonBlocking")]
7784 fn non_blocking(&self) -> crate::zbus::Result<bool>;
7785
7786 #[zbus(property(emits_changed_signal = "const"), name = "StandardInput")]
7788 fn standard_input(&self) -> crate::zbus::Result<String>;
7789
7790 #[zbus(
7792 property(emits_changed_signal = "const"),
7793 name = "StandardInputFileDescriptorName"
7794 )]
7795 fn standard_input_file_descriptor_name(&self) -> crate::zbus::Result<String>;
7796
7797 #[zbus(property(emits_changed_signal = "const"), name = "StandardInputData")]
7799 fn standard_input_data(&self) -> crate::zbus::Result<Vec<u8>>;
7800
7801 #[zbus(property(emits_changed_signal = "const"), name = "StandardOutput")]
7803 fn standard_output(&self) -> crate::zbus::Result<String>;
7804
7805 #[zbus(
7807 property(emits_changed_signal = "const"),
7808 name = "StandardOutputFileDescriptorName"
7809 )]
7810 fn standard_output_file_descriptor_name(&self) -> crate::zbus::Result<String>;
7811
7812 #[zbus(property(emits_changed_signal = "const"), name = "StandardError")]
7814 fn standard_error(&self) -> crate::zbus::Result<String>;
7815
7816 #[zbus(
7818 property(emits_changed_signal = "const"),
7819 name = "StandardErrorFileDescriptorName"
7820 )]
7821 fn standard_error_file_descriptor_name(&self) -> crate::zbus::Result<String>;
7822
7823 #[zbus(property(emits_changed_signal = "const"), name = "TTYPath")]
7825 fn tty_path(&self) -> crate::zbus::Result<String>;
7826
7827 #[zbus(property(emits_changed_signal = "const"), name = "TTYReset")]
7829 fn tty_reset(&self) -> crate::zbus::Result<bool>;
7830
7831 #[zbus(property(emits_changed_signal = "const"), name = "TTYVHangup")]
7833 fn ttyv_hangup(&self) -> crate::zbus::Result<bool>;
7834
7835 #[zbus(property(emits_changed_signal = "const"), name = "TTYVTDisallocate")]
7837 fn ttyvt_disallocate(&self) -> crate::zbus::Result<bool>;
7838
7839 #[zbus(property(emits_changed_signal = "const"), name = "TTYRows")]
7841 fn tty_rows(&self) -> crate::zbus::Result<u16>;
7842
7843 #[zbus(property(emits_changed_signal = "const"), name = "TTYColumns")]
7845 fn tty_columns(&self) -> crate::zbus::Result<u16>;
7846
7847 #[zbus(property(emits_changed_signal = "const"), name = "SyslogPriority")]
7849 fn syslog_priority(&self) -> crate::zbus::Result<i32>;
7850
7851 #[zbus(property(emits_changed_signal = "const"), name = "SyslogIdentifier")]
7853 fn syslog_identifier(&self) -> crate::zbus::Result<String>;
7854
7855 #[zbus(property(emits_changed_signal = "const"), name = "SyslogLevelPrefix")]
7857 fn syslog_level_prefix(&self) -> crate::zbus::Result<bool>;
7858
7859 #[zbus(property(emits_changed_signal = "const"), name = "SyslogLevel")]
7861 fn syslog_level(&self) -> crate::zbus::Result<i32>;
7862
7863 #[zbus(property(emits_changed_signal = "const"), name = "SyslogFacility")]
7865 fn syslog_facility(&self) -> crate::zbus::Result<i32>;
7866
7867 #[zbus(property(emits_changed_signal = "const"), name = "LogLevelMax")]
7869 fn log_level_max(&self) -> crate::zbus::Result<i32>;
7870
7871 #[zbus(
7873 property(emits_changed_signal = "const"),
7874 name = "LogRateLimitIntervalUSec"
7875 )]
7876 fn log_rate_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
7877
7878 #[zbus(property(emits_changed_signal = "const"), name = "LogRateLimitBurst")]
7880 fn log_rate_limit_burst(&self) -> crate::zbus::Result<u32>;
7881
7882 #[zbus(property(emits_changed_signal = "const"), name = "LogExtraFields")]
7884 fn log_extra_fields(&self) -> crate::zbus::Result<Vec<Vec<u8>>>;
7885
7886 #[zbus(property(emits_changed_signal = "const"), name = "LogFilterPatterns")]
7888 fn log_filter_patterns(&self) -> crate::zbus::Result<Vec<(bool, String)>>;
7889
7890 #[zbus(property(emits_changed_signal = "const"), name = "LogNamespace")]
7892 fn log_namespace(&self) -> crate::zbus::Result<String>;
7893
7894 #[zbus(property(emits_changed_signal = "const"), name = "SecureBits")]
7896 fn secure_bits(&self) -> crate::zbus::Result<i32>;
7897
7898 #[zbus(
7900 property(emits_changed_signal = "const"),
7901 name = "CapabilityBoundingSet"
7902 )]
7903 fn capability_bounding_set(&self) -> crate::zbus::Result<u64>;
7904
7905 #[zbus(property(emits_changed_signal = "const"), name = "AmbientCapabilities")]
7907 fn ambient_capabilities(&self) -> crate::zbus::Result<u64>;
7908
7909 #[zbus(property(emits_changed_signal = "const"), name = "User")]
7911 fn user(&self) -> crate::zbus::Result<String>;
7912
7913 #[zbus(property(emits_changed_signal = "const"), name = "Group")]
7915 fn group(&self) -> crate::zbus::Result<String>;
7916
7917 #[zbus(property(emits_changed_signal = "const"), name = "DynamicUser")]
7919 fn dynamic_user(&self) -> crate::zbus::Result<bool>;
7920
7921 #[zbus(property(emits_changed_signal = "const"), name = "SetLoginEnvironment")]
7923 fn set_login_environment(&self) -> crate::zbus::Result<bool>;
7924
7925 #[zbus(property(emits_changed_signal = "const"), name = "RemoveIPC")]
7927 fn remove_ipc(&self) -> crate::zbus::Result<bool>;
7928
7929 #[zbus(property(emits_changed_signal = "const"), name = "SetCredential")]
7931 fn set_credential(&self) -> crate::zbus::Result<Vec<(String, Vec<u8>)>>;
7932
7933 #[zbus(
7935 property(emits_changed_signal = "const"),
7936 name = "SetCredentialEncrypted"
7937 )]
7938 fn set_credential_encrypted(&self) -> crate::zbus::Result<Vec<(String, Vec<u8>)>>;
7939
7940 #[zbus(property(emits_changed_signal = "const"), name = "LoadCredential")]
7942 fn load_credential(&self) -> crate::zbus::Result<Vec<(String, String)>>;
7943
7944 #[zbus(
7946 property(emits_changed_signal = "const"),
7947 name = "LoadCredentialEncrypted"
7948 )]
7949 fn load_credential_encrypted(&self) -> crate::zbus::Result<Vec<(String, String)>>;
7950
7951 #[zbus(property(emits_changed_signal = "const"), name = "ImportCredential")]
7953 fn import_credential(&self) -> crate::zbus::Result<Vec<String>>;
7954
7955 #[zbus(property(emits_changed_signal = "const"), name = "ImportCredentialEx")]
7957 fn import_credential_ex(&self) -> crate::zbus::Result<Vec<(String, String)>>;
7958
7959 #[zbus(property(emits_changed_signal = "const"), name = "SupplementaryGroups")]
7961 fn supplementary_groups(&self) -> crate::zbus::Result<Vec<String>>;
7962
7963 #[zbus(property(emits_changed_signal = "const"), name = "PAMName")]
7965 fn pam_name(&self) -> crate::zbus::Result<String>;
7966
7967 #[zbus(property(emits_changed_signal = "const"), name = "ReadWritePaths")]
7969 fn read_write_paths(&self) -> crate::zbus::Result<Vec<String>>;
7970
7971 #[zbus(property(emits_changed_signal = "const"), name = "ReadOnlyPaths")]
7973 fn read_only_paths(&self) -> crate::zbus::Result<Vec<String>>;
7974
7975 #[zbus(property(emits_changed_signal = "const"), name = "InaccessiblePaths")]
7977 fn inaccessible_paths(&self) -> crate::zbus::Result<Vec<String>>;
7978
7979 #[zbus(property(emits_changed_signal = "const"), name = "ExecPaths")]
7981 fn exec_paths(&self) -> crate::zbus::Result<Vec<String>>;
7982
7983 #[zbus(property(emits_changed_signal = "const"), name = "NoExecPaths")]
7985 fn no_exec_paths(&self) -> crate::zbus::Result<Vec<String>>;
7986
7987 #[zbus(property(emits_changed_signal = "const"), name = "ExecSearchPath")]
7989 fn exec_search_path(&self) -> crate::zbus::Result<Vec<String>>;
7990
7991 #[zbus(property(emits_changed_signal = "const"), name = "MountFlags")]
7993 fn mount_flags(&self) -> crate::zbus::Result<u64>;
7994
7995 #[zbus(property(emits_changed_signal = "const"), name = "PrivateTmp")]
7997 fn private_tmp(&self) -> crate::zbus::Result<bool>;
7998
7999 #[zbus(property(emits_changed_signal = "const"), name = "PrivateTmpEx")]
8001 fn private_tmp_ex(&self) -> crate::zbus::Result<String>;
8002
8003 #[zbus(property(emits_changed_signal = "const"), name = "PrivateDevices")]
8005 fn private_devices(&self) -> crate::zbus::Result<bool>;
8006
8007 #[zbus(property(emits_changed_signal = "const"), name = "ProtectClock")]
8009 fn protect_clock(&self) -> crate::zbus::Result<bool>;
8010
8011 #[zbus(
8013 property(emits_changed_signal = "const"),
8014 name = "ProtectKernelTunables"
8015 )]
8016 fn protect_kernel_tunables(&self) -> crate::zbus::Result<bool>;
8017
8018 #[zbus(
8020 property(emits_changed_signal = "const"),
8021 name = "ProtectKernelModules"
8022 )]
8023 fn protect_kernel_modules(&self) -> crate::zbus::Result<bool>;
8024
8025 #[zbus(property(emits_changed_signal = "const"), name = "ProtectKernelLogs")]
8027 fn protect_kernel_logs(&self) -> crate::zbus::Result<bool>;
8028
8029 #[zbus(
8031 property(emits_changed_signal = "const"),
8032 name = "ProtectControlGroups"
8033 )]
8034 fn protect_control_groups(&self) -> crate::zbus::Result<bool>;
8035
8036 #[zbus(
8038 property(emits_changed_signal = "const"),
8039 name = "ProtectControlGroupsEx"
8040 )]
8041 fn protect_control_groups_ex(&self) -> crate::zbus::Result<String>;
8042
8043 #[zbus(property(emits_changed_signal = "const"), name = "PrivateNetwork")]
8045 fn private_network(&self) -> crate::zbus::Result<bool>;
8046
8047 #[zbus(property(emits_changed_signal = "const"), name = "PrivateUsers")]
8049 fn private_users(&self) -> crate::zbus::Result<bool>;
8050
8051 #[zbus(property(emits_changed_signal = "const"), name = "PrivateUsersEx")]
8053 fn private_users_ex(&self) -> crate::zbus::Result<String>;
8054
8055 #[zbus(property(emits_changed_signal = "const"), name = "PrivateMounts")]
8057 fn private_mounts(&self) -> crate::zbus::Result<bool>;
8058
8059 #[zbus(property(emits_changed_signal = "const"), name = "PrivateIPC")]
8061 fn private_ipc(&self) -> crate::zbus::Result<bool>;
8062
8063 #[zbus(property(emits_changed_signal = "const"), name = "PrivatePIDs")]
8065 fn private_pi_ds(&self) -> crate::zbus::Result<String>;
8066
8067 #[zbus(property(emits_changed_signal = "const"), name = "ProtectHome")]
8069 fn protect_home(&self) -> crate::zbus::Result<String>;
8070
8071 #[zbus(property(emits_changed_signal = "const"), name = "ProtectSystem")]
8073 fn protect_system(&self) -> crate::zbus::Result<String>;
8074
8075 #[zbus(property(emits_changed_signal = "const"), name = "SameProcessGroup")]
8077 fn same_process_group(&self) -> crate::zbus::Result<bool>;
8078
8079 #[zbus(property(emits_changed_signal = "const"), name = "UtmpIdentifier")]
8081 fn utmp_identifier(&self) -> crate::zbus::Result<String>;
8082
8083 #[zbus(property(emits_changed_signal = "const"), name = "UtmpMode")]
8085 fn utmp_mode(&self) -> crate::zbus::Result<String>;
8086
8087 #[zbus(property(emits_changed_signal = "const"), name = "SELinuxContext")]
8089 fn se_linux_context(&self) -> crate::zbus::Result<(bool, String)>;
8090
8091 #[zbus(property(emits_changed_signal = "const"), name = "AppArmorProfile")]
8093 fn app_armor_profile(&self) -> crate::zbus::Result<(bool, String)>;
8094
8095 #[zbus(property(emits_changed_signal = "const"), name = "SmackProcessLabel")]
8097 fn smack_process_label(&self) -> crate::zbus::Result<(bool, String)>;
8098
8099 #[zbus(property(emits_changed_signal = "const"), name = "IgnoreSIGPIPE")]
8101 fn ignore_sigpipe(&self) -> crate::zbus::Result<bool>;
8102
8103 #[zbus(property(emits_changed_signal = "const"), name = "NoNewPrivileges")]
8105 fn no_new_privileges(&self) -> crate::zbus::Result<bool>;
8106
8107 #[zbus(property(emits_changed_signal = "const"), name = "SystemCallFilter")]
8109 fn system_call_filter(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
8110
8111 #[zbus(
8113 property(emits_changed_signal = "const"),
8114 name = "SystemCallArchitectures"
8115 )]
8116 fn system_call_architectures(&self) -> crate::zbus::Result<Vec<String>>;
8117
8118 #[zbus(
8120 property(emits_changed_signal = "const"),
8121 name = "SystemCallErrorNumber"
8122 )]
8123 fn system_call_error_number(&self) -> crate::zbus::Result<i32>;
8124
8125 #[zbus(property(emits_changed_signal = "const"), name = "SystemCallLog")]
8127 fn system_call_log(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
8128
8129 #[zbus(property(emits_changed_signal = "const"), name = "Personality")]
8131 fn personality(&self) -> crate::zbus::Result<String>;
8132
8133 #[zbus(property(emits_changed_signal = "const"), name = "LockPersonality")]
8135 fn lock_personality(&self) -> crate::zbus::Result<bool>;
8136
8137 #[zbus(
8139 property(emits_changed_signal = "const"),
8140 name = "RestrictAddressFamilies"
8141 )]
8142 fn restrict_address_families(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
8143
8144 #[zbus(
8146 property(emits_changed_signal = "const"),
8147 name = "RuntimeDirectorySymlink"
8148 )]
8149 fn runtime_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
8150
8151 #[zbus(
8153 property(emits_changed_signal = "const"),
8154 name = "RuntimeDirectoryPreserve"
8155 )]
8156 fn runtime_directory_preserve(&self) -> crate::zbus::Result<String>;
8157
8158 #[zbus(
8160 property(emits_changed_signal = "const"),
8161 name = "RuntimeDirectoryMode"
8162 )]
8163 fn runtime_directory_mode(&self) -> crate::zbus::Result<u32>;
8164
8165 #[zbus(property(emits_changed_signal = "const"), name = "RuntimeDirectory")]
8167 fn runtime_directory(&self) -> crate::zbus::Result<Vec<String>>;
8168
8169 #[zbus(
8171 property(emits_changed_signal = "const"),
8172 name = "StateDirectorySymlink"
8173 )]
8174 fn state_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
8175
8176 #[zbus(property(emits_changed_signal = "const"), name = "StateDirectoryMode")]
8178 fn state_directory_mode(&self) -> crate::zbus::Result<u32>;
8179
8180 #[zbus(
8182 property(emits_changed_signal = "const"),
8183 name = "StateDirectoryAccounting"
8184 )]
8185 fn state_directory_accounting(&self) -> crate::zbus::Result<bool>;
8186
8187 #[zbus(property(emits_changed_signal = "const"), name = "StateDirectoryQuota")]
8189 fn state_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
8190
8191 #[zbus(property(emits_changed_signal = "const"), name = "StateDirectory")]
8193 fn state_directory(&self) -> crate::zbus::Result<Vec<String>>;
8194
8195 #[zbus(
8197 property(emits_changed_signal = "const"),
8198 name = "CacheDirectorySymlink"
8199 )]
8200 fn cache_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
8201
8202 #[zbus(property(emits_changed_signal = "const"), name = "CacheDirectoryMode")]
8204 fn cache_directory_mode(&self) -> crate::zbus::Result<u32>;
8205
8206 #[zbus(
8208 property(emits_changed_signal = "const"),
8209 name = "CacheDirectoryAccounting"
8210 )]
8211 fn cache_directory_accounting(&self) -> crate::zbus::Result<bool>;
8212
8213 #[zbus(property(emits_changed_signal = "const"), name = "CacheDirectoryQuota")]
8215 fn cache_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
8216
8217 #[zbus(property(emits_changed_signal = "const"), name = "CacheDirectory")]
8219 fn cache_directory(&self) -> crate::zbus::Result<Vec<String>>;
8220
8221 #[zbus(
8223 property(emits_changed_signal = "const"),
8224 name = "LogsDirectorySymlink"
8225 )]
8226 fn logs_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
8227
8228 #[zbus(property(emits_changed_signal = "const"), name = "LogsDirectoryMode")]
8230 fn logs_directory_mode(&self) -> crate::zbus::Result<u32>;
8231
8232 #[zbus(
8234 property(emits_changed_signal = "const"),
8235 name = "LogsDirectoryAccounting"
8236 )]
8237 fn logs_directory_accounting(&self) -> crate::zbus::Result<bool>;
8238
8239 #[zbus(property(emits_changed_signal = "const"), name = "LogsDirectoryQuota")]
8241 fn logs_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
8242
8243 #[zbus(property(emits_changed_signal = "const"), name = "LogsDirectory")]
8245 fn logs_directory(&self) -> crate::zbus::Result<Vec<String>>;
8246
8247 #[zbus(
8249 property(emits_changed_signal = "const"),
8250 name = "ConfigurationDirectoryMode"
8251 )]
8252 fn configuration_directory_mode(&self) -> crate::zbus::Result<u32>;
8253
8254 #[zbus(
8256 property(emits_changed_signal = "const"),
8257 name = "ConfigurationDirectory"
8258 )]
8259 fn configuration_directory(&self) -> crate::zbus::Result<Vec<String>>;
8260
8261 #[zbus(property(emits_changed_signal = "const"), name = "TimeoutCleanUSec")]
8263 fn timeout_clean_u_sec(&self) -> crate::zbus::Result<u64>;
8264
8265 #[zbus(
8267 property(emits_changed_signal = "const"),
8268 name = "MemoryDenyWriteExecute"
8269 )]
8270 fn memory_deny_write_execute(&self) -> crate::zbus::Result<bool>;
8271
8272 #[zbus(property(emits_changed_signal = "const"), name = "RestrictRealtime")]
8274 fn restrict_realtime(&self) -> crate::zbus::Result<bool>;
8275
8276 #[zbus(property(emits_changed_signal = "const"), name = "RestrictSUIDSGID")]
8278 fn restrict_suidsgid(&self) -> crate::zbus::Result<bool>;
8279
8280 #[zbus(property(emits_changed_signal = "const"), name = "RestrictNamespaces")]
8282 fn restrict_namespaces(&self) -> crate::zbus::Result<u64>;
8283
8284 #[zbus(property(emits_changed_signal = "const"), name = "DelegateNamespaces")]
8286 fn delegate_namespaces(&self) -> crate::zbus::Result<u64>;
8287
8288 #[zbus(property(emits_changed_signal = "const"), name = "RestrictFileSystems")]
8290 fn restrict_file_systems(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
8291
8292 #[zbus(property(emits_changed_signal = "const"), name = "BindPaths")]
8294 fn bind_paths(&self) -> crate::zbus::Result<Vec<(String, String, bool, u64)>>;
8295
8296 #[zbus(property(emits_changed_signal = "const"), name = "BindReadOnlyPaths")]
8298 fn bind_read_only_paths(&self) -> crate::zbus::Result<Vec<(String, String, bool, u64)>>;
8299
8300 #[zbus(property(emits_changed_signal = "const"), name = "TemporaryFileSystem")]
8302 fn temporary_file_system(&self) -> crate::zbus::Result<Vec<(String, String)>>;
8303
8304 #[zbus(property(emits_changed_signal = "const"), name = "MountAPIVFS")]
8306 fn mount_apivfs(&self) -> crate::zbus::Result<bool>;
8307
8308 #[zbus(property(emits_changed_signal = "const"), name = "BindLogSockets")]
8310 fn bind_log_sockets(&self) -> crate::zbus::Result<bool>;
8311
8312 #[zbus(property(emits_changed_signal = "const"), name = "KeyringMode")]
8314 fn keyring_mode(&self) -> crate::zbus::Result<String>;
8315
8316 #[zbus(property(emits_changed_signal = "const"), name = "ProtectProc")]
8318 fn protect_proc(&self) -> crate::zbus::Result<String>;
8319
8320 #[zbus(property(emits_changed_signal = "const"), name = "ProcSubset")]
8322 fn proc_subset(&self) -> crate::zbus::Result<String>;
8323
8324 #[zbus(property(emits_changed_signal = "const"), name = "ProtectHostname")]
8326 fn protect_hostname(&self) -> crate::zbus::Result<bool>;
8327
8328 #[zbus(property(emits_changed_signal = "const"), name = "ProtectHostnameEx")]
8330 fn protect_hostname_ex(&self) -> crate::zbus::Result<(String, String)>;
8331
8332 #[zbus(property(emits_changed_signal = "const"), name = "PrivateBPF")]
8334 fn private_bpf(&self) -> crate::zbus::Result<String>;
8335
8336 #[zbus(property(emits_changed_signal = "const"), name = "BPFDelegateCommands")]
8338 fn bpf_delegate_commands(&self) -> crate::zbus::Result<String>;
8339
8340 #[zbus(property(emits_changed_signal = "const"), name = "BPFDelegateMaps")]
8342 fn bpf_delegate_maps(&self) -> crate::zbus::Result<String>;
8343
8344 #[zbus(property(emits_changed_signal = "const"), name = "BPFDelegatePrograms")]
8346 fn bpf_delegate_programs(&self) -> crate::zbus::Result<String>;
8347
8348 #[zbus(
8350 property(emits_changed_signal = "const"),
8351 name = "BPFDelegateAttachments"
8352 )]
8353 fn bpf_delegate_attachments(&self) -> crate::zbus::Result<String>;
8354
8355 #[zbus(property(emits_changed_signal = "const"), name = "MemoryKSM")]
8357 fn memory_ksm(&self) -> crate::zbus::Result<bool>;
8358
8359 #[zbus(property(emits_changed_signal = "const"), name = "MemoryTHP")]
8361 fn memory_thp(&self) -> crate::zbus::Result<String>;
8362
8363 #[zbus(property(emits_changed_signal = "const"), name = "UserNamespacePath")]
8365 fn user_namespace_path(&self) -> crate::zbus::Result<String>;
8366
8367 #[zbus(
8369 property(emits_changed_signal = "const"),
8370 name = "NetworkNamespacePath"
8371 )]
8372 fn network_namespace_path(&self) -> crate::zbus::Result<String>;
8373
8374 #[zbus(property(emits_changed_signal = "const"), name = "IPCNamespacePath")]
8376 fn ipc_namespace_path(&self) -> crate::zbus::Result<String>;
8377
8378 #[zbus(property(emits_changed_signal = "const"), name = "RootImagePolicy")]
8380 fn root_image_policy(&self) -> crate::zbus::Result<String>;
8381
8382 #[zbus(property(emits_changed_signal = "const"), name = "MountImagePolicy")]
8384 fn mount_image_policy(&self) -> crate::zbus::Result<String>;
8385
8386 #[zbus(
8388 property(emits_changed_signal = "const"),
8389 name = "ExtensionImagePolicy"
8390 )]
8391 fn extension_image_policy(&self) -> crate::zbus::Result<String>;
8392
8393 #[zbus(
8395 property(emits_changed_signal = "false"),
8396 name = "StateDirectoryQuotaUsage"
8397 )]
8398 fn state_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
8399
8400 #[zbus(
8402 property(emits_changed_signal = "false"),
8403 name = "CacheDirectoryQuotaUsage"
8404 )]
8405 fn cache_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
8406
8407 #[zbus(
8409 property(emits_changed_signal = "false"),
8410 name = "LogsDirectoryQuotaUsage"
8411 )]
8412 fn logs_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
8413
8414 #[zbus(property(emits_changed_signal = "const"), name = "KillMode")]
8416 fn kill_mode(&self) -> crate::zbus::Result<String>;
8417
8418 #[zbus(property(emits_changed_signal = "const"), name = "KillSignal")]
8420 fn kill_signal(&self) -> crate::zbus::Result<i32>;
8421
8422 #[zbus(property(emits_changed_signal = "const"), name = "RestartKillSignal")]
8424 fn restart_kill_signal(&self) -> crate::zbus::Result<i32>;
8425
8426 #[zbus(property(emits_changed_signal = "const"), name = "FinalKillSignal")]
8428 fn final_kill_signal(&self) -> crate::zbus::Result<i32>;
8429
8430 #[zbus(property(emits_changed_signal = "const"), name = "SendSIGKILL")]
8432 fn send_sigkill(&self) -> crate::zbus::Result<bool>;
8433
8434 #[zbus(property(emits_changed_signal = "const"), name = "SendSIGHUP")]
8436 fn send_sighup(&self) -> crate::zbus::Result<bool>;
8437
8438 #[zbus(property(emits_changed_signal = "const"), name = "WatchdogSignal")]
8440 fn watchdog_signal(&self) -> crate::zbus::Result<i32>;
8441}
8442
8443#[proxy(
8445 interface = "org.freedesktop.systemd1.Path",
8446 gen_blocking = false,
8447 default_service = "org.freedesktop.systemd1",
8448 assume_defaults = false
8449)]
8450pub trait Path {
8451 #[zbus(property(emits_changed_signal = "const"), name = "Unit")]
8453 fn unit(&self) -> crate::zbus::Result<String>;
8454
8455 #[zbus(property(emits_changed_signal = "const"), name = "Paths")]
8457 fn paths(&self) -> crate::zbus::Result<Vec<(String, String)>>;
8458
8459 #[zbus(property(emits_changed_signal = "const"), name = "MakeDirectory")]
8461 fn make_directory(&self) -> crate::zbus::Result<bool>;
8462
8463 #[zbus(property(emits_changed_signal = "const"), name = "DirectoryMode")]
8465 fn directory_mode(&self) -> crate::zbus::Result<u32>;
8466
8467 #[zbus(property(emits_changed_signal = "true"), name = "Result")]
8469 fn result(&self) -> crate::zbus::Result<String>;
8470
8471 #[zbus(
8473 property(emits_changed_signal = "const"),
8474 name = "TriggerLimitIntervalUSec"
8475 )]
8476 fn trigger_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
8477
8478 #[zbus(property(emits_changed_signal = "const"), name = "TriggerLimitBurst")]
8480 fn trigger_limit_burst(&self) -> crate::zbus::Result<u32>;
8481}
8482
8483#[proxy(
8485 interface = "org.freedesktop.systemd1.Slice",
8486 gen_blocking = false,
8487 default_service = "org.freedesktop.systemd1",
8488 assume_defaults = false
8489)]
8490pub trait Slice {
8491 #[zbus(name = "GetProcesses")]
8493 fn get_processes(&self) -> crate::zbus::Result<Vec<(String, u32, String)>>;
8494
8495 #[zbus(name = "AttachProcesses")]
8497 fn attach_processes(&self, subcgroup: String, pids: Vec<u32>) -> crate::zbus::Result<()>;
8498
8499 #[zbus(name = "RemoveSubgroup")]
8501 fn remove_subgroup(&self, subcgroup: String, flags: u64) -> crate::zbus::Result<()>;
8502
8503 #[zbus(property(emits_changed_signal = "false"), name = "ConcurrencyHardMax")]
8505 fn concurrency_hard_max(&self) -> crate::zbus::Result<u32>;
8506
8507 #[zbus(property(emits_changed_signal = "false"), name = "ConcurrencySoftMax")]
8509 fn concurrency_soft_max(&self) -> crate::zbus::Result<u32>;
8510
8511 #[zbus(property(emits_changed_signal = "false"), name = "NCurrentlyActive")]
8513 fn n_currently_active(&self) -> crate::zbus::Result<u32>;
8514
8515 #[zbus(property(emits_changed_signal = "false"), name = "Slice")]
8517 fn slice(&self) -> crate::zbus::Result<String>;
8518
8519 #[zbus(property(emits_changed_signal = "false"), name = "ControlGroup")]
8521 fn control_group(&self) -> crate::zbus::Result<String>;
8522
8523 #[zbus(property(emits_changed_signal = "false"), name = "ControlGroupId")]
8525 fn control_group_id(&self) -> crate::zbus::Result<u64>;
8526
8527 #[zbus(property(emits_changed_signal = "false"), name = "MemoryCurrent")]
8529 fn memory_current(&self) -> crate::zbus::Result<u64>;
8530
8531 #[zbus(property(emits_changed_signal = "false"), name = "MemoryPeak")]
8533 fn memory_peak(&self) -> crate::zbus::Result<u64>;
8534
8535 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapCurrent")]
8537 fn memory_swap_current(&self) -> crate::zbus::Result<u64>;
8538
8539 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapPeak")]
8541 fn memory_swap_peak(&self) -> crate::zbus::Result<u64>;
8542
8543 #[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapCurrent")]
8545 fn memory_z_swap_current(&self) -> crate::zbus::Result<u64>;
8546
8547 #[zbus(property(emits_changed_signal = "false"), name = "MemoryAvailable")]
8549 fn memory_available(&self) -> crate::zbus::Result<u64>;
8550
8551 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryMax")]
8553 fn effective_memory_max(&self) -> crate::zbus::Result<u64>;
8554
8555 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryHigh")]
8557 fn effective_memory_high(&self) -> crate::zbus::Result<u64>;
8558
8559 #[zbus(property(emits_changed_signal = "false"), name = "CPUUsageNSec")]
8561 fn cpu_usage_n_sec(&self) -> crate::zbus::Result<u64>;
8562
8563 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveCPUs")]
8565 fn effective_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
8566
8567 #[zbus(
8569 property(emits_changed_signal = "false"),
8570 name = "EffectiveMemoryNodes"
8571 )]
8572 fn effective_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
8573
8574 #[zbus(property(emits_changed_signal = "false"), name = "TasksCurrent")]
8576 fn tasks_current(&self) -> crate::zbus::Result<u64>;
8577
8578 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveTasksMax")]
8580 fn effective_tasks_max(&self) -> crate::zbus::Result<u64>;
8581
8582 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressBytes")]
8584 fn ip_ingress_bytes(&self) -> crate::zbus::Result<u64>;
8585
8586 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressPackets")]
8588 fn ip_ingress_packets(&self) -> crate::zbus::Result<u64>;
8589
8590 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressBytes")]
8592 fn ip_egress_bytes(&self) -> crate::zbus::Result<u64>;
8593
8594 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressPackets")]
8596 fn ip_egress_packets(&self) -> crate::zbus::Result<u64>;
8597
8598 #[zbus(property(emits_changed_signal = "false"), name = "IOReadBytes")]
8600 fn io_read_bytes(&self) -> crate::zbus::Result<u64>;
8601
8602 #[zbus(property(emits_changed_signal = "false"), name = "IOReadOperations")]
8604 fn io_read_operations(&self) -> crate::zbus::Result<u64>;
8605
8606 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteBytes")]
8608 fn io_write_bytes(&self) -> crate::zbus::Result<u64>;
8609
8610 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteOperations")]
8612 fn io_write_operations(&self) -> crate::zbus::Result<u64>;
8613
8614 #[zbus(property(emits_changed_signal = "false"), name = "OOMKills")]
8616 fn oom_kills(&self) -> crate::zbus::Result<u64>;
8617
8618 #[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMKills")]
8620 fn managed_oom_kills(&self) -> crate::zbus::Result<u64>;
8621
8622 #[zbus(property(emits_changed_signal = "false"), name = "Delegate")]
8624 fn delegate(&self) -> crate::zbus::Result<bool>;
8625
8626 #[zbus(property(emits_changed_signal = "false"), name = "DelegateControllers")]
8628 fn delegate_controllers(&self) -> crate::zbus::Result<Vec<String>>;
8629
8630 #[zbus(property(emits_changed_signal = "false"), name = "DelegateSubgroup")]
8632 fn delegate_subgroup(&self) -> crate::zbus::Result<String>;
8633
8634 #[zbus(property(emits_changed_signal = "false"), name = "CPUWeight")]
8636 fn cpu_weight(&self) -> crate::zbus::Result<u64>;
8637
8638 #[zbus(property(emits_changed_signal = "false"), name = "StartupCPUWeight")]
8640 fn startup_cpu_weight(&self) -> crate::zbus::Result<u64>;
8641
8642 #[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPerSecUSec")]
8644 fn cpu_quota_per_sec_u_sec(&self) -> crate::zbus::Result<u64>;
8645
8646 #[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPeriodUSec")]
8648 fn cpu_quota_period_u_sec(&self) -> crate::zbus::Result<u64>;
8649
8650 #[zbus(property(emits_changed_signal = "false"), name = "AllowedCPUs")]
8652 fn allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
8653
8654 #[zbus(property(emits_changed_signal = "false"), name = "StartupAllowedCPUs")]
8656 fn startup_allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
8657
8658 #[zbus(property(emits_changed_signal = "false"), name = "AllowedMemoryNodes")]
8660 fn allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
8661
8662 #[zbus(
8664 property(emits_changed_signal = "false"),
8665 name = "StartupAllowedMemoryNodes"
8666 )]
8667 fn startup_allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
8668
8669 #[zbus(property(emits_changed_signal = "false"), name = "IOAccounting")]
8671 fn io_accounting(&self) -> crate::zbus::Result<bool>;
8672
8673 #[zbus(property(emits_changed_signal = "false"), name = "IOWeight")]
8675 fn io_weight(&self) -> crate::zbus::Result<u64>;
8676
8677 #[zbus(property(emits_changed_signal = "false"), name = "StartupIOWeight")]
8679 fn startup_io_weight(&self) -> crate::zbus::Result<u64>;
8680
8681 #[zbus(property(emits_changed_signal = "false"), name = "IODeviceWeight")]
8683 fn io_device_weight(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
8684
8685 #[zbus(property(emits_changed_signal = "false"), name = "IOReadBandwidthMax")]
8687 fn io_read_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
8688
8689 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteBandwidthMax")]
8691 fn io_write_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
8692
8693 #[zbus(property(emits_changed_signal = "false"), name = "IOReadIOPSMax")]
8695 fn io_read_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
8696
8697 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteIOPSMax")]
8699 fn io_write_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
8700
8701 #[zbus(
8703 property(emits_changed_signal = "false"),
8704 name = "IODeviceLatencyTargetUSec"
8705 )]
8706 fn io_device_latency_target_u_sec(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
8707
8708 #[zbus(property(emits_changed_signal = "false"), name = "MemoryAccounting")]
8710 fn memory_accounting(&self) -> crate::zbus::Result<bool>;
8711
8712 #[zbus(property(emits_changed_signal = "false"), name = "MemoryMin")]
8714 fn memory_min(&self) -> crate::zbus::Result<u64>;
8715
8716 #[zbus(property(emits_changed_signal = "false"), name = "MemoryLow")]
8718 fn memory_low(&self) -> crate::zbus::Result<u64>;
8719
8720 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryLow")]
8722 fn startup_memory_low(&self) -> crate::zbus::Result<u64>;
8723
8724 #[zbus(property(emits_changed_signal = "false"), name = "MemoryHigh")]
8726 fn memory_high(&self) -> crate::zbus::Result<u64>;
8727
8728 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryHigh")]
8730 fn startup_memory_high(&self) -> crate::zbus::Result<u64>;
8731
8732 #[zbus(property(emits_changed_signal = "false"), name = "MemoryMax")]
8734 fn memory_max(&self) -> crate::zbus::Result<u64>;
8735
8736 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryMax")]
8738 fn startup_memory_max(&self) -> crate::zbus::Result<u64>;
8739
8740 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapMax")]
8742 fn memory_swap_max(&self) -> crate::zbus::Result<u64>;
8743
8744 #[zbus(
8746 property(emits_changed_signal = "false"),
8747 name = "StartupMemorySwapMax"
8748 )]
8749 fn startup_memory_swap_max(&self) -> crate::zbus::Result<u64>;
8750
8751 #[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapMax")]
8753 fn memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
8754
8755 #[zbus(
8757 property(emits_changed_signal = "false"),
8758 name = "StartupMemoryZSwapMax"
8759 )]
8760 fn startup_memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
8761
8762 #[zbus(
8764 property(emits_changed_signal = "false"),
8765 name = "MemoryZSwapWriteback"
8766 )]
8767 fn memory_z_swap_writeback(&self) -> crate::zbus::Result<bool>;
8768
8769 #[zbus(property(emits_changed_signal = "false"), name = "DevicePolicy")]
8771 fn device_policy(&self) -> crate::zbus::Result<String>;
8772
8773 #[zbus(property(emits_changed_signal = "false"), name = "DeviceAllow")]
8775 fn device_allow(&self) -> crate::zbus::Result<Vec<(String, String)>>;
8776
8777 #[zbus(property(emits_changed_signal = "false"), name = "TasksAccounting")]
8779 fn tasks_accounting(&self) -> crate::zbus::Result<bool>;
8780
8781 #[zbus(property(emits_changed_signal = "false"), name = "TasksMax")]
8783 fn tasks_max(&self) -> crate::zbus::Result<u64>;
8784
8785 #[zbus(property(emits_changed_signal = "false"), name = "IPAccounting")]
8787 fn ip_accounting(&self) -> crate::zbus::Result<bool>;
8788
8789 #[zbus(property(emits_changed_signal = "false"), name = "IPAddressAllow")]
8791 fn ip_address_allow(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
8792
8793 #[zbus(property(emits_changed_signal = "false"), name = "IPAddressDeny")]
8795 fn ip_address_deny(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
8796
8797 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressFilterPath")]
8799 fn ip_ingress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
8800
8801 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressFilterPath")]
8803 fn ip_egress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
8804
8805 #[zbus(property(emits_changed_signal = "false"), name = "DisableControllers")]
8807 fn disable_controllers(&self) -> crate::zbus::Result<Vec<String>>;
8808
8809 #[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMSwap")]
8811 fn managed_oom_swap(&self) -> crate::zbus::Result<String>;
8812
8813 #[zbus(
8815 property(emits_changed_signal = "false"),
8816 name = "ManagedOOMMemoryPressure"
8817 )]
8818 fn managed_oom_memory_pressure(&self) -> crate::zbus::Result<String>;
8819
8820 #[zbus(
8822 property(emits_changed_signal = "false"),
8823 name = "ManagedOOMMemoryPressureLimit"
8824 )]
8825 fn managed_oom_memory_pressure_limit(&self) -> crate::zbus::Result<u32>;
8826
8827 #[zbus(
8829 property(emits_changed_signal = "false"),
8830 name = "ManagedOOMMemoryPressureDurationUSec"
8831 )]
8832 fn managed_oom_memory_pressure_duration_u_sec(&self) -> crate::zbus::Result<u64>;
8833
8834 #[zbus(
8836 property(emits_changed_signal = "false"),
8837 name = "ManagedOOMPreference"
8838 )]
8839 fn managed_oom_preference(&self) -> crate::zbus::Result<String>;
8840
8841 #[zbus(property(emits_changed_signal = "false"), name = "BPFProgram")]
8843 fn bpf_program(&self) -> crate::zbus::Result<Vec<(String, String)>>;
8844
8845 #[zbus(property(emits_changed_signal = "false"), name = "SocketBindAllow")]
8847 fn socket_bind_allow(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
8848
8849 #[zbus(property(emits_changed_signal = "false"), name = "SocketBindDeny")]
8851 fn socket_bind_deny(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
8852
8853 #[zbus(
8855 property(emits_changed_signal = "false"),
8856 name = "RestrictNetworkInterfaces"
8857 )]
8858 fn restrict_network_interfaces(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
8859
8860 #[zbus(
8862 property(emits_changed_signal = "false"),
8863 name = "BindNetworkInterface"
8864 )]
8865 fn bind_network_interface(&self) -> crate::zbus::Result<String>;
8866
8867 #[zbus(property(emits_changed_signal = "false"), name = "MemoryPressureWatch")]
8869 fn memory_pressure_watch(&self) -> crate::zbus::Result<String>;
8870
8871 #[zbus(
8873 property(emits_changed_signal = "false"),
8874 name = "MemoryPressureThresholdUSec"
8875 )]
8876 fn memory_pressure_threshold_u_sec(&self) -> crate::zbus::Result<u64>;
8877
8878 #[zbus(property(emits_changed_signal = "false"), name = "NFTSet")]
8880 fn nft_set(&self) -> crate::zbus::Result<Vec<(i32, i32, String, String)>>;
8881
8882 #[zbus(property(emits_changed_signal = "false"), name = "CoredumpReceive")]
8884 fn coredump_receive(&self) -> crate::zbus::Result<bool>;
8885}
8886
8887#[proxy(
8889 interface = "org.freedesktop.systemd1.Scope",
8890 gen_blocking = false,
8891 default_service = "org.freedesktop.systemd1",
8892 assume_defaults = false
8893)]
8894pub trait Scope {
8895 #[zbus(name = "Abandon")]
8897 fn abandon(&self) -> crate::zbus::Result<()>;
8898
8899 #[zbus(name = "GetProcesses")]
8901 fn get_processes(&self) -> crate::zbus::Result<Vec<(String, u32, String)>>;
8902
8903 #[zbus(name = "AttachProcesses")]
8905 fn attach_processes(&self, subcgroup: String, pids: Vec<u32>) -> crate::zbus::Result<()>;
8906
8907 #[zbus(name = "RemoveSubgroup")]
8909 fn remove_subgroup(&self, subcgroup: String, flags: u64) -> crate::zbus::Result<()>;
8910
8911 #[zbus(signal, name = "RequestStop")]
8913 fn request_stop(&self) -> crate::zbus::Result<()>;
8914
8915 #[zbus(property(emits_changed_signal = "true"), name = "Controller")]
8917 fn controller(&self) -> crate::zbus::Result<String>;
8918
8919 #[zbus(property(emits_changed_signal = "const"), name = "TimeoutStopUSec")]
8921 fn timeout_stop_u_sec(&self) -> crate::zbus::Result<u64>;
8922
8923 #[zbus(property(emits_changed_signal = "true"), name = "Result")]
8925 fn result(&self) -> crate::zbus::Result<String>;
8926
8927 #[zbus(property(emits_changed_signal = "const"), name = "RuntimeMaxUSec")]
8929 fn runtime_max_u_sec(&self) -> crate::zbus::Result<u64>;
8930
8931 #[zbus(
8933 property(emits_changed_signal = "const"),
8934 name = "RuntimeRandomizedExtraUSec"
8935 )]
8936 fn runtime_randomized_extra_u_sec(&self) -> crate::zbus::Result<u64>;
8937
8938 #[zbus(property(emits_changed_signal = "const"), name = "OOMPolicy")]
8940 fn oom_policy(&self) -> crate::zbus::Result<String>;
8941
8942 #[zbus(property(emits_changed_signal = "false"), name = "Slice")]
8944 fn slice(&self) -> crate::zbus::Result<String>;
8945
8946 #[zbus(property(emits_changed_signal = "false"), name = "ControlGroup")]
8948 fn control_group(&self) -> crate::zbus::Result<String>;
8949
8950 #[zbus(property(emits_changed_signal = "false"), name = "ControlGroupId")]
8952 fn control_group_id(&self) -> crate::zbus::Result<u64>;
8953
8954 #[zbus(property(emits_changed_signal = "false"), name = "MemoryCurrent")]
8956 fn memory_current(&self) -> crate::zbus::Result<u64>;
8957
8958 #[zbus(property(emits_changed_signal = "false"), name = "MemoryPeak")]
8960 fn memory_peak(&self) -> crate::zbus::Result<u64>;
8961
8962 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapCurrent")]
8964 fn memory_swap_current(&self) -> crate::zbus::Result<u64>;
8965
8966 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapPeak")]
8968 fn memory_swap_peak(&self) -> crate::zbus::Result<u64>;
8969
8970 #[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapCurrent")]
8972 fn memory_z_swap_current(&self) -> crate::zbus::Result<u64>;
8973
8974 #[zbus(property(emits_changed_signal = "false"), name = "MemoryAvailable")]
8976 fn memory_available(&self) -> crate::zbus::Result<u64>;
8977
8978 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryMax")]
8980 fn effective_memory_max(&self) -> crate::zbus::Result<u64>;
8981
8982 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryHigh")]
8984 fn effective_memory_high(&self) -> crate::zbus::Result<u64>;
8985
8986 #[zbus(property(emits_changed_signal = "false"), name = "CPUUsageNSec")]
8988 fn cpu_usage_n_sec(&self) -> crate::zbus::Result<u64>;
8989
8990 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveCPUs")]
8992 fn effective_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
8993
8994 #[zbus(
8996 property(emits_changed_signal = "false"),
8997 name = "EffectiveMemoryNodes"
8998 )]
8999 fn effective_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
9000
9001 #[zbus(property(emits_changed_signal = "false"), name = "TasksCurrent")]
9003 fn tasks_current(&self) -> crate::zbus::Result<u64>;
9004
9005 #[zbus(property(emits_changed_signal = "false"), name = "EffectiveTasksMax")]
9007 fn effective_tasks_max(&self) -> crate::zbus::Result<u64>;
9008
9009 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressBytes")]
9011 fn ip_ingress_bytes(&self) -> crate::zbus::Result<u64>;
9012
9013 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressPackets")]
9015 fn ip_ingress_packets(&self) -> crate::zbus::Result<u64>;
9016
9017 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressBytes")]
9019 fn ip_egress_bytes(&self) -> crate::zbus::Result<u64>;
9020
9021 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressPackets")]
9023 fn ip_egress_packets(&self) -> crate::zbus::Result<u64>;
9024
9025 #[zbus(property(emits_changed_signal = "false"), name = "IOReadBytes")]
9027 fn io_read_bytes(&self) -> crate::zbus::Result<u64>;
9028
9029 #[zbus(property(emits_changed_signal = "false"), name = "IOReadOperations")]
9031 fn io_read_operations(&self) -> crate::zbus::Result<u64>;
9032
9033 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteBytes")]
9035 fn io_write_bytes(&self) -> crate::zbus::Result<u64>;
9036
9037 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteOperations")]
9039 fn io_write_operations(&self) -> crate::zbus::Result<u64>;
9040
9041 #[zbus(property(emits_changed_signal = "false"), name = "OOMKills")]
9043 fn oom_kills(&self) -> crate::zbus::Result<u64>;
9044
9045 #[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMKills")]
9047 fn managed_oom_kills(&self) -> crate::zbus::Result<u64>;
9048
9049 #[zbus(property(emits_changed_signal = "false"), name = "Delegate")]
9051 fn delegate(&self) -> crate::zbus::Result<bool>;
9052
9053 #[zbus(property(emits_changed_signal = "false"), name = "DelegateControllers")]
9055 fn delegate_controllers(&self) -> crate::zbus::Result<Vec<String>>;
9056
9057 #[zbus(property(emits_changed_signal = "false"), name = "DelegateSubgroup")]
9059 fn delegate_subgroup(&self) -> crate::zbus::Result<String>;
9060
9061 #[zbus(property(emits_changed_signal = "false"), name = "CPUWeight")]
9063 fn cpu_weight(&self) -> crate::zbus::Result<u64>;
9064
9065 #[zbus(property(emits_changed_signal = "false"), name = "StartupCPUWeight")]
9067 fn startup_cpu_weight(&self) -> crate::zbus::Result<u64>;
9068
9069 #[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPerSecUSec")]
9071 fn cpu_quota_per_sec_u_sec(&self) -> crate::zbus::Result<u64>;
9072
9073 #[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPeriodUSec")]
9075 fn cpu_quota_period_u_sec(&self) -> crate::zbus::Result<u64>;
9076
9077 #[zbus(property(emits_changed_signal = "false"), name = "AllowedCPUs")]
9079 fn allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
9080
9081 #[zbus(property(emits_changed_signal = "false"), name = "StartupAllowedCPUs")]
9083 fn startup_allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
9084
9085 #[zbus(property(emits_changed_signal = "false"), name = "AllowedMemoryNodes")]
9087 fn allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
9088
9089 #[zbus(
9091 property(emits_changed_signal = "false"),
9092 name = "StartupAllowedMemoryNodes"
9093 )]
9094 fn startup_allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
9095
9096 #[zbus(property(emits_changed_signal = "false"), name = "IOAccounting")]
9098 fn io_accounting(&self) -> crate::zbus::Result<bool>;
9099
9100 #[zbus(property(emits_changed_signal = "false"), name = "IOWeight")]
9102 fn io_weight(&self) -> crate::zbus::Result<u64>;
9103
9104 #[zbus(property(emits_changed_signal = "false"), name = "StartupIOWeight")]
9106 fn startup_io_weight(&self) -> crate::zbus::Result<u64>;
9107
9108 #[zbus(property(emits_changed_signal = "false"), name = "IODeviceWeight")]
9110 fn io_device_weight(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
9111
9112 #[zbus(property(emits_changed_signal = "false"), name = "IOReadBandwidthMax")]
9114 fn io_read_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
9115
9116 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteBandwidthMax")]
9118 fn io_write_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
9119
9120 #[zbus(property(emits_changed_signal = "false"), name = "IOReadIOPSMax")]
9122 fn io_read_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
9123
9124 #[zbus(property(emits_changed_signal = "false"), name = "IOWriteIOPSMax")]
9126 fn io_write_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
9127
9128 #[zbus(
9130 property(emits_changed_signal = "false"),
9131 name = "IODeviceLatencyTargetUSec"
9132 )]
9133 fn io_device_latency_target_u_sec(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
9134
9135 #[zbus(property(emits_changed_signal = "false"), name = "MemoryAccounting")]
9137 fn memory_accounting(&self) -> crate::zbus::Result<bool>;
9138
9139 #[zbus(property(emits_changed_signal = "false"), name = "MemoryMin")]
9141 fn memory_min(&self) -> crate::zbus::Result<u64>;
9142
9143 #[zbus(property(emits_changed_signal = "false"), name = "MemoryLow")]
9145 fn memory_low(&self) -> crate::zbus::Result<u64>;
9146
9147 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryLow")]
9149 fn startup_memory_low(&self) -> crate::zbus::Result<u64>;
9150
9151 #[zbus(property(emits_changed_signal = "false"), name = "MemoryHigh")]
9153 fn memory_high(&self) -> crate::zbus::Result<u64>;
9154
9155 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryHigh")]
9157 fn startup_memory_high(&self) -> crate::zbus::Result<u64>;
9158
9159 #[zbus(property(emits_changed_signal = "false"), name = "MemoryMax")]
9161 fn memory_max(&self) -> crate::zbus::Result<u64>;
9162
9163 #[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryMax")]
9165 fn startup_memory_max(&self) -> crate::zbus::Result<u64>;
9166
9167 #[zbus(property(emits_changed_signal = "false"), name = "MemorySwapMax")]
9169 fn memory_swap_max(&self) -> crate::zbus::Result<u64>;
9170
9171 #[zbus(
9173 property(emits_changed_signal = "false"),
9174 name = "StartupMemorySwapMax"
9175 )]
9176 fn startup_memory_swap_max(&self) -> crate::zbus::Result<u64>;
9177
9178 #[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapMax")]
9180 fn memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
9181
9182 #[zbus(
9184 property(emits_changed_signal = "false"),
9185 name = "StartupMemoryZSwapMax"
9186 )]
9187 fn startup_memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
9188
9189 #[zbus(
9191 property(emits_changed_signal = "false"),
9192 name = "MemoryZSwapWriteback"
9193 )]
9194 fn memory_z_swap_writeback(&self) -> crate::zbus::Result<bool>;
9195
9196 #[zbus(property(emits_changed_signal = "false"), name = "DevicePolicy")]
9198 fn device_policy(&self) -> crate::zbus::Result<String>;
9199
9200 #[zbus(property(emits_changed_signal = "false"), name = "DeviceAllow")]
9202 fn device_allow(&self) -> crate::zbus::Result<Vec<(String, String)>>;
9203
9204 #[zbus(property(emits_changed_signal = "false"), name = "TasksAccounting")]
9206 fn tasks_accounting(&self) -> crate::zbus::Result<bool>;
9207
9208 #[zbus(property(emits_changed_signal = "false"), name = "TasksMax")]
9210 fn tasks_max(&self) -> crate::zbus::Result<u64>;
9211
9212 #[zbus(property(emits_changed_signal = "false"), name = "IPAccounting")]
9214 fn ip_accounting(&self) -> crate::zbus::Result<bool>;
9215
9216 #[zbus(property(emits_changed_signal = "false"), name = "IPAddressAllow")]
9218 fn ip_address_allow(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
9219
9220 #[zbus(property(emits_changed_signal = "false"), name = "IPAddressDeny")]
9222 fn ip_address_deny(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
9223
9224 #[zbus(property(emits_changed_signal = "false"), name = "IPIngressFilterPath")]
9226 fn ip_ingress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
9227
9228 #[zbus(property(emits_changed_signal = "false"), name = "IPEgressFilterPath")]
9230 fn ip_egress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
9231
9232 #[zbus(property(emits_changed_signal = "false"), name = "DisableControllers")]
9234 fn disable_controllers(&self) -> crate::zbus::Result<Vec<String>>;
9235
9236 #[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMSwap")]
9238 fn managed_oom_swap(&self) -> crate::zbus::Result<String>;
9239
9240 #[zbus(
9242 property(emits_changed_signal = "false"),
9243 name = "ManagedOOMMemoryPressure"
9244 )]
9245 fn managed_oom_memory_pressure(&self) -> crate::zbus::Result<String>;
9246
9247 #[zbus(
9249 property(emits_changed_signal = "false"),
9250 name = "ManagedOOMMemoryPressureLimit"
9251 )]
9252 fn managed_oom_memory_pressure_limit(&self) -> crate::zbus::Result<u32>;
9253
9254 #[zbus(
9256 property(emits_changed_signal = "false"),
9257 name = "ManagedOOMMemoryPressureDurationUSec"
9258 )]
9259 fn managed_oom_memory_pressure_duration_u_sec(&self) -> crate::zbus::Result<u64>;
9260
9261 #[zbus(
9263 property(emits_changed_signal = "false"),
9264 name = "ManagedOOMPreference"
9265 )]
9266 fn managed_oom_preference(&self) -> crate::zbus::Result<String>;
9267
9268 #[zbus(property(emits_changed_signal = "false"), name = "BPFProgram")]
9270 fn bpf_program(&self) -> crate::zbus::Result<Vec<(String, String)>>;
9271
9272 #[zbus(property(emits_changed_signal = "false"), name = "SocketBindAllow")]
9274 fn socket_bind_allow(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
9275
9276 #[zbus(property(emits_changed_signal = "false"), name = "SocketBindDeny")]
9278 fn socket_bind_deny(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
9279
9280 #[zbus(
9282 property(emits_changed_signal = "false"),
9283 name = "RestrictNetworkInterfaces"
9284 )]
9285 fn restrict_network_interfaces(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
9286
9287 #[zbus(
9289 property(emits_changed_signal = "false"),
9290 name = "BindNetworkInterface"
9291 )]
9292 fn bind_network_interface(&self) -> crate::zbus::Result<String>;
9293
9294 #[zbus(property(emits_changed_signal = "false"), name = "MemoryPressureWatch")]
9296 fn memory_pressure_watch(&self) -> crate::zbus::Result<String>;
9297
9298 #[zbus(
9300 property(emits_changed_signal = "false"),
9301 name = "MemoryPressureThresholdUSec"
9302 )]
9303 fn memory_pressure_threshold_u_sec(&self) -> crate::zbus::Result<u64>;
9304
9305 #[zbus(property(emits_changed_signal = "false"), name = "NFTSet")]
9307 fn nft_set(&self) -> crate::zbus::Result<Vec<(i32, i32, String, String)>>;
9308
9309 #[zbus(property(emits_changed_signal = "false"), name = "CoredumpReceive")]
9311 fn coredump_receive(&self) -> crate::zbus::Result<bool>;
9312
9313 #[zbus(property(emits_changed_signal = "const"), name = "KillMode")]
9315 fn kill_mode(&self) -> crate::zbus::Result<String>;
9316
9317 #[zbus(property(emits_changed_signal = "const"), name = "KillSignal")]
9319 fn kill_signal(&self) -> crate::zbus::Result<i32>;
9320
9321 #[zbus(property(emits_changed_signal = "const"), name = "RestartKillSignal")]
9323 fn restart_kill_signal(&self) -> crate::zbus::Result<i32>;
9324
9325 #[zbus(property(emits_changed_signal = "const"), name = "FinalKillSignal")]
9327 fn final_kill_signal(&self) -> crate::zbus::Result<i32>;
9328
9329 #[zbus(property(emits_changed_signal = "const"), name = "SendSIGKILL")]
9331 fn send_sigkill(&self) -> crate::zbus::Result<bool>;
9332
9333 #[zbus(property(emits_changed_signal = "const"), name = "SendSIGHUP")]
9335 fn send_sighup(&self) -> crate::zbus::Result<bool>;
9336
9337 #[zbus(property(emits_changed_signal = "const"), name = "WatchdogSignal")]
9339 fn watchdog_signal(&self) -> crate::zbus::Result<i32>;
9340}
9341
9342#[proxy(
9344 interface = "org.freedesktop.systemd1.Job",
9345 gen_blocking = false,
9346 default_service = "org.freedesktop.systemd1",
9347 assume_defaults = false
9348)]
9349pub trait Job {
9350 #[zbus(name = "Cancel")]
9352 fn cancel(&self) -> crate::zbus::Result<()>;
9353
9354 #[zbus(name = "GetAfter")]
9356 fn get_after(
9357 &self,
9358 ) -> crate::zbus::Result<
9359 Vec<(
9360 u32,
9361 String,
9362 String,
9363 String,
9364 crate::zvariant::OwnedObjectPath,
9365 crate::zvariant::OwnedObjectPath,
9366 )>,
9367 >;
9368
9369 #[zbus(name = "GetBefore")]
9371 fn get_before(
9372 &self,
9373 ) -> crate::zbus::Result<
9374 Vec<(
9375 u32,
9376 String,
9377 String,
9378 String,
9379 crate::zvariant::OwnedObjectPath,
9380 crate::zvariant::OwnedObjectPath,
9381 )>,
9382 >;
9383
9384 #[zbus(property(emits_changed_signal = "const"), name = "Id")]
9386 fn id(&self) -> crate::zbus::Result<u32>;
9387
9388 #[zbus(property(emits_changed_signal = "const"), name = "Unit")]
9390 fn unit(&self) -> crate::zbus::Result<(String, crate::zvariant::OwnedObjectPath)>;
9391
9392 #[zbus(property(emits_changed_signal = "const"), name = "JobType")]
9394 fn job_type(&self) -> crate::zbus::Result<String>;
9395
9396 #[zbus(property(emits_changed_signal = "true"), name = "State")]
9398 fn state(&self) -> crate::zbus::Result<String>;
9399
9400 #[zbus(property(emits_changed_signal = "const"), name = "ActivationDetails")]
9402 fn activation_details(&self) -> crate::zbus::Result<Vec<(String, String)>>;
9403}