systemd-transient 0.2.0

Start transient systemd services using dbus, just like systemd-run.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
//! # D-Bus interface proxy for: `org.freedesktop.systemd1.Manager`
//!
//! This code was generated by `zbus-xmlgen` `6.0.0` from D-Bus introspection data.
//! Source: `Interface '/org/freedesktop/systemd1' from service 'org.freedesktop.systemd1' on system bus`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
//!
//! More information can be found in the [Writing a client proxy] section of the zbus
//! documentation.
//!
//! This type implements the [D-Bus standard interfaces], (`org.freedesktop.DBus.*`) for which the
//! following zbus API can be used:
//!
//! * [`zbus::fdo::PeerProxy`]
//! * [`zbus::fdo::IntrospectableProxy`]
//! * [`zbus::fdo::PropertiesProxy`]
//!
//! Consequently `zbus-xmlgen` did not generate code for the above interfaces.
//!
//! [Writing a client proxy]: https://z-galaxy.github.io/zbus/client.html
//! [D-Bus standard interfaces]: https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces,
use zbus::proxy;
#[proxy(
  interface = "org.freedesktop.systemd1.Manager",
  default_service = "org.freedesktop.systemd1",
  default_path = "/org/freedesktop/systemd1"
)]
pub trait Manager {
  /// Version property
  #[zbus(property)]
  fn version(&self) -> zbus::Result<String>;

  /// Features property
  #[zbus(property)]
  fn features(&self) -> zbus::Result<String>;

  /// Virtualization property
  #[zbus(property)]
  fn virtualization(&self) -> zbus::Result<String>;

  /// ConfidentialVirtualization property
  #[zbus(property)]
  fn confidential_virtualization(&self) -> zbus::Result<String>;

  /// Architecture property
  #[zbus(property)]
  fn architecture(&self) -> zbus::Result<String>;

  /// Tainted property
  #[zbus(property)]
  fn tainted(&self) -> zbus::Result<String>;

  /// FirmwareTimestamp property
  #[zbus(property)]
  fn firmware_timestamp(&self) -> zbus::Result<u64>;

  /// FirmwareTimestampMonotonic property
  #[zbus(property)]
  fn firmware_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// LoaderTimestamp property
  #[zbus(property)]
  fn loader_timestamp(&self) -> zbus::Result<u64>;

  /// LoaderTimestampMonotonic property
  #[zbus(property)]
  fn loader_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// KernelTimestamp property
  #[zbus(property)]
  fn kernel_timestamp(&self) -> zbus::Result<u64>;

  /// KernelTimestampMonotonic property
  #[zbus(property)]
  fn kernel_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// InitRDTimestamp property
  #[zbus(property, name = "InitRDTimestamp")]
  fn init_rdtimestamp(&self) -> zbus::Result<u64>;

  /// InitRDTimestampMonotonic property
  #[zbus(property, name = "InitRDTimestampMonotonic")]
  fn init_rdtimestamp_monotonic(&self) -> zbus::Result<u64>;

  /// UserspaceTimestamp property
  #[zbus(property)]
  fn userspace_timestamp(&self) -> zbus::Result<u64>;

  /// UserspaceTimestampMonotonic property
  #[zbus(property)]
  fn userspace_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// FinishTimestamp property
  #[zbus(property)]
  fn finish_timestamp(&self) -> zbus::Result<u64>;

  /// FinishTimestampMonotonic property
  #[zbus(property)]
  fn finish_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// ShutdownStartTimestamp property
  #[zbus(property)]
  fn shutdown_start_timestamp(&self) -> zbus::Result<u64>;

  /// ShutdownStartTimestampMonotonic property
  #[zbus(property)]
  fn shutdown_start_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// SecurityStartTimestamp property
  #[zbus(property)]
  fn security_start_timestamp(&self) -> zbus::Result<u64>;

  /// SecurityStartTimestampMonotonic property
  #[zbus(property)]
  fn security_start_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// SecurityFinishTimestamp property
  #[zbus(property)]
  fn security_finish_timestamp(&self) -> zbus::Result<u64>;

  /// SecurityFinishTimestampMonotonic property
  #[zbus(property)]
  fn security_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// GeneratorsStartTimestamp property
  #[zbus(property)]
  fn generators_start_timestamp(&self) -> zbus::Result<u64>;

  /// GeneratorsStartTimestampMonotonic property
  #[zbus(property)]
  fn generators_start_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// GeneratorsFinishTimestamp property
  #[zbus(property)]
  fn generators_finish_timestamp(&self) -> zbus::Result<u64>;

  /// GeneratorsFinishTimestampMonotonic property
  #[zbus(property)]
  fn generators_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// UnitsLoadStartTimestamp property
  #[zbus(property)]
  fn units_load_start_timestamp(&self) -> zbus::Result<u64>;

  /// UnitsLoadStartTimestampMonotonic property
  #[zbus(property)]
  fn units_load_start_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// UnitsLoadFinishTimestamp property
  #[zbus(property)]
  fn units_load_finish_timestamp(&self) -> zbus::Result<u64>;

  /// UnitsLoadFinishTimestampMonotonic property
  #[zbus(property)]
  fn units_load_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// UnitsLoadTimestamp property
  #[zbus(property)]
  fn units_load_timestamp(&self) -> zbus::Result<u64>;

  /// UnitsLoadTimestampMonotonic property
  #[zbus(property)]
  fn units_load_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// InitRDSecurityStartTimestamp property
  #[zbus(property, name = "InitRDSecurityStartTimestamp")]
  fn init_rdsecurity_start_timestamp(&self) -> zbus::Result<u64>;

  /// InitRDSecurityStartTimestampMonotonic property
  #[zbus(property, name = "InitRDSecurityStartTimestampMonotonic")]
  fn init_rdsecurity_start_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// InitRDSecurityFinishTimestamp property
  #[zbus(property, name = "InitRDSecurityFinishTimestamp")]
  fn init_rdsecurity_finish_timestamp(&self) -> zbus::Result<u64>;

  /// InitRDSecurityFinishTimestampMonotonic property
  #[zbus(property, name = "InitRDSecurityFinishTimestampMonotonic")]
  fn init_rdsecurity_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// InitRDGeneratorsStartTimestamp property
  #[zbus(property, name = "InitRDGeneratorsStartTimestamp")]
  fn init_rdgenerators_start_timestamp(&self) -> zbus::Result<u64>;

  /// InitRDGeneratorsStartTimestampMonotonic property
  #[zbus(property, name = "InitRDGeneratorsStartTimestampMonotonic")]
  fn init_rdgenerators_start_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// InitRDGeneratorsFinishTimestamp property
  #[zbus(property, name = "InitRDGeneratorsFinishTimestamp")]
  fn init_rdgenerators_finish_timestamp(&self) -> zbus::Result<u64>;

  /// InitRDGeneratorsFinishTimestampMonotonic property
  #[zbus(property, name = "InitRDGeneratorsFinishTimestampMonotonic")]
  fn init_rdgenerators_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// InitRDUnitsLoadStartTimestamp property
  #[zbus(property, name = "InitRDUnitsLoadStartTimestamp")]
  fn init_rdunits_load_start_timestamp(&self) -> zbus::Result<u64>;

  /// InitRDUnitsLoadStartTimestampMonotonic property
  #[zbus(property, name = "InitRDUnitsLoadStartTimestampMonotonic")]
  fn init_rdunits_load_start_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// InitRDUnitsLoadFinishTimestamp property
  #[zbus(property, name = "InitRDUnitsLoadFinishTimestamp")]
  fn init_rdunits_load_finish_timestamp(&self) -> zbus::Result<u64>;

  /// InitRDUnitsLoadFinishTimestampMonotonic property
  #[zbus(property, name = "InitRDUnitsLoadFinishTimestampMonotonic")]
  fn init_rdunits_load_finish_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// LogLevel property
  #[zbus(property)]
  fn log_level(&self) -> zbus::Result<String>;
  #[zbus(property)]
  fn set_log_level(&self, value: &str) -> zbus::Result<()>;

  /// LogTarget property
  #[zbus(property)]
  fn log_target(&self) -> zbus::Result<String>;
  #[zbus(property)]
  fn set_log_target(&self, value: &str) -> zbus::Result<()>;

  /// NNames property
  #[zbus(property, name = "NNames")]
  fn nnames(&self) -> zbus::Result<u32>;

  /// NFailedUnits property
  #[zbus(property, name = "NFailedUnits")]
  fn nfailed_units(&self) -> zbus::Result<u32>;

  /// NJobs property
  #[zbus(property, name = "NJobs")]
  fn njobs(&self) -> zbus::Result<u32>;

  /// NInstalledJobs property
  #[zbus(property, name = "NInstalledJobs")]
  fn ninstalled_jobs(&self) -> zbus::Result<u32>;

  /// NFailedJobs property
  #[zbus(property, name = "NFailedJobs")]
  fn nfailed_jobs(&self) -> zbus::Result<u32>;

  /// TransactionsWithOrderingCycle property
  #[zbus(property)]
  fn transactions_with_ordering_cycle(&self) -> zbus::Result<Vec<u64>>;

  /// Progress property
  #[zbus(property)]
  fn progress(&self) -> zbus::Result<f64>;

  /// Environment property
  #[zbus(property)]
  fn environment(&self) -> zbus::Result<Vec<String>>;

  /// ConfirmSpawn property
  #[zbus(property)]
  fn confirm_spawn(&self) -> zbus::Result<bool>;

  /// ShowStatus property
  #[zbus(property)]
  fn show_status(&self) -> zbus::Result<bool>;

  /// UnitPath property
  #[zbus(property)]
  fn unit_path(&self) -> zbus::Result<Vec<String>>;

  /// DefaultStandardOutput property
  #[zbus(property)]
  fn default_standard_output(&self) -> zbus::Result<String>;

  /// DefaultStandardError property
  #[zbus(property)]
  fn default_standard_error(&self) -> zbus::Result<String>;

  /// WatchdogDevice property
  #[zbus(property)]
  fn watchdog_device(&self) -> zbus::Result<String>;

  /// WatchdogLastPingTimestamp property
  #[zbus(property)]
  fn watchdog_last_ping_timestamp(&self) -> zbus::Result<u64>;

  /// WatchdogLastPingTimestampMonotonic property
  #[zbus(property)]
  fn watchdog_last_ping_timestamp_monotonic(&self) -> zbus::Result<u64>;

  /// RuntimeWatchdogUSec property
  #[zbus(property, name = "RuntimeWatchdogUSec")]
  fn runtime_watchdog_usec(&self) -> zbus::Result<u64>;
  #[zbus(property, name = "RuntimeWatchdogUSec")]
  fn set_runtime_watchdog_usec(&self, value: u64) -> zbus::Result<()>;

  /// RuntimeWatchdogPreUSec property
  #[zbus(property, name = "RuntimeWatchdogPreUSec")]
  fn runtime_watchdog_pre_usec(&self) -> zbus::Result<u64>;
  #[zbus(property, name = "RuntimeWatchdogPreUSec")]
  fn set_runtime_watchdog_pre_usec(&self, value: u64) -> zbus::Result<()>;

  /// RuntimeWatchdogPreGovernor property
  #[zbus(property)]
  fn runtime_watchdog_pre_governor(&self) -> zbus::Result<String>;
  #[zbus(property)]
  fn set_runtime_watchdog_pre_governor(&self, value: &str) -> zbus::Result<()>;

  /// RebootWatchdogUSec property
  #[zbus(property, name = "RebootWatchdogUSec")]
  fn reboot_watchdog_usec(&self) -> zbus::Result<u64>;
  #[zbus(property, name = "RebootWatchdogUSec")]
  fn set_reboot_watchdog_usec(&self, value: u64) -> zbus::Result<()>;

  /// KExecWatchdogUSec property
  #[zbus(property, name = "KExecWatchdogUSec")]
  fn kexec_watchdog_usec(&self) -> zbus::Result<u64>;
  #[zbus(property, name = "KExecWatchdogUSec")]
  fn set_kexec_watchdog_usec(&self, value: u64) -> zbus::Result<()>;

  /// ServiceWatchdogs property
  #[zbus(property)]
  fn service_watchdogs(&self) -> zbus::Result<bool>;
  #[zbus(property)]
  fn set_service_watchdogs(&self, value: bool) -> zbus::Result<()>;

  /// ControlGroup property
  #[zbus(property)]
  fn control_group(&self) -> zbus::Result<String>;

  /// SystemState property
  #[zbus(property)]
  fn system_state(&self) -> zbus::Result<String>;

  /// ExitCode property
  #[zbus(property)]
  fn exit_code(&self) -> zbus::Result<u8>;

  /// DefaultTimerAccuracyUSec property
  #[zbus(property, name = "DefaultTimerAccuracyUSec")]
  fn default_timer_accuracy_usec(&self) -> zbus::Result<u64>;

  /// DefaultTimeoutStartUSec property
  #[zbus(property, name = "DefaultTimeoutStartUSec")]
  fn default_timeout_start_usec(&self) -> zbus::Result<u64>;

  /// DefaultTimeoutStopUSec property
  #[zbus(property, name = "DefaultTimeoutStopUSec")]
  fn default_timeout_stop_usec(&self) -> zbus::Result<u64>;

  /// DefaultTimeoutAbortUSec property
  #[zbus(property, name = "DefaultTimeoutAbortUSec")]
  fn default_timeout_abort_usec(&self) -> zbus::Result<u64>;

  /// DefaultDeviceTimeoutUSec property
  #[zbus(property, name = "DefaultDeviceTimeoutUSec")]
  fn default_device_timeout_usec(&self) -> zbus::Result<u64>;

  /// DefaultRestartUSec property
  #[zbus(property, name = "DefaultRestartUSec")]
  fn default_restart_usec(&self) -> zbus::Result<u64>;

  /// DefaultStartLimitIntervalUSec property
  #[zbus(property, name = "DefaultStartLimitIntervalUSec")]
  fn default_start_limit_interval_usec(&self) -> zbus::Result<u64>;

  /// DefaultStartLimitBurst property
  #[zbus(property)]
  fn default_start_limit_burst(&self) -> zbus::Result<u32>;

  /// DefaultIOAccounting property
  #[zbus(property, name = "DefaultIOAccounting")]
  fn default_ioaccounting(&self) -> zbus::Result<bool>;

  /// DefaultIPAccounting property
  #[zbus(property, name = "DefaultIPAccounting")]
  fn default_ipaccounting(&self) -> zbus::Result<bool>;

  /// DefaultMemoryAccounting property
  #[zbus(property)]
  fn default_memory_accounting(&self) -> zbus::Result<bool>;

  /// DefaultTasksAccounting property
  #[zbus(property)]
  fn default_tasks_accounting(&self) -> zbus::Result<bool>;

  /// DefaultLimitCPU property
  #[zbus(property, name = "DefaultLimitCPU")]
  fn default_limit_cpu(&self) -> zbus::Result<u64>;

  /// DefaultLimitCPUSoft property
  #[zbus(property, name = "DefaultLimitCPUSoft")]
  fn default_limit_cpusoft(&self) -> zbus::Result<u64>;

  /// DefaultLimitFSIZE property
  #[zbus(property, name = "DefaultLimitFSIZE")]
  fn default_limit_fsize(&self) -> zbus::Result<u64>;

  /// DefaultLimitFSIZESoft property
  #[zbus(property, name = "DefaultLimitFSIZESoft")]
  fn default_limit_fsizesoft(&self) -> zbus::Result<u64>;

  /// DefaultLimitDATA property
  #[zbus(property, name = "DefaultLimitDATA")]
  fn default_limit_data(&self) -> zbus::Result<u64>;

  /// DefaultLimitDATASoft property
  #[zbus(property, name = "DefaultLimitDATASoft")]
  fn default_limit_datasoft(&self) -> zbus::Result<u64>;

  /// DefaultLimitSTACK property
  #[zbus(property, name = "DefaultLimitSTACK")]
  fn default_limit_stack(&self) -> zbus::Result<u64>;

  /// DefaultLimitSTACKSoft property
  #[zbus(property, name = "DefaultLimitSTACKSoft")]
  fn default_limit_stacksoft(&self) -> zbus::Result<u64>;

  /// DefaultLimitCORE property
  #[zbus(property, name = "DefaultLimitCORE")]
  fn default_limit_core(&self) -> zbus::Result<u64>;

  /// DefaultLimitCORESoft property
  #[zbus(property, name = "DefaultLimitCORESoft")]
  fn default_limit_coresoft(&self) -> zbus::Result<u64>;

  /// DefaultLimitRSS property
  #[zbus(property, name = "DefaultLimitRSS")]
  fn default_limit_rss(&self) -> zbus::Result<u64>;

  /// DefaultLimitRSSSoft property
  #[zbus(property, name = "DefaultLimitRSSSoft")]
  fn default_limit_rsssoft(&self) -> zbus::Result<u64>;

  /// DefaultLimitNOFILE property
  #[zbus(property, name = "DefaultLimitNOFILE")]
  fn default_limit_nofile(&self) -> zbus::Result<u64>;

  /// DefaultLimitNOFILESoft property
  #[zbus(property, name = "DefaultLimitNOFILESoft")]
  fn default_limit_nofilesoft(&self) -> zbus::Result<u64>;

  /// DefaultLimitAS property
  #[zbus(property, name = "DefaultLimitAS")]
  fn default_limit_as(&self) -> zbus::Result<u64>;

  /// DefaultLimitASSoft property
  #[zbus(property, name = "DefaultLimitASSoft")]
  fn default_limit_assoft(&self) -> zbus::Result<u64>;

  /// DefaultLimitNPROC property
  #[zbus(property, name = "DefaultLimitNPROC")]
  fn default_limit_nproc(&self) -> zbus::Result<u64>;

  /// DefaultLimitNPROCSoft property
  #[zbus(property, name = "DefaultLimitNPROCSoft")]
  fn default_limit_nprocsoft(&self) -> zbus::Result<u64>;

  /// DefaultLimitMEMLOCK property
  #[zbus(property, name = "DefaultLimitMEMLOCK")]
  fn default_limit_memlock(&self) -> zbus::Result<u64>;

  /// DefaultLimitMEMLOCKSoft property
  #[zbus(property, name = "DefaultLimitMEMLOCKSoft")]
  fn default_limit_memlocksoft(&self) -> zbus::Result<u64>;

  /// DefaultLimitLOCKS property
  #[zbus(property, name = "DefaultLimitLOCKS")]
  fn default_limit_locks(&self) -> zbus::Result<u64>;

  /// DefaultLimitLOCKSSoft property
  #[zbus(property, name = "DefaultLimitLOCKSSoft")]
  fn default_limit_lockssoft(&self) -> zbus::Result<u64>;

  /// DefaultLimitSIGPENDING property
  #[zbus(property, name = "DefaultLimitSIGPENDING")]
  fn default_limit_sigpending(&self) -> zbus::Result<u64>;

  /// DefaultLimitSIGPENDINGSoft property
  #[zbus(property, name = "DefaultLimitSIGPENDINGSoft")]
  fn default_limit_sigpendingsoft(&self) -> zbus::Result<u64>;

  /// DefaultLimitMSGQUEUE property
  #[zbus(property, name = "DefaultLimitMSGQUEUE")]
  fn default_limit_msgqueue(&self) -> zbus::Result<u64>;

  /// DefaultLimitMSGQUEUESoft property
  #[zbus(property, name = "DefaultLimitMSGQUEUESoft")]
  fn default_limit_msgqueuesoft(&self) -> zbus::Result<u64>;

  /// DefaultLimitNICE property
  #[zbus(property, name = "DefaultLimitNICE")]
  fn default_limit_nice(&self) -> zbus::Result<u64>;

  /// DefaultLimitNICESoft property
  #[zbus(property, name = "DefaultLimitNICESoft")]
  fn default_limit_nicesoft(&self) -> zbus::Result<u64>;

  /// DefaultLimitRTPRIO property
  #[zbus(property, name = "DefaultLimitRTPRIO")]
  fn default_limit_rtprio(&self) -> zbus::Result<u64>;

  /// DefaultLimitRTPRIOSoft property
  #[zbus(property, name = "DefaultLimitRTPRIOSoft")]
  fn default_limit_rtpriosoft(&self) -> zbus::Result<u64>;

  /// DefaultLimitRTTIME property
  #[zbus(property, name = "DefaultLimitRTTIME")]
  fn default_limit_rttime(&self) -> zbus::Result<u64>;

  /// DefaultLimitRTTIMESoft property
  #[zbus(property, name = "DefaultLimitRTTIMESoft")]
  fn default_limit_rttimesoft(&self) -> zbus::Result<u64>;

  /// DefaultTasksMax property
  #[zbus(property)]
  fn default_tasks_max(&self) -> zbus::Result<u64>;

  /// DefaultMemoryPressureThresholdUSec property
  #[zbus(property, name = "DefaultMemoryPressureThresholdUSec")]
  fn default_memory_pressure_threshold_usec(&self) -> zbus::Result<u64>;

  /// DefaultMemoryPressureWatch property
  #[zbus(property)]
  fn default_memory_pressure_watch(&self) -> zbus::Result<String>;

  /// TimerSlackNSec property
  #[zbus(property, name = "TimerSlackNSec")]
  fn timer_slack_nsec(&self) -> zbus::Result<u64>;

  /// DefaultOOMPolicy property
  #[zbus(property, name = "DefaultOOMPolicy")]
  fn default_oompolicy(&self) -> zbus::Result<String>;

  /// DefaultOOMScoreAdjust property
  #[zbus(property, name = "DefaultOOMScoreAdjust")]
  fn default_oomscore_adjust(&self) -> zbus::Result<i32>;

  /// DefaultRestrictSUIDSGID property
  #[zbus(property, name = "DefaultRestrictSUIDSGID")]
  fn default_restrict_suidsgid(&self) -> zbus::Result<bool>;

  /// CtrlAltDelBurstAction property
  #[zbus(property)]
  fn ctrl_alt_del_burst_action(&self) -> zbus::Result<String>;

  /// SoftRebootsCount property
  #[zbus(property)]
  fn soft_reboots_count(&self) -> zbus::Result<u32>;

  /// GetUnit method
  fn get_unit(&self, name: &str) -> zbus::Result<zbus::OwnedObjectPath>;

  /// GetUnitByPID method
  #[zbus(name = "GetUnitByPID")]
  fn get_unit_by_pid(&self, pid: u32) -> zbus::Result<zbus::OwnedObjectPath>;

  /// GetUnitByInvocationID method
  #[zbus(name = "GetUnitByInvocationID")]
  fn get_unit_by_invocation_id(&self, invocation_id: &[u8]) -> zbus::Result<zbus::OwnedObjectPath>;

  /// GetUnitByControlGroup method
  fn get_unit_by_control_group(&self, cgroup: &str) -> zbus::Result<zbus::OwnedObjectPath>;

  /// GetUnitByPIDFD method
  #[zbus(name = "GetUnitByPIDFD")]
  fn get_unit_by_pidfd(
    &self,
    pidfd: zbus::Fd<'_>,
  ) -> zbus::Result<(zbus::OwnedObjectPath, String, Vec<u8>)>;

  /// LoadUnit method
  fn load_unit(&self, name: &str) -> zbus::Result<zbus::OwnedObjectPath>;

  /// StartUnit method
  fn start_unit(&self, name: &str, mode: &str) -> zbus::Result<zbus::OwnedObjectPath>;

  /// StartUnitWithFlags method
  fn start_unit_with_flags(
    &self,
    name: &str,
    mode: &str,
    flags: u64,
  ) -> zbus::Result<zbus::OwnedObjectPath>;

  /// StartUnitReplace method
  fn start_unit_replace(
    &self,
    old_unit: &str,
    new_unit: &str,
    mode: &str,
  ) -> zbus::Result<zbus::OwnedObjectPath>;

  /// StopUnit method
  fn stop_unit(&self, name: &str, mode: &str) -> zbus::Result<zbus::OwnedObjectPath>;

  /// ReloadUnit method
  fn reload_unit(&self, name: &str, mode: &str) -> zbus::Result<zbus::OwnedObjectPath>;

  /// RestartUnit method
  fn restart_unit(&self, name: &str, mode: &str) -> zbus::Result<zbus::OwnedObjectPath>;

  /// TryRestartUnit method
  fn try_restart_unit(&self, name: &str, mode: &str) -> zbus::Result<zbus::OwnedObjectPath>;

  /// ReloadOrRestartUnit method
  fn reload_or_restart_unit(&self, name: &str, mode: &str) -> zbus::Result<zbus::OwnedObjectPath>;

  /// ReloadOrTryRestartUnit method
  fn reload_or_try_restart_unit(
    &self,
    name: &str,
    mode: &str,
  ) -> zbus::Result<zbus::OwnedObjectPath>;

  /// EnqueueUnitJob method
  #[allow(clippy::too_many_arguments)]
  fn enqueue_unit_job(
    &self,
    name: &str,
    job_type: &str,
    job_mode: &str,
  ) -> zbus::Result<(
    u32,
    zbus::OwnedObjectPath,
    String,
    zbus::OwnedObjectPath,
    String,
    Vec<(
      u32,
      zbus::OwnedObjectPath,
      String,
      zbus::OwnedObjectPath,
      String,
    )>,
  )>;

  /// KillUnit method
  fn kill_unit(&self, name: &str, whom: &str, signal: i32) -> zbus::Result<()>;

  /// KillUnitSubgroup method
  fn kill_unit_subgroup(
    &self,
    name: &str,
    whom: &str,
    subgroup: &str,
    signal: i32,
  ) -> zbus::Result<()>;

  /// QueueSignalUnit method
  fn queue_signal_unit(&self, name: &str, whom: &str, signal: i32, value: i32) -> zbus::Result<()>;

  /// CleanUnit method
  fn clean_unit(&self, name: &str, mask: &[&str]) -> zbus::Result<()>;

  /// FreezeUnit method
  fn freeze_unit(&self, name: &str) -> zbus::Result<()>;

  /// ThawUnit method
  fn thaw_unit(&self, name: &str) -> zbus::Result<()>;

  /// ResetFailedUnit method
  fn reset_failed_unit(&self, name: &str) -> zbus::Result<()>;

  /// SetUnitProperties method
  fn set_unit_properties(
    &self,
    name: &str,
    runtime: bool,
    properties: &[&(&str, &zbus::Variant<'_>)],
  ) -> zbus::Result<()>;

  /// BindMountUnit method
  fn bind_mount_unit(
    &self,
    name: &str,
    source: &str,
    destination: &str,
    read_only: bool,
    mkdir: bool,
  ) -> zbus::Result<()>;

  /// MountImageUnit method
  fn mount_image_unit(
    &self,
    name: &str,
    source: &str,
    destination: &str,
    read_only: bool,
    mkdir: bool,
    options: &[&(&str, &str)],
  ) -> zbus::Result<()>;

  /// RefUnit method
  fn ref_unit(&self, name: &str) -> zbus::Result<()>;

  /// UnrefUnit method
  fn unref_unit(&self, name: &str) -> zbus::Result<()>;

  /// StartTransientUnit method
  #[allow(clippy::type_complexity)]
  fn start_transient_unit(
    &self,
    name: &str,
    mode: &str,
    properties: &[&(&str, &zbus::Variant<'_>)],
    aux: &[&(&str, &[&(&str, &zbus::Variant<'_>)])],
  ) -> zbus::Result<zbus::OwnedObjectPath>;

  /// GetUnitProcesses method
  fn get_unit_processes(&self, name: &str) -> zbus::Result<Vec<(String, u32, String)>>;

  /// AttachProcessesToUnit method
  fn attach_processes_to_unit(
    &self,
    unit_name: &str,
    subcgroup: &str,
    pids: &[u32],
  ) -> zbus::Result<()>;

  /// RemoveSubgroupFromUnit method
  fn remove_subgroup_from_unit(
    &self,
    unit_name: &str,
    subcgroup: &str,
    flags: u64,
  ) -> zbus::Result<()>;

  /// AbandonScope method
  fn abandon_scope(&self, name: &str) -> zbus::Result<()>;

  /// GetJob method
  fn get_job(&self, id: u32) -> zbus::Result<zbus::OwnedObjectPath>;

  /// GetJobAfter method
  fn get_job_after(
    &self,
    id: u32,
  ) -> zbus::Result<
    Vec<(
      u32,
      String,
      String,
      String,
      zbus::OwnedObjectPath,
      zbus::OwnedObjectPath,
    )>,
  >;

  /// GetJobBefore method
  fn get_job_before(
    &self,
    id: u32,
  ) -> zbus::Result<
    Vec<(
      u32,
      String,
      String,
      String,
      zbus::OwnedObjectPath,
      zbus::OwnedObjectPath,
    )>,
  >;

  /// CancelJob method
  fn cancel_job(&self, id: u32) -> zbus::Result<()>;

  /// ClearJobs method
  fn clear_jobs(&self) -> zbus::Result<()>;

  /// ResetFailed method
  fn reset_failed(&self) -> zbus::Result<()>;

  /// SetShowStatus method
  fn set_show_status(&self, mode: &str) -> zbus::Result<()>;

  /// ListUnits method
  fn list_units(
    &self,
  ) -> zbus::Result<
    Vec<(
      String,
      String,
      String,
      String,
      String,
      String,
      zbus::OwnedObjectPath,
      u32,
      String,
      zbus::OwnedObjectPath,
    )>,
  >;

  /// ListUnitsFiltered method
  fn list_units_filtered(
    &self,
    states: &[&str],
  ) -> zbus::Result<
    Vec<(
      String,
      String,
      String,
      String,
      String,
      String,
      zbus::OwnedObjectPath,
      u32,
      String,
      zbus::OwnedObjectPath,
    )>,
  >;

  /// ListUnitsByPatterns method
  fn list_units_by_patterns(
    &self,
    states: &[&str],
    patterns: &[&str],
  ) -> zbus::Result<
    Vec<(
      String,
      String,
      String,
      String,
      String,
      String,
      zbus::OwnedObjectPath,
      u32,
      String,
      zbus::OwnedObjectPath,
    )>,
  >;

  /// ListUnitsByNames method
  fn list_units_by_names(
    &self,
    names: &[&str],
  ) -> zbus::Result<
    Vec<(
      String,
      String,
      String,
      String,
      String,
      String,
      zbus::OwnedObjectPath,
      u32,
      String,
      zbus::OwnedObjectPath,
    )>,
  >;

  /// ListJobs method
  fn list_jobs(
    &self,
  ) -> zbus::Result<
    Vec<(
      u32,
      String,
      String,
      String,
      zbus::OwnedObjectPath,
      zbus::OwnedObjectPath,
    )>,
  >;

  /// Subscribe method
  fn subscribe(&self) -> zbus::Result<()>;

  /// Unsubscribe method
  fn unsubscribe(&self) -> zbus::Result<()>;

  /// Dump method
  fn dump(&self) -> zbus::Result<String>;

  /// DumpUnitsMatchingPatterns method
  fn dump_units_matching_patterns(&self, patterns: &[&str]) -> zbus::Result<String>;

  /// DumpByFileDescriptor method
  fn dump_by_file_descriptor(&self) -> zbus::Result<zbus::OwnedFd>;

  /// DumpUnitsMatchingPatternsByFileDescriptor method
  fn dump_units_matching_patterns_by_file_descriptor(
    &self,
    patterns: &[&str],
  ) -> zbus::Result<zbus::OwnedFd>;

  /// Reload method
  fn reload(&self) -> zbus::Result<()>;

  /// Reexecute method
  fn reexecute(&self) -> zbus::Result<()>;

  /// Exit method
  fn exit(&self) -> zbus::Result<()>;

  /// Reboot method
  fn reboot(&self) -> zbus::Result<()>;

  /// SoftReboot method
  fn soft_reboot(&self, new_root: &str) -> zbus::Result<()>;

  /// PowerOff method
  fn power_off(&self) -> zbus::Result<()>;

  /// Halt method
  fn halt(&self) -> zbus::Result<()>;

  /// KExec method
  #[zbus(name = "KExec")]
  fn kexec(&self) -> zbus::Result<()>;

  /// SwitchRoot method
  fn switch_root(&self, new_root: &str, init: &str) -> zbus::Result<()>;

  /// SetEnvironment method
  fn set_environment(&self, assignments: &[&str]) -> zbus::Result<()>;

  /// UnsetEnvironment method
  fn unset_environment(&self, names: &[&str]) -> zbus::Result<()>;

  /// UnsetAndSetEnvironment method
  fn unset_and_set_environment(&self, names: &[&str], assignments: &[&str]) -> zbus::Result<()>;

  /// EnqueueMarkedJobs method
  fn enqueue_marked_jobs(&self) -> zbus::Result<Vec<zbus::OwnedObjectPath>>;

  /// ListUnitFiles method
  fn list_unit_files(&self) -> zbus::Result<Vec<(String, String)>>;

  /// ListUnitFilesByPatterns method
  fn list_unit_files_by_patterns(
    &self,
    states: &[&str],
    patterns: &[&str],
  ) -> zbus::Result<Vec<(String, String)>>;

  /// GetUnitFileState method
  fn get_unit_file_state(&self, file: &str) -> zbus::Result<String>;

  /// EnableUnitFiles method
  fn enable_unit_files(
    &self,
    files: &[&str],
    runtime: bool,
    force: bool,
  ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;

  /// DisableUnitFiles method
  fn disable_unit_files(
    &self,
    files: &[&str],
    runtime: bool,
  ) -> zbus::Result<Vec<(String, String, String)>>;

  /// EnableUnitFilesWithFlags method
  fn enable_unit_files_with_flags(
    &self,
    files: &[&str],
    flags: u64,
  ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;

  /// DisableUnitFilesWithFlags method
  fn disable_unit_files_with_flags(
    &self,
    files: &[&str],
    flags: u64,
  ) -> zbus::Result<Vec<(String, String, String)>>;

  /// DisableUnitFilesWithFlagsAndInstallInfo method
  fn disable_unit_files_with_flags_and_install_info(
    &self,
    files: &[&str],
    flags: u64,
  ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;

  /// ReenableUnitFiles method
  fn reenable_unit_files(
    &self,
    files: &[&str],
    runtime: bool,
    force: bool,
  ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;

  /// LinkUnitFiles method
  fn link_unit_files(
    &self,
    files: &[&str],
    runtime: bool,
    force: bool,
  ) -> zbus::Result<Vec<(String, String, String)>>;

  /// PresetUnitFiles method
  fn preset_unit_files(
    &self,
    files: &[&str],
    runtime: bool,
    force: bool,
  ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;

  /// PresetUnitFilesWithMode method
  fn preset_unit_files_with_mode(
    &self,
    files: &[&str],
    mode: &str,
    runtime: bool,
    force: bool,
  ) -> zbus::Result<(bool, Vec<(String, String, String)>)>;

  /// MaskUnitFiles method
  fn mask_unit_files(
    &self,
    files: &[&str],
    runtime: bool,
    force: bool,
  ) -> zbus::Result<Vec<(String, String, String)>>;

  /// UnmaskUnitFiles method
  fn unmask_unit_files(
    &self,
    files: &[&str],
    runtime: bool,
  ) -> zbus::Result<Vec<(String, String, String)>>;

  /// RevertUnitFiles method
  fn revert_unit_files(&self, files: &[&str]) -> zbus::Result<Vec<(String, String, String)>>;

  /// SetDefaultTarget method
  fn set_default_target(
    &self,
    name: &str,
    force: bool,
  ) -> zbus::Result<Vec<(String, String, String)>>;

  /// GetDefaultTarget method
  fn get_default_target(&self) -> zbus::Result<String>;

  /// PresetAllUnitFiles method
  fn preset_all_unit_files(
    &self,
    mode: &str,
    runtime: bool,
    force: bool,
  ) -> zbus::Result<Vec<(String, String, String)>>;

  /// AddDependencyUnitFiles method
  fn add_dependency_unit_files(
    &self,
    files: &[&str],
    target: &str,
    type_: &str,
    runtime: bool,
    force: bool,
  ) -> zbus::Result<Vec<(String, String, String)>>;

  /// GetUnitFileLinks method
  fn get_unit_file_links(&self, name: &str, runtime: bool) -> zbus::Result<Vec<String>>;

  /// SetExitCode method
  fn set_exit_code(&self, number: u8) -> zbus::Result<()>;

  /// LookupDynamicUserByName method
  fn lookup_dynamic_user_by_name(&self, name: &str) -> zbus::Result<u32>;

  /// LookupDynamicUserByUID method
  #[zbus(name = "LookupDynamicUserByUID")]
  fn lookup_dynamic_user_by_uid(&self, uid: u32) -> zbus::Result<String>;

  /// GetDynamicUsers method
  fn get_dynamic_users(&self) -> zbus::Result<Vec<(u32, String)>>;

  /// DumpUnitFileDescriptorStore method
  fn dump_unit_file_descriptor_store(
    &self,
    name: &str,
  ) -> zbus::Result<Vec<(String, u32, u32, u32, u64, u32, u32, String, u32)>>;

  /// UnitNew signal
  #[zbus(signal)]
  fn unit_new(&self, id: &str, unit: zbus::ObjectPath<'_>) -> zbus::Result<()>;

  /// UnitRemoved signal
  #[zbus(signal)]
  fn unit_removed(&self, id: &str, unit: zbus::ObjectPath<'_>) -> zbus::Result<()>;

  /// JobNew signal
  #[zbus(signal)]
  fn job_new(&self, id: u32, job: zbus::ObjectPath<'_>, unit: &str) -> zbus::Result<()>;

  /// JobRemoved signal
  #[zbus(signal)]
  fn job_removed(
    &self,
    id: u32,
    job: zbus::ObjectPath<'_>,
    unit: &str,
    result: &str,
  ) -> zbus::Result<()>;

  /// StartupFinished signal
  #[zbus(signal)]
  fn startup_finished(
    &self,
    firmware: u64,
    loader: u64,
    kernel: u64,
    initrd: u64,
    userspace: u64,
    total: u64,
  ) -> zbus::Result<()>;

  /// UnitFilesChanged signal
  #[zbus(signal)]
  fn unit_files_changed(&self) -> zbus::Result<()>;

  /// Reloading signal
  #[zbus(signal)]
  fn reloading(&self, active: bool) -> zbus::Result<()>;
}