use crate::zbus::proxy;
#[proxy(
interface = "org.freedesktop.systemd1.Manager",
gen_blocking = false,
default_service = "org.freedesktop.systemd1",
default_path = "/org/freedesktop/systemd1"
)]
pub trait Manager {
#[zbus(name = "GetUnit")]
fn get_unit(&self, name: String) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "GetUnitByPID")]
fn get_unit_by_pid(&self, pid: u32) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "GetUnitByInvocationID")]
fn get_unit_by_invocation_id(
&self,
invocation_id: Vec<u8>,
) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "GetUnitByControlGroup")]
fn get_unit_by_control_group(
&self,
cgroup: String,
) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "GetUnitByPIDFD")]
fn get_unit_by_pidfd(
&self,
pidfd: crate::zvariant::OwnedFd,
) -> crate::zbus::Result<(crate::zvariant::OwnedObjectPath, String, Vec<u8>)>;
#[zbus(name = "LoadUnit")]
fn load_unit(&self, name: String) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "StartUnit")]
fn start_unit(
&self,
name: String,
mode: String,
) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "StartUnitWithFlags")]
fn start_unit_with_flags(
&self,
name: String,
mode: String,
flags: u64,
) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "StartUnitReplace")]
fn start_unit_replace(
&self,
old_unit: String,
new_unit: String,
mode: String,
) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "StopUnit")]
fn stop_unit(
&self,
name: String,
mode: String,
) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "ReloadUnit")]
fn reload_unit(
&self,
name: String,
mode: String,
) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "RestartUnit")]
fn restart_unit(
&self,
name: String,
mode: String,
) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "TryRestartUnit")]
fn try_restart_unit(
&self,
name: String,
mode: String,
) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "ReloadOrRestartUnit")]
fn reload_or_restart_unit(
&self,
name: String,
mode: String,
) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "ReloadOrTryRestartUnit")]
fn reload_or_try_restart_unit(
&self,
name: String,
mode: String,
) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "EnqueueUnitJob")]
fn enqueue_unit_job(
&self,
name: String,
job_type: String,
job_mode: String,
) -> crate::zbus::Result<(
u32,
crate::zvariant::OwnedObjectPath,
String,
crate::zvariant::OwnedObjectPath,
String,
Vec<(
u32,
crate::zvariant::OwnedObjectPath,
String,
crate::zvariant::OwnedObjectPath,
String,
)>,
)>;
#[zbus(name = "KillUnit")]
fn kill_unit(&self, name: String, whom: String, signal: i32) -> crate::zbus::Result<()>;
#[zbus(name = "KillUnitSubgroup")]
fn kill_unit_subgroup(
&self,
name: String,
whom: String,
subgroup: String,
signal: i32,
) -> crate::zbus::Result<()>;
#[zbus(name = "QueueSignalUnit")]
fn queue_signal_unit(
&self,
name: String,
whom: String,
signal: i32,
value: i32,
) -> crate::zbus::Result<()>;
#[zbus(name = "CleanUnit")]
fn clean_unit(&self, name: String, mask: Vec<String>) -> crate::zbus::Result<()>;
#[zbus(name = "FreezeUnit")]
fn freeze_unit(&self, name: String) -> crate::zbus::Result<()>;
#[zbus(name = "ThawUnit")]
fn thaw_unit(&self, name: String) -> crate::zbus::Result<()>;
#[zbus(name = "ResetFailedUnit")]
fn reset_failed_unit(&self, name: String) -> crate::zbus::Result<()>;
#[zbus(name = "SetUnitProperties")]
fn set_unit_properties(
&self,
name: String,
runtime: bool,
properties: Vec<(String, crate::zvariant::OwnedValue)>,
) -> crate::zbus::Result<()>;
#[zbus(name = "BindMountUnit")]
fn bind_mount_unit(
&self,
name: String,
source: String,
destination: String,
read_only: bool,
mkdir: bool,
) -> crate::zbus::Result<()>;
#[zbus(name = "MountImageUnit")]
fn mount_image_unit(
&self,
name: String,
source: String,
destination: String,
read_only: bool,
mkdir: bool,
options: Vec<(String, String)>,
) -> crate::zbus::Result<()>;
#[zbus(name = "RefUnit")]
fn ref_unit(&self, name: String) -> crate::zbus::Result<()>;
#[zbus(name = "UnrefUnit")]
fn unref_unit(&self, name: String) -> crate::zbus::Result<()>;
#[zbus(name = "StartTransientUnit")]
fn start_transient_unit(
&self,
name: String,
mode: String,
properties: Vec<(String, crate::zvariant::OwnedValue)>,
aux: Vec<(String, Vec<(String, crate::zvariant::OwnedValue)>)>,
) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "GetUnitProcesses")]
fn get_unit_processes(&self, name: String) -> crate::zbus::Result<Vec<(String, u32, String)>>;
#[zbus(name = "AttachProcessesToUnit")]
fn attach_processes_to_unit(
&self,
unit_name: String,
subcgroup: String,
pids: Vec<u32>,
) -> crate::zbus::Result<()>;
#[zbus(name = "RemoveSubgroupFromUnit")]
fn remove_subgroup_from_unit(
&self,
unit_name: String,
subcgroup: String,
flags: u64,
) -> crate::zbus::Result<()>;
#[zbus(name = "AbandonScope")]
fn abandon_scope(&self, name: String) -> crate::zbus::Result<()>;
#[zbus(name = "GetJob")]
fn get_job(&self, id: u32) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "GetJobAfter")]
fn get_job_after(
&self,
id: u32,
) -> crate::zbus::Result<
Vec<(
u32,
String,
String,
String,
crate::zvariant::OwnedObjectPath,
crate::zvariant::OwnedObjectPath,
)>,
>;
#[zbus(name = "GetJobBefore")]
fn get_job_before(
&self,
id: u32,
) -> crate::zbus::Result<
Vec<(
u32,
String,
String,
String,
crate::zvariant::OwnedObjectPath,
crate::zvariant::OwnedObjectPath,
)>,
>;
#[zbus(name = "CancelJob")]
fn cancel_job(&self, id: u32) -> crate::zbus::Result<()>;
#[zbus(name = "ClearJobs")]
fn clear_jobs(&self) -> crate::zbus::Result<()>;
#[zbus(name = "ResetFailed")]
fn reset_failed(&self) -> crate::zbus::Result<()>;
#[zbus(name = "SetShowStatus")]
fn set_show_status(&self, mode: String) -> crate::zbus::Result<()>;
#[zbus(name = "ListUnits")]
fn list_units(
&self,
) -> crate::zbus::Result<
Vec<(
String,
String,
String,
String,
String,
String,
crate::zvariant::OwnedObjectPath,
u32,
String,
crate::zvariant::OwnedObjectPath,
)>,
>;
#[zbus(name = "ListUnitsFiltered")]
fn list_units_filtered(
&self,
states: Vec<String>,
) -> crate::zbus::Result<
Vec<(
String,
String,
String,
String,
String,
String,
crate::zvariant::OwnedObjectPath,
u32,
String,
crate::zvariant::OwnedObjectPath,
)>,
>;
#[zbus(name = "ListUnitsByPatterns")]
fn list_units_by_patterns(
&self,
states: Vec<String>,
patterns: Vec<String>,
) -> crate::zbus::Result<
Vec<(
String,
String,
String,
String,
String,
String,
crate::zvariant::OwnedObjectPath,
u32,
String,
crate::zvariant::OwnedObjectPath,
)>,
>;
#[zbus(name = "ListUnitsByNames")]
fn list_units_by_names(
&self,
names: Vec<String>,
) -> crate::zbus::Result<
Vec<(
String,
String,
String,
String,
String,
String,
crate::zvariant::OwnedObjectPath,
u32,
String,
crate::zvariant::OwnedObjectPath,
)>,
>;
#[zbus(name = "ListJobs")]
fn list_jobs(
&self,
) -> crate::zbus::Result<
Vec<(
u32,
String,
String,
String,
crate::zvariant::OwnedObjectPath,
crate::zvariant::OwnedObjectPath,
)>,
>;
#[zbus(name = "Subscribe")]
fn subscribe(&self) -> crate::zbus::Result<()>;
#[zbus(name = "Unsubscribe")]
fn unsubscribe(&self) -> crate::zbus::Result<()>;
#[zbus(name = "Dump")]
fn dump(&self) -> crate::zbus::Result<String>;
#[zbus(name = "DumpUnitsMatchingPatterns")]
fn dump_units_matching_patterns(&self, patterns: Vec<String>) -> crate::zbus::Result<String>;
#[zbus(name = "DumpByFileDescriptor")]
fn dump_by_file_descriptor(&self) -> crate::zbus::Result<crate::zvariant::OwnedFd>;
#[zbus(name = "DumpUnitsMatchingPatternsByFileDescriptor")]
fn dump_units_matching_patterns_by_file_descriptor(
&self,
patterns: Vec<String>,
) -> crate::zbus::Result<crate::zvariant::OwnedFd>;
#[zbus(name = "Reload")]
fn reload(&self) -> crate::zbus::Result<()>;
#[zbus(name = "Reexecute")]
fn reexecute(&self) -> crate::zbus::Result<()>;
#[zbus(name = "Exit")]
fn exit(&self) -> crate::zbus::Result<()>;
#[zbus(name = "Reboot")]
fn reboot(&self) -> crate::zbus::Result<()>;
#[zbus(name = "SoftReboot")]
fn soft_reboot(&self, new_root: String) -> crate::zbus::Result<()>;
#[zbus(name = "PowerOff")]
fn power_off(&self) -> crate::zbus::Result<()>;
#[zbus(name = "Halt")]
fn halt(&self) -> crate::zbus::Result<()>;
#[zbus(name = "KExec")]
fn k_exec(&self) -> crate::zbus::Result<()>;
#[zbus(name = "SwitchRoot")]
fn switch_root(&self, new_root: String, init: String) -> crate::zbus::Result<()>;
#[zbus(name = "SetEnvironment")]
fn set_environment(&self, assignments: Vec<String>) -> crate::zbus::Result<()>;
#[zbus(name = "UnsetEnvironment")]
fn unset_environment(&self, names: Vec<String>) -> crate::zbus::Result<()>;
#[zbus(name = "UnsetAndSetEnvironment")]
fn unset_and_set_environment(
&self,
names: Vec<String>,
assignments: Vec<String>,
) -> crate::zbus::Result<()>;
#[zbus(name = "EnqueueMarkedJobs")]
fn enqueue_marked_jobs(&self) -> crate::zbus::Result<Vec<crate::zvariant::OwnedObjectPath>>;
#[zbus(name = "ListUnitFiles")]
fn list_unit_files(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(name = "ListUnitFilesByPatterns")]
fn list_unit_files_by_patterns(
&self,
states: Vec<String>,
patterns: Vec<String>,
) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(name = "GetUnitFileState")]
fn get_unit_file_state(&self, file: String) -> crate::zbus::Result<String>;
#[zbus(name = "EnableUnitFiles")]
fn enable_unit_files(
&self,
files: Vec<String>,
runtime: bool,
force: bool,
) -> crate::zbus::Result<(bool, Vec<(String, String, String)>)>;
#[zbus(name = "DisableUnitFiles")]
fn disable_unit_files(
&self,
files: Vec<String>,
runtime: bool,
) -> crate::zbus::Result<Vec<(String, String, String)>>;
#[zbus(name = "EnableUnitFilesWithFlags")]
fn enable_unit_files_with_flags(
&self,
files: Vec<String>,
flags: u64,
) -> crate::zbus::Result<(bool, Vec<(String, String, String)>)>;
#[zbus(name = "DisableUnitFilesWithFlags")]
fn disable_unit_files_with_flags(
&self,
files: Vec<String>,
flags: u64,
) -> crate::zbus::Result<Vec<(String, String, String)>>;
#[zbus(name = "DisableUnitFilesWithFlagsAndInstallInfo")]
fn disable_unit_files_with_flags_and_install_info(
&self,
files: Vec<String>,
flags: u64,
) -> crate::zbus::Result<(bool, Vec<(String, String, String)>)>;
#[zbus(name = "ReenableUnitFiles")]
fn reenable_unit_files(
&self,
files: Vec<String>,
runtime: bool,
force: bool,
) -> crate::zbus::Result<(bool, Vec<(String, String, String)>)>;
#[zbus(name = "LinkUnitFiles")]
fn link_unit_files(
&self,
files: Vec<String>,
runtime: bool,
force: bool,
) -> crate::zbus::Result<Vec<(String, String, String)>>;
#[zbus(name = "PresetUnitFiles")]
fn preset_unit_files(
&self,
files: Vec<String>,
runtime: bool,
force: bool,
) -> crate::zbus::Result<(bool, Vec<(String, String, String)>)>;
#[zbus(name = "PresetUnitFilesWithMode")]
fn preset_unit_files_with_mode(
&self,
files: Vec<String>,
mode: String,
runtime: bool,
force: bool,
) -> crate::zbus::Result<(bool, Vec<(String, String, String)>)>;
#[zbus(name = "MaskUnitFiles")]
fn mask_unit_files(
&self,
files: Vec<String>,
runtime: bool,
force: bool,
) -> crate::zbus::Result<Vec<(String, String, String)>>;
#[zbus(name = "UnmaskUnitFiles")]
fn unmask_unit_files(
&self,
files: Vec<String>,
runtime: bool,
) -> crate::zbus::Result<Vec<(String, String, String)>>;
#[zbus(name = "RevertUnitFiles")]
fn revert_unit_files(
&self,
files: Vec<String>,
) -> crate::zbus::Result<Vec<(String, String, String)>>;
#[zbus(name = "SetDefaultTarget")]
fn set_default_target(
&self,
name: String,
force: bool,
) -> crate::zbus::Result<Vec<(String, String, String)>>;
#[zbus(name = "GetDefaultTarget")]
fn get_default_target(&self) -> crate::zbus::Result<String>;
#[zbus(name = "PresetAllUnitFiles")]
fn preset_all_unit_files(
&self,
mode: String,
runtime: bool,
force: bool,
) -> crate::zbus::Result<Vec<(String, String, String)>>;
#[zbus(name = "AddDependencyUnitFiles")]
fn add_dependency_unit_files(
&self,
files: Vec<String>,
target: String,
arg_type: String,
runtime: bool,
force: bool,
) -> crate::zbus::Result<Vec<(String, String, String)>>;
#[zbus(name = "GetUnitFileLinks")]
fn get_unit_file_links(&self, name: String, runtime: bool) -> crate::zbus::Result<Vec<String>>;
#[zbus(name = "SetExitCode")]
fn set_exit_code(&self, number: u8) -> crate::zbus::Result<()>;
#[zbus(name = "LookupDynamicUserByName")]
fn lookup_dynamic_user_by_name(&self, name: String) -> crate::zbus::Result<u32>;
#[zbus(name = "LookupDynamicUserByUID")]
fn lookup_dynamic_user_by_uid(&self, uid: u32) -> crate::zbus::Result<String>;
#[zbus(name = "GetDynamicUsers")]
fn get_dynamic_users(&self) -> crate::zbus::Result<Vec<(u32, String)>>;
#[zbus(name = "DumpUnitFileDescriptorStore")]
fn dump_unit_file_descriptor_store(
&self,
name: String,
) -> crate::zbus::Result<Vec<(String, u32, u32, u32, u64, u32, u32, String, u32)>>;
#[zbus(signal, name = "UnitNew")]
fn unit_new(
&self,
id: String,
unit: crate::zvariant::OwnedObjectPath,
) -> crate::zbus::Result<()>;
#[zbus(signal, name = "UnitRemoved")]
fn unit_removed(
&self,
id: String,
unit: crate::zvariant::OwnedObjectPath,
) -> crate::zbus::Result<()>;
#[zbus(signal, name = "JobNew")]
fn job_new(
&self,
id: u32,
job: crate::zvariant::OwnedObjectPath,
unit: String,
) -> crate::zbus::Result<()>;
#[zbus(signal, name = "JobRemoved")]
fn job_removed(
&self,
id: u32,
job: crate::zvariant::OwnedObjectPath,
unit: String,
result: String,
) -> crate::zbus::Result<()>;
#[zbus(signal, name = "StartupFinished")]
fn startup_finished(
&self,
firmware: u64,
loader: u64,
kernel: u64,
initrd: u64,
userspace: u64,
total: u64,
) -> crate::zbus::Result<()>;
#[zbus(signal, name = "UnitFilesChanged")]
fn unit_files_changed(&self) -> crate::zbus::Result<()>;
#[zbus(signal, name = "Reloading")]
fn reloading(&self, active: bool) -> crate::zbus::Result<()>;
#[zbus(property(emits_changed_signal = "const"), name = "Version")]
fn version(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "Features")]
fn features(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "Virtualization")]
fn virtualization(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ConfidentialVirtualization"
)]
fn confidential_virtualization(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "Architecture")]
fn architecture(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "Tainted")]
fn tainted(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "FirmwareTimestamp")]
fn firmware_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "FirmwareTimestampMonotonic"
)]
fn firmware_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LoaderTimestamp")]
fn loader_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LoaderTimestampMonotonic"
)]
fn loader_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "KernelTimestamp")]
fn kernel_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "KernelTimestampMonotonic"
)]
fn kernel_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "InitRDTimestamp")]
fn init_rd_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "InitRDTimestampMonotonic"
)]
fn init_rd_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "UserspaceTimestamp")]
fn userspace_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "UserspaceTimestampMonotonic"
)]
fn userspace_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "FinishTimestamp")]
fn finish_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "FinishTimestampMonotonic"
)]
fn finish_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ShutdownStartTimestamp"
)]
fn shutdown_start_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ShutdownStartTimestampMonotonic"
)]
fn shutdown_start_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SecurityStartTimestamp"
)]
fn security_start_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SecurityStartTimestampMonotonic"
)]
fn security_start_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SecurityFinishTimestamp"
)]
fn security_finish_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SecurityFinishTimestampMonotonic"
)]
fn security_finish_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "GeneratorsStartTimestamp"
)]
fn generators_start_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "GeneratorsStartTimestampMonotonic"
)]
fn generators_start_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "GeneratorsFinishTimestamp"
)]
fn generators_finish_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "GeneratorsFinishTimestampMonotonic"
)]
fn generators_finish_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "UnitsLoadStartTimestamp"
)]
fn units_load_start_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "UnitsLoadStartTimestampMonotonic"
)]
fn units_load_start_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "UnitsLoadFinishTimestamp"
)]
fn units_load_finish_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "UnitsLoadFinishTimestampMonotonic"
)]
fn units_load_finish_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "UnitsLoadTimestamp")]
fn units_load_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "UnitsLoadTimestampMonotonic"
)]
fn units_load_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "InitRDSecurityStartTimestamp"
)]
fn init_rd_security_start_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "InitRDSecurityStartTimestampMonotonic"
)]
fn init_rd_security_start_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "InitRDSecurityFinishTimestamp"
)]
fn init_rd_security_finish_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "InitRDSecurityFinishTimestampMonotonic"
)]
fn init_rd_security_finish_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "InitRDGeneratorsStartTimestamp"
)]
fn init_rd_generators_start_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "InitRDGeneratorsStartTimestampMonotonic"
)]
fn init_rd_generators_start_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "InitRDGeneratorsFinishTimestamp"
)]
fn init_rd_generators_finish_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "InitRDGeneratorsFinishTimestampMonotonic"
)]
fn init_rd_generators_finish_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "InitRDUnitsLoadStartTimestamp"
)]
fn init_rd_units_load_start_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "InitRDUnitsLoadStartTimestampMonotonic"
)]
fn init_rd_units_load_start_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "InitRDUnitsLoadFinishTimestamp"
)]
fn init_rd_units_load_finish_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "InitRDUnitsLoadFinishTimestampMonotonic"
)]
fn init_rd_units_load_finish_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "LogLevel")]
fn log_level(&self) -> crate::zbus::Result<String>;
#[zbus(property, name = "LogLevel")]
fn set_property_log_level(&self, new_value: String) -> crate::zbus::Result<()>;
#[zbus(property(emits_changed_signal = "false"), name = "LogTarget")]
fn log_target(&self) -> crate::zbus::Result<String>;
#[zbus(property, name = "LogTarget")]
fn set_property_log_target(&self, new_value: String) -> crate::zbus::Result<()>;
#[zbus(property(emits_changed_signal = "false"), name = "NNames")]
fn n_names(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "true"), name = "NFailedUnits")]
fn n_failed_units(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "false"), name = "NJobs")]
fn n_jobs(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "false"), name = "NInstalledJobs")]
fn n_installed_jobs(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "false"), name = "NFailedJobs")]
fn n_failed_jobs(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "false"),
name = "TransactionsWithOrderingCycle"
)]
fn transactions_with_ordering_cycle(&self) -> crate::zbus::Result<Vec<u64>>;
#[zbus(property(emits_changed_signal = "false"), name = "Progress")]
fn progress(&self) -> crate::zbus::Result<f64>;
#[zbus(property(emits_changed_signal = "false"), name = "Environment")]
fn environment(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ConfirmSpawn")]
fn confirm_spawn(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "ShowStatus")]
fn show_status(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "UnitPath")]
fn unit_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultStandardOutput"
)]
fn default_standard_output(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultStandardError"
)]
fn default_standard_error(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "WatchdogDevice")]
fn watchdog_device(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "WatchdogLastPingTimestamp"
)]
fn watchdog_last_ping_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "WatchdogLastPingTimestampMonotonic"
)]
fn watchdog_last_ping_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "RuntimeWatchdogUSec")]
fn runtime_watchdog_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property, name = "RuntimeWatchdogUSec")]
fn set_property_runtime_watchdog_u_sec(&self, new_value: u64) -> crate::zbus::Result<()>;
#[zbus(
property(emits_changed_signal = "false"),
name = "RuntimeWatchdogPreUSec"
)]
fn runtime_watchdog_pre_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property, name = "RuntimeWatchdogPreUSec")]
fn set_property_runtime_watchdog_pre_u_sec(&self, new_value: u64) -> crate::zbus::Result<()>;
#[zbus(
property(emits_changed_signal = "false"),
name = "RuntimeWatchdogPreGovernor"
)]
fn runtime_watchdog_pre_governor(&self) -> crate::zbus::Result<String>;
#[zbus(property, name = "RuntimeWatchdogPreGovernor")]
fn set_property_runtime_watchdog_pre_governor(
&self,
new_value: String,
) -> crate::zbus::Result<()>;
#[zbus(property(emits_changed_signal = "false"), name = "RebootWatchdogUSec")]
fn reboot_watchdog_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property, name = "RebootWatchdogUSec")]
fn set_property_reboot_watchdog_u_sec(&self, new_value: u64) -> crate::zbus::Result<()>;
#[zbus(property(emits_changed_signal = "false"), name = "KExecWatchdogUSec")]
fn k_exec_watchdog_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property, name = "KExecWatchdogUSec")]
fn set_property_k_exec_watchdog_u_sec(&self, new_value: u64) -> crate::zbus::Result<()>;
#[zbus(property(emits_changed_signal = "false"), name = "ServiceWatchdogs")]
fn service_watchdogs(&self) -> crate::zbus::Result<bool>;
#[zbus(property, name = "ServiceWatchdogs")]
fn set_property_service_watchdogs(&self, new_value: bool) -> crate::zbus::Result<()>;
#[zbus(property(emits_changed_signal = "false"), name = "ControlGroup")]
fn control_group(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "SystemState")]
fn system_state(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "ExitCode")]
fn exit_code(&self) -> crate::zbus::Result<u8>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultTimerAccuracyUSec"
)]
fn default_timer_accuracy_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultTimeoutStartUSec"
)]
fn default_timeout_start_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultTimeoutStopUSec"
)]
fn default_timeout_stop_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "DefaultTimeoutAbortUSec"
)]
fn default_timeout_abort_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultDeviceTimeoutUSec"
)]
fn default_device_timeout_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultRestartUSec")]
fn default_restart_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultStartLimitIntervalUSec"
)]
fn default_start_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultStartLimitBurst"
)]
fn default_start_limit_burst(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultIOAccounting")]
fn default_io_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultIPAccounting")]
fn default_ip_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultMemoryAccounting"
)]
fn default_memory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultTasksAccounting"
)]
fn default_tasks_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitCPU")]
fn default_limit_cpu(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitCPUSoft")]
fn default_limit_cpu_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitFSIZE")]
fn default_limit_fsize(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultLimitFSIZESoft"
)]
fn default_limit_fsize_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitDATA")]
fn default_limit_data(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultLimitDATASoft"
)]
fn default_limit_data_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitSTACK")]
fn default_limit_stack(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultLimitSTACKSoft"
)]
fn default_limit_stack_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitCORE")]
fn default_limit_core(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultLimitCORESoft"
)]
fn default_limit_core_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitRSS")]
fn default_limit_rss(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitRSSSoft")]
fn default_limit_rss_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitNOFILE")]
fn default_limit_nofile(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultLimitNOFILESoft"
)]
fn default_limit_nofile_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitAS")]
fn default_limit_as(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitASSoft")]
fn default_limit_as_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitNPROC")]
fn default_limit_nproc(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultLimitNPROCSoft"
)]
fn default_limit_nproc_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitMEMLOCK")]
fn default_limit_memlock(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultLimitMEMLOCKSoft"
)]
fn default_limit_memlock_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitLOCKS")]
fn default_limit_locks(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultLimitLOCKSSoft"
)]
fn default_limit_locks_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultLimitSIGPENDING"
)]
fn default_limit_sigpending(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultLimitSIGPENDINGSoft"
)]
fn default_limit_sigpending_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultLimitMSGQUEUE"
)]
fn default_limit_msgqueue(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultLimitMSGQUEUESoft"
)]
fn default_limit_msgqueue_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitNICE")]
fn default_limit_nice(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultLimitNICESoft"
)]
fn default_limit_nice_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitRTPRIO")]
fn default_limit_rtprio(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultLimitRTPRIOSoft"
)]
fn default_limit_rtprio_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultLimitRTTIME")]
fn default_limit_rttime(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultLimitRTTIMESoft"
)]
fn default_limit_rttime_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "DefaultTasksMax")]
fn default_tasks_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "DefaultMemoryPressureThresholdUSec"
)]
fn default_memory_pressure_threshold_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "DefaultMemoryPressureWatch"
)]
fn default_memory_pressure_watch(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "TimerSlackNSec")]
fn timer_slack_n_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultOOMPolicy")]
fn default_oom_policy(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultOOMScoreAdjust"
)]
fn default_oom_score_adjust(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "DefaultRestrictSUIDSGID"
)]
fn default_restrict_suidsgid(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CtrlAltDelBurstAction"
)]
fn ctrl_alt_del_burst_action(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SoftRebootsCount")]
fn soft_reboots_count(&self) -> crate::zbus::Result<u32>;
}
#[proxy(
interface = "org.freedesktop.systemd1.Unit",
gen_blocking = false,
default_service = "org.freedesktop.systemd1",
assume_defaults = false
)]
pub trait Unit {
#[zbus(name = "Start")]
fn start(&self, mode: String) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "Stop")]
fn stop(&self, mode: String) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "Reload")]
fn reload(&self, mode: String) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "Restart")]
fn restart(&self, mode: String) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "TryRestart")]
fn try_restart(&self, mode: String) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "ReloadOrRestart")]
fn reload_or_restart(
&self,
mode: String,
) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "ReloadOrTryRestart")]
fn reload_or_try_restart(
&self,
mode: String,
) -> crate::zbus::Result<crate::zvariant::OwnedObjectPath>;
#[zbus(name = "EnqueueJob")]
fn enqueue_job(
&self,
job_type: String,
job_mode: String,
) -> crate::zbus::Result<(
u32,
crate::zvariant::OwnedObjectPath,
String,
crate::zvariant::OwnedObjectPath,
String,
Vec<(
u32,
crate::zvariant::OwnedObjectPath,
String,
crate::zvariant::OwnedObjectPath,
String,
)>,
)>;
#[zbus(name = "Kill")]
fn kill(&self, whom: String, signal: i32) -> crate::zbus::Result<()>;
#[zbus(name = "KillSubgroup")]
fn kill_subgroup(&self, subgroup: String, signal: i32) -> crate::zbus::Result<()>;
#[zbus(name = "QueueSignal")]
fn queue_signal(&self, whom: String, signal: i32, value: i32) -> crate::zbus::Result<()>;
#[zbus(name = "ResetFailed")]
fn reset_failed(&self) -> crate::zbus::Result<()>;
#[zbus(name = "SetProperties")]
fn set_properties(
&self,
runtime: bool,
properties: Vec<(String, crate::zvariant::OwnedValue)>,
) -> crate::zbus::Result<()>;
#[zbus(name = "Ref")]
fn reference(&self) -> crate::zbus::Result<()>;
#[zbus(name = "Unref")]
fn unref(&self) -> crate::zbus::Result<()>;
#[zbus(name = "Clean")]
fn clean(&self, mask: Vec<String>) -> crate::zbus::Result<()>;
#[zbus(name = "Freeze")]
fn freeze(&self) -> crate::zbus::Result<()>;
#[zbus(name = "Thaw")]
fn thaw(&self) -> crate::zbus::Result<()>;
#[zbus(property(emits_changed_signal = "const"), name = "Id")]
fn id(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "Names")]
fn names(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "Following")]
fn following(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "Requires")]
fn requires(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "Requisite")]
fn requisite(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "Wants")]
fn wants(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "BindsTo")]
fn binds_to(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "PartOf")]
fn part_of(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "Upholds")]
fn upholds(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "RequiredBy")]
fn required_by(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "RequisiteOf")]
fn requisite_of(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "WantedBy")]
fn wanted_by(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "BoundBy")]
fn bound_by(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "UpheldBy")]
fn upheld_by(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ConsistsOf")]
fn consists_of(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "Conflicts")]
fn conflicts(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ConflictedBy")]
fn conflicted_by(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "Before")]
fn before(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "After")]
fn after(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "OnSuccess")]
fn on_success(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "OnSuccessOf")]
fn on_success_of(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "OnFailure")]
fn on_failure(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "OnFailureOf")]
fn on_failure_of(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "Triggers")]
fn triggers(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "TriggeredBy")]
fn triggered_by(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "PropagatesReloadTo")]
fn propagates_reload_to(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ReloadPropagatedFrom"
)]
fn reload_propagated_from(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "PropagatesStopTo")]
fn propagates_stop_to(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "StopPropagatedFrom")]
fn stop_propagated_from(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "JoinsNamespaceOf")]
fn joins_namespace_of(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "SliceOf")]
fn slice_of(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "RequiresMountsFor")]
fn requires_mounts_for(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "WantsMountsFor")]
fn wants_mounts_for(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "Documentation")]
fn documentation(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "Description")]
fn description(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "AccessSELinuxContext"
)]
fn access_se_linux_context(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "LoadState")]
fn load_state(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "ActiveState")]
fn active_state(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "FreezerState")]
fn freezer_state(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "SubState")]
fn sub_state(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "FragmentPath")]
fn fragment_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SourcePath")]
fn source_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "DropInPaths")]
fn drop_in_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "UnitFileState")]
fn unit_file_state(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "UnitFilePreset")]
fn unit_file_preset(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "StateChangeTimestamp")]
fn state_change_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "true"),
name = "StateChangeTimestampMonotonic"
)]
fn state_change_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "true"),
name = "InactiveExitTimestamp"
)]
fn inactive_exit_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "true"),
name = "InactiveExitTimestampMonotonic"
)]
fn inactive_exit_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "true"), name = "ActiveEnterTimestamp")]
fn active_enter_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "true"),
name = "ActiveEnterTimestampMonotonic"
)]
fn active_enter_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "true"), name = "ActiveExitTimestamp")]
fn active_exit_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "true"),
name = "ActiveExitTimestampMonotonic"
)]
fn active_exit_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "true"),
name = "InactiveEnterTimestamp"
)]
fn inactive_enter_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "true"),
name = "InactiveEnterTimestampMonotonic"
)]
fn inactive_enter_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "CanStart")]
fn can_start(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "CanStop")]
fn can_stop(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "CanReload")]
fn can_reload(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "CanIsolate")]
fn can_isolate(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "CanClean")]
fn can_clean(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "CanFreeze")]
fn can_freeze(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "CanLiveMount")]
fn can_live_mount(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "true"), name = "Job")]
fn job(&self) -> crate::zbus::Result<(u32, crate::zvariant::OwnedObjectPath)>;
#[zbus(property(emits_changed_signal = "const"), name = "StopWhenUnneeded")]
fn stop_when_unneeded(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RefuseManualStart")]
fn refuse_manual_start(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RefuseManualStop")]
fn refuse_manual_stop(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "AllowIsolate")]
fn allow_isolate(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "DefaultDependencies")]
fn default_dependencies(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SurviveFinalKillSignal"
)]
fn survive_final_kill_signal(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "OnSuccessJobMode")]
fn on_success_job_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "OnFailureJobMode")]
fn on_failure_job_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "IgnoreOnIsolate")]
fn ignore_on_isolate(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "NeedDaemonReload")]
fn need_daemon_reload(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "Markers")]
fn markers(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "JobTimeoutUSec")]
fn job_timeout_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "JobRunningTimeoutUSec"
)]
fn job_running_timeout_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "JobTimeoutAction")]
fn job_timeout_action(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "JobTimeoutRebootArgument"
)]
fn job_timeout_reboot_argument(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "ConditionResult")]
fn condition_result(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "true"), name = "AssertResult")]
fn assert_result(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "true"), name = "ConditionTimestamp")]
fn condition_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "true"),
name = "ConditionTimestampMonotonic"
)]
fn condition_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "true"), name = "AssertTimestamp")]
fn assert_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "true"),
name = "AssertTimestampMonotonic"
)]
fn assert_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "Conditions")]
fn conditions(&self) -> crate::zbus::Result<Vec<(String, bool, bool, String, i32)>>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "Asserts")]
fn asserts(&self) -> crate::zbus::Result<Vec<(String, bool, bool, String, i32)>>;
#[zbus(property(emits_changed_signal = "const"), name = "LoadError")]
fn load_error(&self) -> crate::zbus::Result<(String, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "Transient")]
fn transient(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "Perpetual")]
fn perpetual(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StartLimitIntervalUSec"
)]
fn start_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "StartLimitBurst")]
fn start_limit_burst(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "StartLimitAction")]
fn start_limit_action(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "FailureAction")]
fn failure_action(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "FailureActionExitStatus"
)]
fn failure_action_exit_status(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SuccessAction")]
fn success_action(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SuccessActionExitStatus"
)]
fn success_action_exit_status(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "RebootArgument")]
fn reboot_argument(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "InvocationID")]
fn invocation_id(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "CollectMode")]
fn collect_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "Refs")]
fn refs(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "true"), name = "ActivationDetails")]
fn activation_details(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "DebugInvocation")]
fn debug_invocation(&self) -> crate::zbus::Result<bool>;
}
#[proxy(
interface = "org.freedesktop.systemd1.Service",
gen_blocking = false,
default_service = "org.freedesktop.systemd1",
assume_defaults = false
)]
pub trait Service {
#[zbus(name = "BindMount")]
fn bind_mount(
&self,
source: String,
destination: String,
read_only: bool,
mkdir: bool,
) -> crate::zbus::Result<()>;
#[zbus(name = "MountImage")]
fn mount_image(
&self,
source: String,
destination: String,
read_only: bool,
mkdir: bool,
options: Vec<(String, String)>,
) -> crate::zbus::Result<()>;
#[zbus(name = "DumpFileDescriptorStore")]
fn dump_file_descriptor_store(
&self,
) -> crate::zbus::Result<Vec<(String, u32, u32, u32, u64, u32, u32, String, u32)>>;
#[zbus(name = "GetProcesses")]
fn get_processes(&self) -> crate::zbus::Result<Vec<(String, u32, String)>>;
#[zbus(name = "AttachProcesses")]
fn attach_processes(&self, subcgroup: String, pids: Vec<u32>) -> crate::zbus::Result<()>;
#[zbus(name = "RemoveSubgroup")]
fn remove_subgroup(&self, subcgroup: String, flags: u64) -> crate::zbus::Result<()>;
#[zbus(property(emits_changed_signal = "const"), name = "Type")]
fn type_property(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ExitType")]
fn exit_type(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "Restart")]
fn restart(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RestartMode")]
fn restart_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "PIDFile")]
fn pid_file(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "NotifyAccess")]
fn notify_access(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RestartUSec")]
fn restart_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "RestartSteps")]
fn restart_steps(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "RestartMaxDelayUSec")]
fn restart_max_delay_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "RestartUSecNext")]
fn restart_u_sec_next(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "TimeoutStartUSec")]
fn timeout_start_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "TimeoutStopUSec")]
fn timeout_stop_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "TimeoutAbortUSec")]
fn timeout_abort_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "TimeoutStartFailureMode"
)]
fn timeout_start_failure_mode(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "TimeoutStopFailureMode"
)]
fn timeout_stop_failure_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RuntimeMaxUSec")]
fn runtime_max_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RuntimeRandomizedExtraUSec"
)]
fn runtime_randomized_extra_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "WatchdogUSec")]
fn watchdog_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "WatchdogTimestamp")]
fn watchdog_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "WatchdogTimestampMonotonic"
)]
fn watchdog_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RootDirectoryStartOnly"
)]
fn root_directory_start_only(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RemainAfterExit")]
fn remain_after_exit(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "GuessMainPID")]
fn guess_main_pid(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RestartPreventExitStatus"
)]
fn restart_prevent_exit_status(&self) -> crate::zbus::Result<(Vec<i32>, Vec<i32>)>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RestartForceExitStatus"
)]
fn restart_force_exit_status(&self) -> crate::zbus::Result<(Vec<i32>, Vec<i32>)>;
#[zbus(property(emits_changed_signal = "const"), name = "SuccessExitStatus")]
fn success_exit_status(&self) -> crate::zbus::Result<(Vec<i32>, Vec<i32>)>;
#[zbus(property(emits_changed_signal = "true"), name = "MainPID")]
fn main_pid(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "true"), name = "ControlPID")]
fn control_pid(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "BusName")]
fn bus_name(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "FileDescriptorStoreMax"
)]
fn file_descriptor_store_max(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "false"),
name = "NFileDescriptorStore"
)]
fn n_file_descriptor_store(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "false"),
name = "FileDescriptorStorePreserve"
)]
fn file_descriptor_store_preserve(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "StatusText")]
fn status_text(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "StatusErrno")]
fn status_errno(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "true"), name = "StatusBusError")]
fn status_bus_error(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "StatusVarlinkError")]
fn status_varlink_error(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "Result")]
fn result(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "ReloadResult")]
fn reload_result(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "CleanResult")]
fn clean_result(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "LiveMountResult")]
fn live_mount_result(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "USBFunctionDescriptors"
)]
fn usb_function_descriptors(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "USBFunctionStrings")]
fn usb_function_strings(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "UID")]
fn uid(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "true"), name = "GID")]
fn gid(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "true"), name = "NRestarts")]
fn n_restarts(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "OOMPolicy")]
fn oom_policy(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "OpenFile")]
fn open_file(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ExtraFileDescriptorNames"
)]
fn extra_file_descriptor_names(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ReloadSignal")]
fn reload_signal(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "RefreshOnReload")]
fn refresh_on_reload(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "true"),
name = "ExecMainStartTimestamp"
)]
fn exec_main_start_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "true"),
name = "ExecMainStartTimestampMonotonic"
)]
fn exec_main_start_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "true"),
name = "ExecMainExitTimestamp"
)]
fn exec_main_exit_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "true"),
name = "ExecMainExitTimestampMonotonic"
)]
fn exec_main_exit_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "true"),
name = "ExecMainHandoffTimestamp"
)]
fn exec_main_handoff_timestamp(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "true"),
name = "ExecMainHandoffTimestampMonotonic"
)]
fn exec_main_handoff_timestamp_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "true"), name = "ExecMainPID")]
fn exec_main_pid(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "true"), name = "ExecMainCode")]
fn exec_main_code(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "true"), name = "ExecMainStatus")]
fn exec_main_status(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecCondition")]
fn exec_condition(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(
property(emits_changed_signal = "invalidates"),
name = "ExecConditionEx"
)]
fn exec_condition_ex(
&self,
) -> crate::zbus::Result<
Vec<(
String,
Vec<String>,
Vec<String>,
u64,
u64,
u64,
u64,
u32,
i32,
i32,
)>,
>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStartPre")]
fn exec_start_pre(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(
property(emits_changed_signal = "invalidates"),
name = "ExecStartPreEx"
)]
fn exec_start_pre_ex(
&self,
) -> crate::zbus::Result<
Vec<(
String,
Vec<String>,
Vec<String>,
u64,
u64,
u64,
u64,
u32,
i32,
i32,
)>,
>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStart")]
fn exec_start(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStartEx")]
fn exec_start_ex(
&self,
) -> crate::zbus::Result<
Vec<(
String,
Vec<String>,
Vec<String>,
u64,
u64,
u64,
u64,
u32,
i32,
i32,
)>,
>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStartPost")]
fn exec_start_post(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(
property(emits_changed_signal = "invalidates"),
name = "ExecStartPostEx"
)]
fn exec_start_post_ex(
&self,
) -> crate::zbus::Result<
Vec<(
String,
Vec<String>,
Vec<String>,
u64,
u64,
u64,
u64,
u32,
i32,
i32,
)>,
>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecReload")]
fn exec_reload(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecReloadEx")]
fn exec_reload_ex(
&self,
) -> crate::zbus::Result<
Vec<(
String,
Vec<String>,
Vec<String>,
u64,
u64,
u64,
u64,
u32,
i32,
i32,
)>,
>;
#[zbus(
property(emits_changed_signal = "invalidates"),
name = "ExecReloadPost"
)]
fn exec_reload_post(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(
property(emits_changed_signal = "invalidates"),
name = "ExecReloadPostEx"
)]
fn exec_reload_post_ex(
&self,
) -> crate::zbus::Result<
Vec<(
String,
Vec<String>,
Vec<String>,
u64,
u64,
u64,
u64,
u32,
i32,
i32,
)>,
>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStop")]
fn exec_stop(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStopEx")]
fn exec_stop_ex(
&self,
) -> crate::zbus::Result<
Vec<(
String,
Vec<String>,
Vec<String>,
u64,
u64,
u64,
u64,
u32,
i32,
i32,
)>,
>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStopPost")]
fn exec_stop_post(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(
property(emits_changed_signal = "invalidates"),
name = "ExecStopPostEx"
)]
fn exec_stop_post_ex(
&self,
) -> crate::zbus::Result<
Vec<(
String,
Vec<String>,
Vec<String>,
u64,
u64,
u64,
u64,
u32,
i32,
i32,
)>,
>;
#[zbus(property(emits_changed_signal = "false"), name = "Slice")]
fn slice(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "ControlGroup")]
fn control_group(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "ControlGroupId")]
fn control_group_id(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryCurrent")]
fn memory_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryPeak")]
fn memory_peak(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapCurrent")]
fn memory_swap_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapPeak")]
fn memory_swap_peak(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapCurrent")]
fn memory_z_swap_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryAvailable")]
fn memory_available(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryMax")]
fn effective_memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryHigh")]
fn effective_memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUUsageNSec")]
fn cpu_usage_n_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveCPUs")]
fn effective_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "EffectiveMemoryNodes"
)]
fn effective_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksCurrent")]
fn tasks_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveTasksMax")]
fn effective_tasks_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressBytes")]
fn ip_ingress_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressPackets")]
fn ip_ingress_packets(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressBytes")]
fn ip_egress_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressPackets")]
fn ip_egress_packets(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadBytes")]
fn io_read_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadOperations")]
fn io_read_operations(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteBytes")]
fn io_write_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteOperations")]
fn io_write_operations(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "OOMKills")]
fn oom_kills(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMKills")]
fn managed_oom_kills(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "Delegate")]
fn delegate(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "DelegateControllers")]
fn delegate_controllers(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "DelegateSubgroup")]
fn delegate_subgroup(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUWeight")]
fn cpu_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupCPUWeight")]
fn startup_cpu_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPerSecUSec")]
fn cpu_quota_per_sec_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPeriodUSec")]
fn cpu_quota_period_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "AllowedCPUs")]
fn allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupAllowedCPUs")]
fn startup_allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "AllowedMemoryNodes")]
fn allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupAllowedMemoryNodes"
)]
fn startup_allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOAccounting")]
fn io_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWeight")]
fn io_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupIOWeight")]
fn startup_io_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IODeviceWeight")]
fn io_device_weight(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadBandwidthMax")]
fn io_read_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteBandwidthMax")]
fn io_write_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadIOPSMax")]
fn io_read_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteIOPSMax")]
fn io_write_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "IODeviceLatencyTargetUSec"
)]
fn io_device_latency_target_u_sec(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryAccounting")]
fn memory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryMin")]
fn memory_min(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryLow")]
fn memory_low(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryLow")]
fn startup_memory_low(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryHigh")]
fn memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryHigh")]
fn startup_memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryMax")]
fn memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryMax")]
fn startup_memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapMax")]
fn memory_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupMemorySwapMax"
)]
fn startup_memory_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapMax")]
fn memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupMemoryZSwapMax"
)]
fn startup_memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "MemoryZSwapWriteback"
)]
fn memory_z_swap_writeback(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "DevicePolicy")]
fn device_policy(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "DeviceAllow")]
fn device_allow(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksAccounting")]
fn tasks_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksMax")]
fn tasks_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAccounting")]
fn ip_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAddressAllow")]
fn ip_address_allow(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAddressDeny")]
fn ip_address_deny(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressFilterPath")]
fn ip_ingress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressFilterPath")]
fn ip_egress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "DisableControllers")]
fn disable_controllers(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMSwap")]
fn managed_oom_swap(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressure"
)]
fn managed_oom_memory_pressure(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressureLimit"
)]
fn managed_oom_memory_pressure_limit(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressureDurationUSec"
)]
fn managed_oom_memory_pressure_duration_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMPreference"
)]
fn managed_oom_preference(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "BPFProgram")]
fn bpf_program(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "SocketBindAllow")]
fn socket_bind_allow(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
#[zbus(property(emits_changed_signal = "false"), name = "SocketBindDeny")]
fn socket_bind_deny(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "RestrictNetworkInterfaces"
)]
fn restrict_network_interfaces(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(
property(emits_changed_signal = "false"),
name = "BindNetworkInterface"
)]
fn bind_network_interface(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryPressureWatch")]
fn memory_pressure_watch(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "MemoryPressureThresholdUSec"
)]
fn memory_pressure_threshold_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "NFTSet")]
fn nft_set(&self) -> crate::zbus::Result<Vec<(i32, i32, String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "CoredumpReceive")]
fn coredump_receive(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "Environment")]
fn environment(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "EnvironmentFiles")]
fn environment_files(&self) -> crate::zbus::Result<Vec<(String, bool)>>;
#[zbus(property(emits_changed_signal = "const"), name = "PassEnvironment")]
fn pass_environment(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "UnsetEnvironment")]
fn unset_environment(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "UMask")]
fn u_mask(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitCPU")]
fn limit_cpu(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitCPUSoft")]
fn limit_cpu_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitFSIZE")]
fn limit_fsize(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitFSIZESoft")]
fn limit_fsize_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitDATA")]
fn limit_data(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitDATASoft")]
fn limit_data_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitSTACK")]
fn limit_stack(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitSTACKSoft")]
fn limit_stack_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitCORE")]
fn limit_core(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitCORESoft")]
fn limit_core_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRSS")]
fn limit_rss(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRSSSoft")]
fn limit_rss_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNOFILE")]
fn limit_nofile(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNOFILESoft")]
fn limit_nofile_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitAS")]
fn limit_as(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitASSoft")]
fn limit_as_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNPROC")]
fn limit_nproc(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNPROCSoft")]
fn limit_nproc_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitMEMLOCK")]
fn limit_memlock(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitMEMLOCKSoft")]
fn limit_memlock_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitLOCKS")]
fn limit_locks(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitLOCKSSoft")]
fn limit_locks_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitSIGPENDING")]
fn limit_sigpending(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitSIGPENDINGSoft")]
fn limit_sigpending_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitMSGQUEUE")]
fn limit_msgqueue(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitMSGQUEUESoft")]
fn limit_msgqueue_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNICE")]
fn limit_nice(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNICESoft")]
fn limit_nice_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRTPRIO")]
fn limit_rtprio(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRTPRIOSoft")]
fn limit_rtprio_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRTTIME")]
fn limit_rttime(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRTTIMESoft")]
fn limit_rttime_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "WorkingDirectory")]
fn working_directory(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootDirectory")]
fn root_directory(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootImage")]
fn root_image(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootImageOptions")]
fn root_image_options(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "RootHash")]
fn root_hash(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "RootHashPath")]
fn root_hash_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootHashSignature")]
fn root_hash_signature(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RootHashSignaturePath"
)]
fn root_hash_signature_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootVerity")]
fn root_verity(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootEphemeral")]
fn root_ephemeral(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RootMStack")]
fn root_m_stack(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ExtensionDirectories"
)]
fn extension_directories(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ExtensionImages")]
fn extension_images(&self) -> crate::zbus::Result<Vec<(String, bool, Vec<(String, String)>)>>;
#[zbus(property(emits_changed_signal = "const"), name = "MountImages")]
fn mount_images(
&self,
) -> crate::zbus::Result<Vec<(String, String, bool, Vec<(String, String)>)>>;
#[zbus(property(emits_changed_signal = "const"), name = "OOMScoreAdjust")]
fn oom_score_adjust(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "CoredumpFilter")]
fn coredump_filter(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "Nice")]
fn nice(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "IOSchedulingClass")]
fn io_scheduling_class(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "IOSchedulingPriority"
)]
fn io_scheduling_priority(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "CPUSchedulingPolicy")]
fn cpu_scheduling_policy(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CPUSchedulingPriority"
)]
fn cpu_scheduling_priority(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "CPUAffinity")]
fn cpu_affinity(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "CPUAffinityFromNUMA")]
fn cpu_affinity_from_numa(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "NUMAPolicy")]
fn numa_policy(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "NUMAMask")]
fn numa_mask(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "TimerSlackNSec")]
fn timer_slack_n_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CPUSchedulingResetOnFork"
)]
fn cpu_scheduling_reset_on_fork(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "NonBlocking")]
fn non_blocking(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "StandardInput")]
fn standard_input(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StandardInputFileDescriptorName"
)]
fn standard_input_file_descriptor_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "StandardInputData")]
fn standard_input_data(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "StandardOutput")]
fn standard_output(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StandardOutputFileDescriptorName"
)]
fn standard_output_file_descriptor_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "StandardError")]
fn standard_error(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StandardErrorFileDescriptorName"
)]
fn standard_error_file_descriptor_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYPath")]
fn tty_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYReset")]
fn tty_reset(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYVHangup")]
fn ttyv_hangup(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYVTDisallocate")]
fn ttyvt_disallocate(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYRows")]
fn tty_rows(&self) -> crate::zbus::Result<u16>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYColumns")]
fn tty_columns(&self) -> crate::zbus::Result<u16>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogPriority")]
fn syslog_priority(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogIdentifier")]
fn syslog_identifier(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogLevelPrefix")]
fn syslog_level_prefix(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogLevel")]
fn syslog_level(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogFacility")]
fn syslog_facility(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "LogLevelMax")]
fn log_level_max(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LogRateLimitIntervalUSec"
)]
fn log_rate_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LogRateLimitBurst")]
fn log_rate_limit_burst(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "LogExtraFields")]
fn log_extra_fields(&self) -> crate::zbus::Result<Vec<Vec<u8>>>;
#[zbus(property(emits_changed_signal = "const"), name = "LogFilterPatterns")]
fn log_filter_patterns(&self) -> crate::zbus::Result<Vec<(bool, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "LogNamespace")]
fn log_namespace(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SecureBits")]
fn secure_bits(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CapabilityBoundingSet"
)]
fn capability_bounding_set(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "AmbientCapabilities")]
fn ambient_capabilities(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "User")]
fn user(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "Group")]
fn group(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "DynamicUser")]
fn dynamic_user(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SetLoginEnvironment")]
fn set_login_environment(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RemoveIPC")]
fn remove_ipc(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SetCredential")]
fn set_credential(&self) -> crate::zbus::Result<Vec<(String, Vec<u8>)>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SetCredentialEncrypted"
)]
fn set_credential_encrypted(&self) -> crate::zbus::Result<Vec<(String, Vec<u8>)>>;
#[zbus(property(emits_changed_signal = "const"), name = "LoadCredential")]
fn load_credential(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LoadCredentialEncrypted"
)]
fn load_credential_encrypted(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "ImportCredential")]
fn import_credential(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ImportCredentialEx")]
fn import_credential_ex(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "SupplementaryGroups")]
fn supplementary_groups(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "PAMName")]
fn pam_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ReadWritePaths")]
fn read_write_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ReadOnlyPaths")]
fn read_only_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "InaccessiblePaths")]
fn inaccessible_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ExecPaths")]
fn exec_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "NoExecPaths")]
fn no_exec_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ExecSearchPath")]
fn exec_search_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "MountFlags")]
fn mount_flags(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateTmp")]
fn private_tmp(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateTmpEx")]
fn private_tmp_ex(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateDevices")]
fn private_devices(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectClock")]
fn protect_clock(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ProtectKernelTunables"
)]
fn protect_kernel_tunables(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ProtectKernelModules"
)]
fn protect_kernel_modules(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectKernelLogs")]
fn protect_kernel_logs(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ProtectControlGroups"
)]
fn protect_control_groups(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ProtectControlGroupsEx"
)]
fn protect_control_groups_ex(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateNetwork")]
fn private_network(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateUsers")]
fn private_users(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateUsersEx")]
fn private_users_ex(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateMounts")]
fn private_mounts(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateIPC")]
fn private_ipc(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivatePIDs")]
fn private_pi_ds(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectHome")]
fn protect_home(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectSystem")]
fn protect_system(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SameProcessGroup")]
fn same_process_group(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "UtmpIdentifier")]
fn utmp_identifier(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "UtmpMode")]
fn utmp_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SELinuxContext")]
fn se_linux_context(&self) -> crate::zbus::Result<(bool, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "AppArmorProfile")]
fn app_armor_profile(&self) -> crate::zbus::Result<(bool, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "SmackProcessLabel")]
fn smack_process_label(&self) -> crate::zbus::Result<(bool, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "IgnoreSIGPIPE")]
fn ignore_sigpipe(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "NoNewPrivileges")]
fn no_new_privileges(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SystemCallFilter")]
fn system_call_filter(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SystemCallArchitectures"
)]
fn system_call_architectures(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SystemCallErrorNumber"
)]
fn system_call_error_number(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SystemCallLog")]
fn system_call_log(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(property(emits_changed_signal = "const"), name = "Personality")]
fn personality(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "LockPersonality")]
fn lock_personality(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RestrictAddressFamilies"
)]
fn restrict_address_families(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RuntimeDirectorySymlink"
)]
fn runtime_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RuntimeDirectoryPreserve"
)]
fn runtime_directory_preserve(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RuntimeDirectoryMode"
)]
fn runtime_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "RuntimeDirectory")]
fn runtime_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StateDirectorySymlink"
)]
fn state_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "StateDirectoryMode")]
fn state_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StateDirectoryAccounting"
)]
fn state_directory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "StateDirectoryQuota")]
fn state_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "StateDirectory")]
fn state_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CacheDirectorySymlink"
)]
fn cache_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "CacheDirectoryMode")]
fn cache_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CacheDirectoryAccounting"
)]
fn cache_directory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "CacheDirectoryQuota")]
fn cache_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "CacheDirectory")]
fn cache_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LogsDirectorySymlink"
)]
fn logs_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "LogsDirectoryMode")]
fn logs_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LogsDirectoryAccounting"
)]
fn logs_directory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "LogsDirectoryQuota")]
fn logs_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "LogsDirectory")]
fn logs_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ConfigurationDirectoryMode"
)]
fn configuration_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ConfigurationDirectory"
)]
fn configuration_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "TimeoutCleanUSec")]
fn timeout_clean_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "MemoryDenyWriteExecute"
)]
fn memory_deny_write_execute(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RestrictRealtime")]
fn restrict_realtime(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RestrictSUIDSGID")]
fn restrict_suidsgid(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RestrictNamespaces")]
fn restrict_namespaces(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DelegateNamespaces")]
fn delegate_namespaces(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "RestrictFileSystems")]
fn restrict_file_systems(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(property(emits_changed_signal = "const"), name = "BindPaths")]
fn bind_paths(&self) -> crate::zbus::Result<Vec<(String, String, bool, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "BindReadOnlyPaths")]
fn bind_read_only_paths(&self) -> crate::zbus::Result<Vec<(String, String, bool, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "TemporaryFileSystem")]
fn temporary_file_system(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "MountAPIVFS")]
fn mount_apivfs(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "BindLogSockets")]
fn bind_log_sockets(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "KeyringMode")]
fn keyring_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectProc")]
fn protect_proc(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProcSubset")]
fn proc_subset(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectHostname")]
fn protect_hostname(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectHostnameEx")]
fn protect_hostname_ex(&self) -> crate::zbus::Result<(String, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateBPF")]
fn private_bpf(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "BPFDelegateCommands")]
fn bpf_delegate_commands(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "BPFDelegateMaps")]
fn bpf_delegate_maps(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "BPFDelegatePrograms")]
fn bpf_delegate_programs(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "BPFDelegateAttachments"
)]
fn bpf_delegate_attachments(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "MemoryKSM")]
fn memory_ksm(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "MemoryTHP")]
fn memory_thp(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "UserNamespacePath")]
fn user_namespace_path(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "NetworkNamespacePath"
)]
fn network_namespace_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "IPCNamespacePath")]
fn ipc_namespace_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootImagePolicy")]
fn root_image_policy(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "MountImagePolicy")]
fn mount_image_policy(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ExtensionImagePolicy"
)]
fn extension_image_policy(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StateDirectoryQuotaUsage"
)]
fn state_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
#[zbus(
property(emits_changed_signal = "false"),
name = "CacheDirectoryQuotaUsage"
)]
fn cache_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
#[zbus(
property(emits_changed_signal = "false"),
name = "LogsDirectoryQuotaUsage"
)]
fn logs_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
#[zbus(property(emits_changed_signal = "const"), name = "KillMode")]
fn kill_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "KillSignal")]
fn kill_signal(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "RestartKillSignal")]
fn restart_kill_signal(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "FinalKillSignal")]
fn final_kill_signal(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SendSIGKILL")]
fn send_sigkill(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SendSIGHUP")]
fn send_sighup(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "WatchdogSignal")]
fn watchdog_signal(&self) -> crate::zbus::Result<i32>;
}
#[proxy(
interface = "org.freedesktop.systemd1.Socket",
gen_blocking = false,
default_service = "org.freedesktop.systemd1",
assume_defaults = false
)]
pub trait Socket {
#[zbus(name = "GetProcesses")]
fn get_processes(&self) -> crate::zbus::Result<Vec<(String, u32, String)>>;
#[zbus(name = "AttachProcesses")]
fn attach_processes(&self, subcgroup: String, pids: Vec<u32>) -> crate::zbus::Result<()>;
#[zbus(name = "RemoveSubgroup")]
fn remove_subgroup(&self, subcgroup: String, flags: u64) -> crate::zbus::Result<()>;
#[zbus(property(emits_changed_signal = "const"), name = "BindIPv6Only")]
fn bind_i_pv6_only(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "Backlog")]
fn backlog(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "TimeoutUSec")]
fn timeout_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "BindToDevice")]
fn bind_to_device(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SocketUser")]
fn socket_user(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SocketGroup")]
fn socket_group(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SocketMode")]
fn socket_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "DirectoryMode")]
fn directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "Accept")]
fn accept(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "FlushPending")]
fn flush_pending(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "Writable")]
fn writable(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "KeepAlive")]
fn keep_alive(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "KeepAliveTimeUSec")]
fn keep_alive_time_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "KeepAliveIntervalUSec"
)]
fn keep_alive_interval_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "KeepAliveProbes")]
fn keep_alive_probes(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "DeferAcceptUSec")]
fn defer_accept_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "NoDelay")]
fn no_delay(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "Priority")]
fn priority(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "ReceiveBuffer")]
fn receive_buffer(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "SendBuffer")]
fn send_buffer(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "IPTOS")]
fn iptos(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "IPTTL")]
fn ipttl(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "PipeSize")]
fn pipe_size(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "FreeBind")]
fn free_bind(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "Transparent")]
fn transparent(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "Broadcast")]
fn broadcast(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PassCredentials")]
fn pass_credentials(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PassPIDFD")]
fn pass_pidfd(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PassSecurity")]
fn pass_security(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PassPacketInfo")]
fn pass_packet_info(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "AcceptFileDescriptors"
)]
fn accept_file_descriptors(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "Timestamping")]
fn timestamping(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RemoveOnStop")]
fn remove_on_stop(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "Listen")]
fn listen(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "Symlinks")]
fn symlinks(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "Mark")]
fn mark(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "MaxConnections")]
fn max_connections(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "MaxConnectionsPerSource"
)]
fn max_connections_per_source(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "MessageQueueMaxMessages"
)]
fn message_queue_max_messages(&self) -> crate::zbus::Result<i64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "MessageQueueMessageSize"
)]
fn message_queue_message_size(&self) -> crate::zbus::Result<i64>;
#[zbus(property(emits_changed_signal = "const"), name = "TCPCongestion")]
fn tcp_congestion(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ReusePort")]
fn reuse_port(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SmackLabel")]
fn smack_label(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SmackLabelIPIn")]
fn smack_label_ip_in(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SmackLabelIPOut")]
fn smack_label_ip_out(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "ControlPID")]
fn control_pid(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "true"), name = "Result")]
fn result(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "NConnections")]
fn n_connections(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "false"), name = "NAccepted")]
fn n_accepted(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "false"), name = "NRefused")]
fn n_refused(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "false"), name = "FileDescriptorName")]
fn file_descriptor_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SocketProtocol")]
fn socket_protocol(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "TriggerLimitIntervalUSec"
)]
fn trigger_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "TriggerLimitBurst")]
fn trigger_limit_burst(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "PollLimitIntervalUSec"
)]
fn poll_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "PollLimitBurst")]
fn poll_limit_burst(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "DeferTrigger")]
fn defer_trigger(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "DeferTriggerMaxUSec")]
fn defer_trigger_max_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "true"), name = "UID")]
fn uid(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "true"), name = "GID")]
fn gid(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "PassFileDescriptorsToExec"
)]
fn pass_file_descriptors_to_exec(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStartPre")]
fn exec_start_pre(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStartPost")]
fn exec_start_post(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStopPre")]
fn exec_stop_pre(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecStopPost")]
fn exec_stop_post(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(property(emits_changed_signal = "false"), name = "Slice")]
fn slice(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "ControlGroup")]
fn control_group(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "ControlGroupId")]
fn control_group_id(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryCurrent")]
fn memory_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryPeak")]
fn memory_peak(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapCurrent")]
fn memory_swap_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapPeak")]
fn memory_swap_peak(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapCurrent")]
fn memory_z_swap_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryAvailable")]
fn memory_available(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryMax")]
fn effective_memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryHigh")]
fn effective_memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUUsageNSec")]
fn cpu_usage_n_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveCPUs")]
fn effective_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "EffectiveMemoryNodes"
)]
fn effective_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksCurrent")]
fn tasks_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveTasksMax")]
fn effective_tasks_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressBytes")]
fn ip_ingress_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressPackets")]
fn ip_ingress_packets(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressBytes")]
fn ip_egress_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressPackets")]
fn ip_egress_packets(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadBytes")]
fn io_read_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadOperations")]
fn io_read_operations(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteBytes")]
fn io_write_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteOperations")]
fn io_write_operations(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "OOMKills")]
fn oom_kills(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMKills")]
fn managed_oom_kills(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "Delegate")]
fn delegate(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "DelegateControllers")]
fn delegate_controllers(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "DelegateSubgroup")]
fn delegate_subgroup(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUWeight")]
fn cpu_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupCPUWeight")]
fn startup_cpu_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPerSecUSec")]
fn cpu_quota_per_sec_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPeriodUSec")]
fn cpu_quota_period_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "AllowedCPUs")]
fn allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupAllowedCPUs")]
fn startup_allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "AllowedMemoryNodes")]
fn allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupAllowedMemoryNodes"
)]
fn startup_allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOAccounting")]
fn io_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWeight")]
fn io_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupIOWeight")]
fn startup_io_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IODeviceWeight")]
fn io_device_weight(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadBandwidthMax")]
fn io_read_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteBandwidthMax")]
fn io_write_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadIOPSMax")]
fn io_read_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteIOPSMax")]
fn io_write_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "IODeviceLatencyTargetUSec"
)]
fn io_device_latency_target_u_sec(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryAccounting")]
fn memory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryMin")]
fn memory_min(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryLow")]
fn memory_low(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryLow")]
fn startup_memory_low(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryHigh")]
fn memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryHigh")]
fn startup_memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryMax")]
fn memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryMax")]
fn startup_memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapMax")]
fn memory_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupMemorySwapMax"
)]
fn startup_memory_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapMax")]
fn memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupMemoryZSwapMax"
)]
fn startup_memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "MemoryZSwapWriteback"
)]
fn memory_z_swap_writeback(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "DevicePolicy")]
fn device_policy(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "DeviceAllow")]
fn device_allow(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksAccounting")]
fn tasks_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksMax")]
fn tasks_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAccounting")]
fn ip_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAddressAllow")]
fn ip_address_allow(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAddressDeny")]
fn ip_address_deny(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressFilterPath")]
fn ip_ingress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressFilterPath")]
fn ip_egress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "DisableControllers")]
fn disable_controllers(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMSwap")]
fn managed_oom_swap(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressure"
)]
fn managed_oom_memory_pressure(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressureLimit"
)]
fn managed_oom_memory_pressure_limit(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressureDurationUSec"
)]
fn managed_oom_memory_pressure_duration_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMPreference"
)]
fn managed_oom_preference(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "BPFProgram")]
fn bpf_program(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "SocketBindAllow")]
fn socket_bind_allow(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
#[zbus(property(emits_changed_signal = "false"), name = "SocketBindDeny")]
fn socket_bind_deny(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "RestrictNetworkInterfaces"
)]
fn restrict_network_interfaces(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(
property(emits_changed_signal = "false"),
name = "BindNetworkInterface"
)]
fn bind_network_interface(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryPressureWatch")]
fn memory_pressure_watch(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "MemoryPressureThresholdUSec"
)]
fn memory_pressure_threshold_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "NFTSet")]
fn nft_set(&self) -> crate::zbus::Result<Vec<(i32, i32, String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "CoredumpReceive")]
fn coredump_receive(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "Environment")]
fn environment(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "EnvironmentFiles")]
fn environment_files(&self) -> crate::zbus::Result<Vec<(String, bool)>>;
#[zbus(property(emits_changed_signal = "const"), name = "PassEnvironment")]
fn pass_environment(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "UnsetEnvironment")]
fn unset_environment(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "UMask")]
fn u_mask(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitCPU")]
fn limit_cpu(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitCPUSoft")]
fn limit_cpu_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitFSIZE")]
fn limit_fsize(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitFSIZESoft")]
fn limit_fsize_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitDATA")]
fn limit_data(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitDATASoft")]
fn limit_data_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitSTACK")]
fn limit_stack(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitSTACKSoft")]
fn limit_stack_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitCORE")]
fn limit_core(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitCORESoft")]
fn limit_core_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRSS")]
fn limit_rss(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRSSSoft")]
fn limit_rss_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNOFILE")]
fn limit_nofile(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNOFILESoft")]
fn limit_nofile_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitAS")]
fn limit_as(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitASSoft")]
fn limit_as_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNPROC")]
fn limit_nproc(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNPROCSoft")]
fn limit_nproc_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitMEMLOCK")]
fn limit_memlock(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitMEMLOCKSoft")]
fn limit_memlock_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitLOCKS")]
fn limit_locks(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitLOCKSSoft")]
fn limit_locks_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitSIGPENDING")]
fn limit_sigpending(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitSIGPENDINGSoft")]
fn limit_sigpending_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitMSGQUEUE")]
fn limit_msgqueue(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitMSGQUEUESoft")]
fn limit_msgqueue_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNICE")]
fn limit_nice(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNICESoft")]
fn limit_nice_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRTPRIO")]
fn limit_rtprio(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRTPRIOSoft")]
fn limit_rtprio_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRTTIME")]
fn limit_rttime(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRTTIMESoft")]
fn limit_rttime_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "WorkingDirectory")]
fn working_directory(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootDirectory")]
fn root_directory(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootImage")]
fn root_image(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootImageOptions")]
fn root_image_options(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "RootHash")]
fn root_hash(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "RootHashPath")]
fn root_hash_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootHashSignature")]
fn root_hash_signature(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RootHashSignaturePath"
)]
fn root_hash_signature_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootVerity")]
fn root_verity(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootEphemeral")]
fn root_ephemeral(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RootMStack")]
fn root_m_stack(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ExtensionDirectories"
)]
fn extension_directories(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ExtensionImages")]
fn extension_images(&self) -> crate::zbus::Result<Vec<(String, bool, Vec<(String, String)>)>>;
#[zbus(property(emits_changed_signal = "const"), name = "MountImages")]
fn mount_images(
&self,
) -> crate::zbus::Result<Vec<(String, String, bool, Vec<(String, String)>)>>;
#[zbus(property(emits_changed_signal = "const"), name = "OOMScoreAdjust")]
fn oom_score_adjust(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "CoredumpFilter")]
fn coredump_filter(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "Nice")]
fn nice(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "IOSchedulingClass")]
fn io_scheduling_class(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "IOSchedulingPriority"
)]
fn io_scheduling_priority(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "CPUSchedulingPolicy")]
fn cpu_scheduling_policy(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CPUSchedulingPriority"
)]
fn cpu_scheduling_priority(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "CPUAffinity")]
fn cpu_affinity(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "CPUAffinityFromNUMA")]
fn cpu_affinity_from_numa(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "NUMAPolicy")]
fn numa_policy(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "NUMAMask")]
fn numa_mask(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "TimerSlackNSec")]
fn timer_slack_n_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CPUSchedulingResetOnFork"
)]
fn cpu_scheduling_reset_on_fork(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "NonBlocking")]
fn non_blocking(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "StandardInput")]
fn standard_input(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StandardInputFileDescriptorName"
)]
fn standard_input_file_descriptor_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "StandardInputData")]
fn standard_input_data(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "StandardOutput")]
fn standard_output(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StandardOutputFileDescriptorName"
)]
fn standard_output_file_descriptor_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "StandardError")]
fn standard_error(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StandardErrorFileDescriptorName"
)]
fn standard_error_file_descriptor_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYPath")]
fn tty_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYReset")]
fn tty_reset(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYVHangup")]
fn ttyv_hangup(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYVTDisallocate")]
fn ttyvt_disallocate(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYRows")]
fn tty_rows(&self) -> crate::zbus::Result<u16>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYColumns")]
fn tty_columns(&self) -> crate::zbus::Result<u16>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogPriority")]
fn syslog_priority(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogIdentifier")]
fn syslog_identifier(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogLevelPrefix")]
fn syslog_level_prefix(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogLevel")]
fn syslog_level(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogFacility")]
fn syslog_facility(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "LogLevelMax")]
fn log_level_max(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LogRateLimitIntervalUSec"
)]
fn log_rate_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LogRateLimitBurst")]
fn log_rate_limit_burst(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "LogExtraFields")]
fn log_extra_fields(&self) -> crate::zbus::Result<Vec<Vec<u8>>>;
#[zbus(property(emits_changed_signal = "const"), name = "LogFilterPatterns")]
fn log_filter_patterns(&self) -> crate::zbus::Result<Vec<(bool, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "LogNamespace")]
fn log_namespace(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SecureBits")]
fn secure_bits(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CapabilityBoundingSet"
)]
fn capability_bounding_set(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "AmbientCapabilities")]
fn ambient_capabilities(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "User")]
fn user(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "Group")]
fn group(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "DynamicUser")]
fn dynamic_user(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SetLoginEnvironment")]
fn set_login_environment(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RemoveIPC")]
fn remove_ipc(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SetCredential")]
fn set_credential(&self) -> crate::zbus::Result<Vec<(String, Vec<u8>)>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SetCredentialEncrypted"
)]
fn set_credential_encrypted(&self) -> crate::zbus::Result<Vec<(String, Vec<u8>)>>;
#[zbus(property(emits_changed_signal = "const"), name = "LoadCredential")]
fn load_credential(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LoadCredentialEncrypted"
)]
fn load_credential_encrypted(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "ImportCredential")]
fn import_credential(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ImportCredentialEx")]
fn import_credential_ex(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "SupplementaryGroups")]
fn supplementary_groups(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "PAMName")]
fn pam_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ReadWritePaths")]
fn read_write_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ReadOnlyPaths")]
fn read_only_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "InaccessiblePaths")]
fn inaccessible_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ExecPaths")]
fn exec_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "NoExecPaths")]
fn no_exec_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ExecSearchPath")]
fn exec_search_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "MountFlags")]
fn mount_flags(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateTmp")]
fn private_tmp(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateTmpEx")]
fn private_tmp_ex(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateDevices")]
fn private_devices(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectClock")]
fn protect_clock(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ProtectKernelTunables"
)]
fn protect_kernel_tunables(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ProtectKernelModules"
)]
fn protect_kernel_modules(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectKernelLogs")]
fn protect_kernel_logs(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ProtectControlGroups"
)]
fn protect_control_groups(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ProtectControlGroupsEx"
)]
fn protect_control_groups_ex(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateNetwork")]
fn private_network(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateUsers")]
fn private_users(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateUsersEx")]
fn private_users_ex(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateMounts")]
fn private_mounts(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateIPC")]
fn private_ipc(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivatePIDs")]
fn private_pi_ds(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectHome")]
fn protect_home(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectSystem")]
fn protect_system(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SameProcessGroup")]
fn same_process_group(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "UtmpIdentifier")]
fn utmp_identifier(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "UtmpMode")]
fn utmp_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SELinuxContext")]
fn se_linux_context(&self) -> crate::zbus::Result<(bool, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "AppArmorProfile")]
fn app_armor_profile(&self) -> crate::zbus::Result<(bool, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "SmackProcessLabel")]
fn smack_process_label(&self) -> crate::zbus::Result<(bool, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "IgnoreSIGPIPE")]
fn ignore_sigpipe(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "NoNewPrivileges")]
fn no_new_privileges(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SystemCallFilter")]
fn system_call_filter(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SystemCallArchitectures"
)]
fn system_call_architectures(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SystemCallErrorNumber"
)]
fn system_call_error_number(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SystemCallLog")]
fn system_call_log(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(property(emits_changed_signal = "const"), name = "Personality")]
fn personality(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "LockPersonality")]
fn lock_personality(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RestrictAddressFamilies"
)]
fn restrict_address_families(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RuntimeDirectorySymlink"
)]
fn runtime_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RuntimeDirectoryPreserve"
)]
fn runtime_directory_preserve(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RuntimeDirectoryMode"
)]
fn runtime_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "RuntimeDirectory")]
fn runtime_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StateDirectorySymlink"
)]
fn state_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "StateDirectoryMode")]
fn state_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StateDirectoryAccounting"
)]
fn state_directory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "StateDirectoryQuota")]
fn state_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "StateDirectory")]
fn state_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CacheDirectorySymlink"
)]
fn cache_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "CacheDirectoryMode")]
fn cache_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CacheDirectoryAccounting"
)]
fn cache_directory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "CacheDirectoryQuota")]
fn cache_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "CacheDirectory")]
fn cache_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LogsDirectorySymlink"
)]
fn logs_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "LogsDirectoryMode")]
fn logs_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LogsDirectoryAccounting"
)]
fn logs_directory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "LogsDirectoryQuota")]
fn logs_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "LogsDirectory")]
fn logs_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ConfigurationDirectoryMode"
)]
fn configuration_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ConfigurationDirectory"
)]
fn configuration_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "TimeoutCleanUSec")]
fn timeout_clean_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "MemoryDenyWriteExecute"
)]
fn memory_deny_write_execute(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RestrictRealtime")]
fn restrict_realtime(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RestrictSUIDSGID")]
fn restrict_suidsgid(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RestrictNamespaces")]
fn restrict_namespaces(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DelegateNamespaces")]
fn delegate_namespaces(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "RestrictFileSystems")]
fn restrict_file_systems(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(property(emits_changed_signal = "const"), name = "BindPaths")]
fn bind_paths(&self) -> crate::zbus::Result<Vec<(String, String, bool, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "BindReadOnlyPaths")]
fn bind_read_only_paths(&self) -> crate::zbus::Result<Vec<(String, String, bool, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "TemporaryFileSystem")]
fn temporary_file_system(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "MountAPIVFS")]
fn mount_apivfs(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "BindLogSockets")]
fn bind_log_sockets(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "KeyringMode")]
fn keyring_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectProc")]
fn protect_proc(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProcSubset")]
fn proc_subset(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectHostname")]
fn protect_hostname(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectHostnameEx")]
fn protect_hostname_ex(&self) -> crate::zbus::Result<(String, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateBPF")]
fn private_bpf(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "BPFDelegateCommands")]
fn bpf_delegate_commands(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "BPFDelegateMaps")]
fn bpf_delegate_maps(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "BPFDelegatePrograms")]
fn bpf_delegate_programs(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "BPFDelegateAttachments"
)]
fn bpf_delegate_attachments(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "MemoryKSM")]
fn memory_ksm(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "MemoryTHP")]
fn memory_thp(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "UserNamespacePath")]
fn user_namespace_path(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "NetworkNamespacePath"
)]
fn network_namespace_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "IPCNamespacePath")]
fn ipc_namespace_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootImagePolicy")]
fn root_image_policy(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "MountImagePolicy")]
fn mount_image_policy(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ExtensionImagePolicy"
)]
fn extension_image_policy(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StateDirectoryQuotaUsage"
)]
fn state_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
#[zbus(
property(emits_changed_signal = "false"),
name = "CacheDirectoryQuotaUsage"
)]
fn cache_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
#[zbus(
property(emits_changed_signal = "false"),
name = "LogsDirectoryQuotaUsage"
)]
fn logs_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
#[zbus(property(emits_changed_signal = "const"), name = "KillMode")]
fn kill_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "KillSignal")]
fn kill_signal(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "RestartKillSignal")]
fn restart_kill_signal(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "FinalKillSignal")]
fn final_kill_signal(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SendSIGKILL")]
fn send_sigkill(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SendSIGHUP")]
fn send_sighup(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "WatchdogSignal")]
fn watchdog_signal(&self) -> crate::zbus::Result<i32>;
}
#[proxy(
interface = "org.freedesktop.systemd1.Target",
gen_blocking = false,
default_service = "org.freedesktop.systemd1",
assume_defaults = false
)]
pub trait Target {}
#[proxy(
interface = "org.freedesktop.systemd1.Device",
gen_blocking = false,
default_service = "org.freedesktop.systemd1",
assume_defaults = false
)]
pub trait Device {
#[zbus(property(emits_changed_signal = "true"), name = "SysFSPath")]
fn sys_fs_path(&self) -> crate::zbus::Result<String>;
}
#[proxy(
interface = "org.freedesktop.systemd1.Mount",
gen_blocking = false,
default_service = "org.freedesktop.systemd1",
assume_defaults = false
)]
pub trait Mount {
#[zbus(name = "GetProcesses")]
fn get_processes(&self) -> crate::zbus::Result<Vec<(String, u32, String)>>;
#[zbus(name = "AttachProcesses")]
fn attach_processes(&self, subcgroup: String, pids: Vec<u32>) -> crate::zbus::Result<()>;
#[zbus(name = "RemoveSubgroup")]
fn remove_subgroup(&self, subcgroup: String, flags: u64) -> crate::zbus::Result<()>;
#[zbus(property(emits_changed_signal = "const"), name = "Where")]
fn where_property(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "What")]
fn what(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "Options")]
fn options(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "Type")]
fn type_property(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "TimeoutUSec")]
fn timeout_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "true"), name = "ControlPID")]
fn control_pid(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "DirectoryMode")]
fn directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "SloppyOptions")]
fn sloppy_options(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "LazyUnmount")]
fn lazy_unmount(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "ForceUnmount")]
fn force_unmount(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "ReadWriteOnly")]
fn read_write_only(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "true"), name = "Result")]
fn result(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "ReloadResult")]
fn reload_result(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "CleanResult")]
fn clean_result(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "UID")]
fn uid(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "true"), name = "GID")]
fn gid(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecMount")]
fn exec_mount(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecUnmount")]
fn exec_unmount(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecRemount")]
fn exec_remount(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(property(emits_changed_signal = "false"), name = "Slice")]
fn slice(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "ControlGroup")]
fn control_group(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "ControlGroupId")]
fn control_group_id(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryCurrent")]
fn memory_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryPeak")]
fn memory_peak(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapCurrent")]
fn memory_swap_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapPeak")]
fn memory_swap_peak(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapCurrent")]
fn memory_z_swap_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryAvailable")]
fn memory_available(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryMax")]
fn effective_memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryHigh")]
fn effective_memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUUsageNSec")]
fn cpu_usage_n_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveCPUs")]
fn effective_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "EffectiveMemoryNodes"
)]
fn effective_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksCurrent")]
fn tasks_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveTasksMax")]
fn effective_tasks_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressBytes")]
fn ip_ingress_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressPackets")]
fn ip_ingress_packets(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressBytes")]
fn ip_egress_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressPackets")]
fn ip_egress_packets(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadBytes")]
fn io_read_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadOperations")]
fn io_read_operations(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteBytes")]
fn io_write_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteOperations")]
fn io_write_operations(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "OOMKills")]
fn oom_kills(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMKills")]
fn managed_oom_kills(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "Delegate")]
fn delegate(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "DelegateControllers")]
fn delegate_controllers(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "DelegateSubgroup")]
fn delegate_subgroup(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUWeight")]
fn cpu_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupCPUWeight")]
fn startup_cpu_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPerSecUSec")]
fn cpu_quota_per_sec_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPeriodUSec")]
fn cpu_quota_period_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "AllowedCPUs")]
fn allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupAllowedCPUs")]
fn startup_allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "AllowedMemoryNodes")]
fn allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupAllowedMemoryNodes"
)]
fn startup_allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOAccounting")]
fn io_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWeight")]
fn io_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupIOWeight")]
fn startup_io_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IODeviceWeight")]
fn io_device_weight(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadBandwidthMax")]
fn io_read_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteBandwidthMax")]
fn io_write_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadIOPSMax")]
fn io_read_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteIOPSMax")]
fn io_write_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "IODeviceLatencyTargetUSec"
)]
fn io_device_latency_target_u_sec(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryAccounting")]
fn memory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryMin")]
fn memory_min(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryLow")]
fn memory_low(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryLow")]
fn startup_memory_low(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryHigh")]
fn memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryHigh")]
fn startup_memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryMax")]
fn memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryMax")]
fn startup_memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapMax")]
fn memory_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupMemorySwapMax"
)]
fn startup_memory_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapMax")]
fn memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupMemoryZSwapMax"
)]
fn startup_memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "MemoryZSwapWriteback"
)]
fn memory_z_swap_writeback(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "DevicePolicy")]
fn device_policy(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "DeviceAllow")]
fn device_allow(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksAccounting")]
fn tasks_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksMax")]
fn tasks_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAccounting")]
fn ip_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAddressAllow")]
fn ip_address_allow(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAddressDeny")]
fn ip_address_deny(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressFilterPath")]
fn ip_ingress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressFilterPath")]
fn ip_egress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "DisableControllers")]
fn disable_controllers(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMSwap")]
fn managed_oom_swap(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressure"
)]
fn managed_oom_memory_pressure(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressureLimit"
)]
fn managed_oom_memory_pressure_limit(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressureDurationUSec"
)]
fn managed_oom_memory_pressure_duration_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMPreference"
)]
fn managed_oom_preference(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "BPFProgram")]
fn bpf_program(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "SocketBindAllow")]
fn socket_bind_allow(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
#[zbus(property(emits_changed_signal = "false"), name = "SocketBindDeny")]
fn socket_bind_deny(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "RestrictNetworkInterfaces"
)]
fn restrict_network_interfaces(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(
property(emits_changed_signal = "false"),
name = "BindNetworkInterface"
)]
fn bind_network_interface(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryPressureWatch")]
fn memory_pressure_watch(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "MemoryPressureThresholdUSec"
)]
fn memory_pressure_threshold_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "NFTSet")]
fn nft_set(&self) -> crate::zbus::Result<Vec<(i32, i32, String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "CoredumpReceive")]
fn coredump_receive(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "Environment")]
fn environment(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "EnvironmentFiles")]
fn environment_files(&self) -> crate::zbus::Result<Vec<(String, bool)>>;
#[zbus(property(emits_changed_signal = "const"), name = "PassEnvironment")]
fn pass_environment(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "UnsetEnvironment")]
fn unset_environment(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "UMask")]
fn u_mask(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitCPU")]
fn limit_cpu(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitCPUSoft")]
fn limit_cpu_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitFSIZE")]
fn limit_fsize(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitFSIZESoft")]
fn limit_fsize_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitDATA")]
fn limit_data(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitDATASoft")]
fn limit_data_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitSTACK")]
fn limit_stack(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitSTACKSoft")]
fn limit_stack_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitCORE")]
fn limit_core(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitCORESoft")]
fn limit_core_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRSS")]
fn limit_rss(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRSSSoft")]
fn limit_rss_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNOFILE")]
fn limit_nofile(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNOFILESoft")]
fn limit_nofile_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitAS")]
fn limit_as(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitASSoft")]
fn limit_as_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNPROC")]
fn limit_nproc(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNPROCSoft")]
fn limit_nproc_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitMEMLOCK")]
fn limit_memlock(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitMEMLOCKSoft")]
fn limit_memlock_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitLOCKS")]
fn limit_locks(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitLOCKSSoft")]
fn limit_locks_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitSIGPENDING")]
fn limit_sigpending(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitSIGPENDINGSoft")]
fn limit_sigpending_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitMSGQUEUE")]
fn limit_msgqueue(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitMSGQUEUESoft")]
fn limit_msgqueue_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNICE")]
fn limit_nice(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNICESoft")]
fn limit_nice_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRTPRIO")]
fn limit_rtprio(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRTPRIOSoft")]
fn limit_rtprio_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRTTIME")]
fn limit_rttime(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRTTIMESoft")]
fn limit_rttime_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "WorkingDirectory")]
fn working_directory(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootDirectory")]
fn root_directory(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootImage")]
fn root_image(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootImageOptions")]
fn root_image_options(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "RootHash")]
fn root_hash(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "RootHashPath")]
fn root_hash_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootHashSignature")]
fn root_hash_signature(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RootHashSignaturePath"
)]
fn root_hash_signature_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootVerity")]
fn root_verity(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootEphemeral")]
fn root_ephemeral(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RootMStack")]
fn root_m_stack(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ExtensionDirectories"
)]
fn extension_directories(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ExtensionImages")]
fn extension_images(&self) -> crate::zbus::Result<Vec<(String, bool, Vec<(String, String)>)>>;
#[zbus(property(emits_changed_signal = "const"), name = "MountImages")]
fn mount_images(
&self,
) -> crate::zbus::Result<Vec<(String, String, bool, Vec<(String, String)>)>>;
#[zbus(property(emits_changed_signal = "const"), name = "OOMScoreAdjust")]
fn oom_score_adjust(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "CoredumpFilter")]
fn coredump_filter(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "Nice")]
fn nice(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "IOSchedulingClass")]
fn io_scheduling_class(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "IOSchedulingPriority"
)]
fn io_scheduling_priority(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "CPUSchedulingPolicy")]
fn cpu_scheduling_policy(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CPUSchedulingPriority"
)]
fn cpu_scheduling_priority(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "CPUAffinity")]
fn cpu_affinity(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "CPUAffinityFromNUMA")]
fn cpu_affinity_from_numa(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "NUMAPolicy")]
fn numa_policy(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "NUMAMask")]
fn numa_mask(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "TimerSlackNSec")]
fn timer_slack_n_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CPUSchedulingResetOnFork"
)]
fn cpu_scheduling_reset_on_fork(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "NonBlocking")]
fn non_blocking(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "StandardInput")]
fn standard_input(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StandardInputFileDescriptorName"
)]
fn standard_input_file_descriptor_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "StandardInputData")]
fn standard_input_data(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "StandardOutput")]
fn standard_output(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StandardOutputFileDescriptorName"
)]
fn standard_output_file_descriptor_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "StandardError")]
fn standard_error(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StandardErrorFileDescriptorName"
)]
fn standard_error_file_descriptor_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYPath")]
fn tty_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYReset")]
fn tty_reset(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYVHangup")]
fn ttyv_hangup(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYVTDisallocate")]
fn ttyvt_disallocate(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYRows")]
fn tty_rows(&self) -> crate::zbus::Result<u16>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYColumns")]
fn tty_columns(&self) -> crate::zbus::Result<u16>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogPriority")]
fn syslog_priority(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogIdentifier")]
fn syslog_identifier(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogLevelPrefix")]
fn syslog_level_prefix(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogLevel")]
fn syslog_level(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogFacility")]
fn syslog_facility(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "LogLevelMax")]
fn log_level_max(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LogRateLimitIntervalUSec"
)]
fn log_rate_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LogRateLimitBurst")]
fn log_rate_limit_burst(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "LogExtraFields")]
fn log_extra_fields(&self) -> crate::zbus::Result<Vec<Vec<u8>>>;
#[zbus(property(emits_changed_signal = "const"), name = "LogFilterPatterns")]
fn log_filter_patterns(&self) -> crate::zbus::Result<Vec<(bool, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "LogNamespace")]
fn log_namespace(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SecureBits")]
fn secure_bits(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CapabilityBoundingSet"
)]
fn capability_bounding_set(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "AmbientCapabilities")]
fn ambient_capabilities(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "User")]
fn user(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "Group")]
fn group(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "DynamicUser")]
fn dynamic_user(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SetLoginEnvironment")]
fn set_login_environment(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RemoveIPC")]
fn remove_ipc(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SetCredential")]
fn set_credential(&self) -> crate::zbus::Result<Vec<(String, Vec<u8>)>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SetCredentialEncrypted"
)]
fn set_credential_encrypted(&self) -> crate::zbus::Result<Vec<(String, Vec<u8>)>>;
#[zbus(property(emits_changed_signal = "const"), name = "LoadCredential")]
fn load_credential(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LoadCredentialEncrypted"
)]
fn load_credential_encrypted(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "ImportCredential")]
fn import_credential(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ImportCredentialEx")]
fn import_credential_ex(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "SupplementaryGroups")]
fn supplementary_groups(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "PAMName")]
fn pam_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ReadWritePaths")]
fn read_write_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ReadOnlyPaths")]
fn read_only_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "InaccessiblePaths")]
fn inaccessible_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ExecPaths")]
fn exec_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "NoExecPaths")]
fn no_exec_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ExecSearchPath")]
fn exec_search_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "MountFlags")]
fn mount_flags(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateTmp")]
fn private_tmp(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateTmpEx")]
fn private_tmp_ex(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateDevices")]
fn private_devices(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectClock")]
fn protect_clock(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ProtectKernelTunables"
)]
fn protect_kernel_tunables(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ProtectKernelModules"
)]
fn protect_kernel_modules(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectKernelLogs")]
fn protect_kernel_logs(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ProtectControlGroups"
)]
fn protect_control_groups(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ProtectControlGroupsEx"
)]
fn protect_control_groups_ex(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateNetwork")]
fn private_network(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateUsers")]
fn private_users(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateUsersEx")]
fn private_users_ex(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateMounts")]
fn private_mounts(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateIPC")]
fn private_ipc(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivatePIDs")]
fn private_pi_ds(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectHome")]
fn protect_home(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectSystem")]
fn protect_system(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SameProcessGroup")]
fn same_process_group(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "UtmpIdentifier")]
fn utmp_identifier(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "UtmpMode")]
fn utmp_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SELinuxContext")]
fn se_linux_context(&self) -> crate::zbus::Result<(bool, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "AppArmorProfile")]
fn app_armor_profile(&self) -> crate::zbus::Result<(bool, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "SmackProcessLabel")]
fn smack_process_label(&self) -> crate::zbus::Result<(bool, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "IgnoreSIGPIPE")]
fn ignore_sigpipe(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "NoNewPrivileges")]
fn no_new_privileges(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SystemCallFilter")]
fn system_call_filter(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SystemCallArchitectures"
)]
fn system_call_architectures(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SystemCallErrorNumber"
)]
fn system_call_error_number(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SystemCallLog")]
fn system_call_log(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(property(emits_changed_signal = "const"), name = "Personality")]
fn personality(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "LockPersonality")]
fn lock_personality(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RestrictAddressFamilies"
)]
fn restrict_address_families(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RuntimeDirectorySymlink"
)]
fn runtime_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RuntimeDirectoryPreserve"
)]
fn runtime_directory_preserve(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RuntimeDirectoryMode"
)]
fn runtime_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "RuntimeDirectory")]
fn runtime_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StateDirectorySymlink"
)]
fn state_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "StateDirectoryMode")]
fn state_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StateDirectoryAccounting"
)]
fn state_directory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "StateDirectoryQuota")]
fn state_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "StateDirectory")]
fn state_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CacheDirectorySymlink"
)]
fn cache_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "CacheDirectoryMode")]
fn cache_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CacheDirectoryAccounting"
)]
fn cache_directory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "CacheDirectoryQuota")]
fn cache_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "CacheDirectory")]
fn cache_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LogsDirectorySymlink"
)]
fn logs_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "LogsDirectoryMode")]
fn logs_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LogsDirectoryAccounting"
)]
fn logs_directory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "LogsDirectoryQuota")]
fn logs_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "LogsDirectory")]
fn logs_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ConfigurationDirectoryMode"
)]
fn configuration_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ConfigurationDirectory"
)]
fn configuration_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "TimeoutCleanUSec")]
fn timeout_clean_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "MemoryDenyWriteExecute"
)]
fn memory_deny_write_execute(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RestrictRealtime")]
fn restrict_realtime(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RestrictSUIDSGID")]
fn restrict_suidsgid(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RestrictNamespaces")]
fn restrict_namespaces(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DelegateNamespaces")]
fn delegate_namespaces(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "RestrictFileSystems")]
fn restrict_file_systems(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(property(emits_changed_signal = "const"), name = "BindPaths")]
fn bind_paths(&self) -> crate::zbus::Result<Vec<(String, String, bool, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "BindReadOnlyPaths")]
fn bind_read_only_paths(&self) -> crate::zbus::Result<Vec<(String, String, bool, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "TemporaryFileSystem")]
fn temporary_file_system(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "MountAPIVFS")]
fn mount_apivfs(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "BindLogSockets")]
fn bind_log_sockets(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "KeyringMode")]
fn keyring_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectProc")]
fn protect_proc(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProcSubset")]
fn proc_subset(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectHostname")]
fn protect_hostname(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectHostnameEx")]
fn protect_hostname_ex(&self) -> crate::zbus::Result<(String, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateBPF")]
fn private_bpf(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "BPFDelegateCommands")]
fn bpf_delegate_commands(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "BPFDelegateMaps")]
fn bpf_delegate_maps(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "BPFDelegatePrograms")]
fn bpf_delegate_programs(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "BPFDelegateAttachments"
)]
fn bpf_delegate_attachments(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "MemoryKSM")]
fn memory_ksm(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "MemoryTHP")]
fn memory_thp(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "UserNamespacePath")]
fn user_namespace_path(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "NetworkNamespacePath"
)]
fn network_namespace_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "IPCNamespacePath")]
fn ipc_namespace_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootImagePolicy")]
fn root_image_policy(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "MountImagePolicy")]
fn mount_image_policy(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ExtensionImagePolicy"
)]
fn extension_image_policy(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StateDirectoryQuotaUsage"
)]
fn state_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
#[zbus(
property(emits_changed_signal = "false"),
name = "CacheDirectoryQuotaUsage"
)]
fn cache_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
#[zbus(
property(emits_changed_signal = "false"),
name = "LogsDirectoryQuotaUsage"
)]
fn logs_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
#[zbus(property(emits_changed_signal = "const"), name = "KillMode")]
fn kill_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "KillSignal")]
fn kill_signal(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "RestartKillSignal")]
fn restart_kill_signal(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "FinalKillSignal")]
fn final_kill_signal(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SendSIGKILL")]
fn send_sigkill(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SendSIGHUP")]
fn send_sighup(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "WatchdogSignal")]
fn watchdog_signal(&self) -> crate::zbus::Result<i32>;
}
#[proxy(
interface = "org.freedesktop.systemd1.Automount",
gen_blocking = false,
default_service = "org.freedesktop.systemd1",
assume_defaults = false
)]
pub trait Automount {
#[zbus(property(emits_changed_signal = "const"), name = "Where")]
fn where_property(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ExtraOptions")]
fn extra_options(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "DirectoryMode")]
fn directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "true"), name = "Result")]
fn result(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "TimeoutIdleUSec")]
fn timeout_idle_u_sec(&self) -> crate::zbus::Result<u64>;
}
#[proxy(
interface = "org.freedesktop.systemd1.Timer",
gen_blocking = false,
default_service = "org.freedesktop.systemd1",
assume_defaults = false
)]
pub trait Timer {
#[zbus(property(emits_changed_signal = "const"), name = "Unit")]
fn unit(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "invalidates"),
name = "TimersMonotonic"
)]
fn timers_monotonic(&self) -> crate::zbus::Result<Vec<(String, u64, u64)>>;
#[zbus(
property(emits_changed_signal = "invalidates"),
name = "TimersCalendar"
)]
fn timers_calendar(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "OnClockChange")]
fn on_clock_change(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "OnTimezoneChange")]
fn on_timezone_change(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "true"),
name = "NextElapseUSecRealtime"
)]
fn next_elapse_u_sec_realtime(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "true"),
name = "NextElapseUSecMonotonic"
)]
fn next_elapse_u_sec_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "true"), name = "LastTriggerUSec")]
fn last_trigger_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "true"),
name = "LastTriggerUSecMonotonic"
)]
fn last_trigger_u_sec_monotonic(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "true"), name = "Result")]
fn result(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "AccuracyUSec")]
fn accuracy_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "RandomizedDelayUSec")]
fn randomized_delay_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RandomizedOffsetUSec"
)]
fn randomized_offset_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "FixedRandomDelay")]
fn fixed_random_delay(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "Persistent")]
fn persistent(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "WakeSystem")]
fn wake_system(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RemainAfterElapse")]
fn remain_after_elapse(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "DeferReactivation")]
fn defer_reactivation(&self) -> crate::zbus::Result<bool>;
}
#[proxy(
interface = "org.freedesktop.systemd1.Swap",
gen_blocking = false,
default_service = "org.freedesktop.systemd1",
assume_defaults = false
)]
pub trait Swap {
#[zbus(name = "GetProcesses")]
fn get_processes(&self) -> crate::zbus::Result<Vec<(String, u32, String)>>;
#[zbus(name = "AttachProcesses")]
fn attach_processes(&self, subcgroup: String, pids: Vec<u32>) -> crate::zbus::Result<()>;
#[zbus(name = "RemoveSubgroup")]
fn remove_subgroup(&self, subcgroup: String, flags: u64) -> crate::zbus::Result<()>;
#[zbus(property(emits_changed_signal = "true"), name = "What")]
fn what(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "Priority")]
fn priority(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "true"), name = "Options")]
fn options(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "TimeoutUSec")]
fn timeout_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "true"), name = "ControlPID")]
fn control_pid(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "true"), name = "Result")]
fn result(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "UID")]
fn uid(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "true"), name = "GID")]
fn gid(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "invalidates"), name = "ExecActivate")]
fn exec_activate(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(
property(emits_changed_signal = "invalidates"),
name = "ExecDeactivate"
)]
fn exec_deactivate(
&self,
) -> crate::zbus::Result<Vec<(String, Vec<String>, bool, u64, u64, u64, u64, u32, i32, i32)>>;
#[zbus(property(emits_changed_signal = "false"), name = "Slice")]
fn slice(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "ControlGroup")]
fn control_group(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "ControlGroupId")]
fn control_group_id(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryCurrent")]
fn memory_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryPeak")]
fn memory_peak(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapCurrent")]
fn memory_swap_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapPeak")]
fn memory_swap_peak(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapCurrent")]
fn memory_z_swap_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryAvailable")]
fn memory_available(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryMax")]
fn effective_memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryHigh")]
fn effective_memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUUsageNSec")]
fn cpu_usage_n_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveCPUs")]
fn effective_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "EffectiveMemoryNodes"
)]
fn effective_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksCurrent")]
fn tasks_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveTasksMax")]
fn effective_tasks_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressBytes")]
fn ip_ingress_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressPackets")]
fn ip_ingress_packets(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressBytes")]
fn ip_egress_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressPackets")]
fn ip_egress_packets(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadBytes")]
fn io_read_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadOperations")]
fn io_read_operations(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteBytes")]
fn io_write_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteOperations")]
fn io_write_operations(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "OOMKills")]
fn oom_kills(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMKills")]
fn managed_oom_kills(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "Delegate")]
fn delegate(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "DelegateControllers")]
fn delegate_controllers(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "DelegateSubgroup")]
fn delegate_subgroup(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUWeight")]
fn cpu_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupCPUWeight")]
fn startup_cpu_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPerSecUSec")]
fn cpu_quota_per_sec_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPeriodUSec")]
fn cpu_quota_period_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "AllowedCPUs")]
fn allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupAllowedCPUs")]
fn startup_allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "AllowedMemoryNodes")]
fn allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupAllowedMemoryNodes"
)]
fn startup_allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOAccounting")]
fn io_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWeight")]
fn io_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupIOWeight")]
fn startup_io_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IODeviceWeight")]
fn io_device_weight(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadBandwidthMax")]
fn io_read_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteBandwidthMax")]
fn io_write_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadIOPSMax")]
fn io_read_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteIOPSMax")]
fn io_write_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "IODeviceLatencyTargetUSec"
)]
fn io_device_latency_target_u_sec(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryAccounting")]
fn memory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryMin")]
fn memory_min(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryLow")]
fn memory_low(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryLow")]
fn startup_memory_low(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryHigh")]
fn memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryHigh")]
fn startup_memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryMax")]
fn memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryMax")]
fn startup_memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapMax")]
fn memory_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupMemorySwapMax"
)]
fn startup_memory_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapMax")]
fn memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupMemoryZSwapMax"
)]
fn startup_memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "MemoryZSwapWriteback"
)]
fn memory_z_swap_writeback(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "DevicePolicy")]
fn device_policy(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "DeviceAllow")]
fn device_allow(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksAccounting")]
fn tasks_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksMax")]
fn tasks_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAccounting")]
fn ip_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAddressAllow")]
fn ip_address_allow(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAddressDeny")]
fn ip_address_deny(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressFilterPath")]
fn ip_ingress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressFilterPath")]
fn ip_egress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "DisableControllers")]
fn disable_controllers(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMSwap")]
fn managed_oom_swap(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressure"
)]
fn managed_oom_memory_pressure(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressureLimit"
)]
fn managed_oom_memory_pressure_limit(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressureDurationUSec"
)]
fn managed_oom_memory_pressure_duration_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMPreference"
)]
fn managed_oom_preference(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "BPFProgram")]
fn bpf_program(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "SocketBindAllow")]
fn socket_bind_allow(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
#[zbus(property(emits_changed_signal = "false"), name = "SocketBindDeny")]
fn socket_bind_deny(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "RestrictNetworkInterfaces"
)]
fn restrict_network_interfaces(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(
property(emits_changed_signal = "false"),
name = "BindNetworkInterface"
)]
fn bind_network_interface(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryPressureWatch")]
fn memory_pressure_watch(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "MemoryPressureThresholdUSec"
)]
fn memory_pressure_threshold_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "NFTSet")]
fn nft_set(&self) -> crate::zbus::Result<Vec<(i32, i32, String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "CoredumpReceive")]
fn coredump_receive(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "Environment")]
fn environment(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "EnvironmentFiles")]
fn environment_files(&self) -> crate::zbus::Result<Vec<(String, bool)>>;
#[zbus(property(emits_changed_signal = "const"), name = "PassEnvironment")]
fn pass_environment(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "UnsetEnvironment")]
fn unset_environment(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "UMask")]
fn u_mask(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitCPU")]
fn limit_cpu(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitCPUSoft")]
fn limit_cpu_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitFSIZE")]
fn limit_fsize(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitFSIZESoft")]
fn limit_fsize_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitDATA")]
fn limit_data(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitDATASoft")]
fn limit_data_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitSTACK")]
fn limit_stack(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitSTACKSoft")]
fn limit_stack_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitCORE")]
fn limit_core(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitCORESoft")]
fn limit_core_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRSS")]
fn limit_rss(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRSSSoft")]
fn limit_rss_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNOFILE")]
fn limit_nofile(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNOFILESoft")]
fn limit_nofile_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitAS")]
fn limit_as(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitASSoft")]
fn limit_as_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNPROC")]
fn limit_nproc(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNPROCSoft")]
fn limit_nproc_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitMEMLOCK")]
fn limit_memlock(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitMEMLOCKSoft")]
fn limit_memlock_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitLOCKS")]
fn limit_locks(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitLOCKSSoft")]
fn limit_locks_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitSIGPENDING")]
fn limit_sigpending(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitSIGPENDINGSoft")]
fn limit_sigpending_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitMSGQUEUE")]
fn limit_msgqueue(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitMSGQUEUESoft")]
fn limit_msgqueue_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNICE")]
fn limit_nice(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitNICESoft")]
fn limit_nice_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRTPRIO")]
fn limit_rtprio(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRTPRIOSoft")]
fn limit_rtprio_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRTTIME")]
fn limit_rttime(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LimitRTTIMESoft")]
fn limit_rttime_soft(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "WorkingDirectory")]
fn working_directory(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootDirectory")]
fn root_directory(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootImage")]
fn root_image(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootImageOptions")]
fn root_image_options(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "RootHash")]
fn root_hash(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "RootHashPath")]
fn root_hash_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootHashSignature")]
fn root_hash_signature(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RootHashSignaturePath"
)]
fn root_hash_signature_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootVerity")]
fn root_verity(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootEphemeral")]
fn root_ephemeral(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RootMStack")]
fn root_m_stack(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ExtensionDirectories"
)]
fn extension_directories(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ExtensionImages")]
fn extension_images(&self) -> crate::zbus::Result<Vec<(String, bool, Vec<(String, String)>)>>;
#[zbus(property(emits_changed_signal = "const"), name = "MountImages")]
fn mount_images(
&self,
) -> crate::zbus::Result<Vec<(String, String, bool, Vec<(String, String)>)>>;
#[zbus(property(emits_changed_signal = "const"), name = "OOMScoreAdjust")]
fn oom_score_adjust(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "CoredumpFilter")]
fn coredump_filter(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "Nice")]
fn nice(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "IOSchedulingClass")]
fn io_scheduling_class(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "IOSchedulingPriority"
)]
fn io_scheduling_priority(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "CPUSchedulingPolicy")]
fn cpu_scheduling_policy(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CPUSchedulingPriority"
)]
fn cpu_scheduling_priority(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "CPUAffinity")]
fn cpu_affinity(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "CPUAffinityFromNUMA")]
fn cpu_affinity_from_numa(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "NUMAPolicy")]
fn numa_policy(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "NUMAMask")]
fn numa_mask(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "TimerSlackNSec")]
fn timer_slack_n_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CPUSchedulingResetOnFork"
)]
fn cpu_scheduling_reset_on_fork(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "NonBlocking")]
fn non_blocking(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "StandardInput")]
fn standard_input(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StandardInputFileDescriptorName"
)]
fn standard_input_file_descriptor_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "StandardInputData")]
fn standard_input_data(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "const"), name = "StandardOutput")]
fn standard_output(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StandardOutputFileDescriptorName"
)]
fn standard_output_file_descriptor_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "StandardError")]
fn standard_error(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StandardErrorFileDescriptorName"
)]
fn standard_error_file_descriptor_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYPath")]
fn tty_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYReset")]
fn tty_reset(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYVHangup")]
fn ttyv_hangup(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYVTDisallocate")]
fn ttyvt_disallocate(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYRows")]
fn tty_rows(&self) -> crate::zbus::Result<u16>;
#[zbus(property(emits_changed_signal = "const"), name = "TTYColumns")]
fn tty_columns(&self) -> crate::zbus::Result<u16>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogPriority")]
fn syslog_priority(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogIdentifier")]
fn syslog_identifier(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogLevelPrefix")]
fn syslog_level_prefix(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogLevel")]
fn syslog_level(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SyslogFacility")]
fn syslog_facility(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "LogLevelMax")]
fn log_level_max(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LogRateLimitIntervalUSec"
)]
fn log_rate_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "LogRateLimitBurst")]
fn log_rate_limit_burst(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "LogExtraFields")]
fn log_extra_fields(&self) -> crate::zbus::Result<Vec<Vec<u8>>>;
#[zbus(property(emits_changed_signal = "const"), name = "LogFilterPatterns")]
fn log_filter_patterns(&self) -> crate::zbus::Result<Vec<(bool, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "LogNamespace")]
fn log_namespace(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SecureBits")]
fn secure_bits(&self) -> crate::zbus::Result<i32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CapabilityBoundingSet"
)]
fn capability_bounding_set(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "AmbientCapabilities")]
fn ambient_capabilities(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "User")]
fn user(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "Group")]
fn group(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "DynamicUser")]
fn dynamic_user(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SetLoginEnvironment")]
fn set_login_environment(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RemoveIPC")]
fn remove_ipc(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SetCredential")]
fn set_credential(&self) -> crate::zbus::Result<Vec<(String, Vec<u8>)>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SetCredentialEncrypted"
)]
fn set_credential_encrypted(&self) -> crate::zbus::Result<Vec<(String, Vec<u8>)>>;
#[zbus(property(emits_changed_signal = "const"), name = "LoadCredential")]
fn load_credential(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LoadCredentialEncrypted"
)]
fn load_credential_encrypted(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "ImportCredential")]
fn import_credential(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ImportCredentialEx")]
fn import_credential_ex(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "SupplementaryGroups")]
fn supplementary_groups(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "PAMName")]
fn pam_name(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ReadWritePaths")]
fn read_write_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ReadOnlyPaths")]
fn read_only_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "InaccessiblePaths")]
fn inaccessible_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ExecPaths")]
fn exec_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "NoExecPaths")]
fn no_exec_paths(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "ExecSearchPath")]
fn exec_search_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "MountFlags")]
fn mount_flags(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateTmp")]
fn private_tmp(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateTmpEx")]
fn private_tmp_ex(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateDevices")]
fn private_devices(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectClock")]
fn protect_clock(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ProtectKernelTunables"
)]
fn protect_kernel_tunables(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ProtectKernelModules"
)]
fn protect_kernel_modules(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectKernelLogs")]
fn protect_kernel_logs(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ProtectControlGroups"
)]
fn protect_control_groups(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ProtectControlGroupsEx"
)]
fn protect_control_groups_ex(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateNetwork")]
fn private_network(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateUsers")]
fn private_users(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateUsersEx")]
fn private_users_ex(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateMounts")]
fn private_mounts(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateIPC")]
fn private_ipc(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivatePIDs")]
fn private_pi_ds(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectHome")]
fn protect_home(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectSystem")]
fn protect_system(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SameProcessGroup")]
fn same_process_group(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "UtmpIdentifier")]
fn utmp_identifier(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "UtmpMode")]
fn utmp_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "SELinuxContext")]
fn se_linux_context(&self) -> crate::zbus::Result<(bool, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "AppArmorProfile")]
fn app_armor_profile(&self) -> crate::zbus::Result<(bool, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "SmackProcessLabel")]
fn smack_process_label(&self) -> crate::zbus::Result<(bool, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "IgnoreSIGPIPE")]
fn ignore_sigpipe(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "NoNewPrivileges")]
fn no_new_privileges(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SystemCallFilter")]
fn system_call_filter(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SystemCallArchitectures"
)]
fn system_call_architectures(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "SystemCallErrorNumber"
)]
fn system_call_error_number(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SystemCallLog")]
fn system_call_log(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(property(emits_changed_signal = "const"), name = "Personality")]
fn personality(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "LockPersonality")]
fn lock_personality(&self) -> crate::zbus::Result<bool>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RestrictAddressFamilies"
)]
fn restrict_address_families(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RuntimeDirectorySymlink"
)]
fn runtime_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RuntimeDirectoryPreserve"
)]
fn runtime_directory_preserve(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RuntimeDirectoryMode"
)]
fn runtime_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "RuntimeDirectory")]
fn runtime_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StateDirectorySymlink"
)]
fn state_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "StateDirectoryMode")]
fn state_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "StateDirectoryAccounting"
)]
fn state_directory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "StateDirectoryQuota")]
fn state_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "StateDirectory")]
fn state_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CacheDirectorySymlink"
)]
fn cache_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "CacheDirectoryMode")]
fn cache_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "CacheDirectoryAccounting"
)]
fn cache_directory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "CacheDirectoryQuota")]
fn cache_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "CacheDirectory")]
fn cache_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LogsDirectorySymlink"
)]
fn logs_directory_symlink(&self) -> crate::zbus::Result<Vec<(String, String, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "LogsDirectoryMode")]
fn logs_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "LogsDirectoryAccounting"
)]
fn logs_directory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "LogsDirectoryQuota")]
fn logs_directory_quota(&self) -> crate::zbus::Result<(u64, u32, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "LogsDirectory")]
fn logs_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ConfigurationDirectoryMode"
)]
fn configuration_directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ConfigurationDirectory"
)]
fn configuration_directory(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "const"), name = "TimeoutCleanUSec")]
fn timeout_clean_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "MemoryDenyWriteExecute"
)]
fn memory_deny_write_execute(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RestrictRealtime")]
fn restrict_realtime(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RestrictSUIDSGID")]
fn restrict_suidsgid(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "RestrictNamespaces")]
fn restrict_namespaces(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "DelegateNamespaces")]
fn delegate_namespaces(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "RestrictFileSystems")]
fn restrict_file_systems(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(property(emits_changed_signal = "const"), name = "BindPaths")]
fn bind_paths(&self) -> crate::zbus::Result<Vec<(String, String, bool, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "BindReadOnlyPaths")]
fn bind_read_only_paths(&self) -> crate::zbus::Result<Vec<(String, String, bool, u64)>>;
#[zbus(property(emits_changed_signal = "const"), name = "TemporaryFileSystem")]
fn temporary_file_system(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "MountAPIVFS")]
fn mount_apivfs(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "BindLogSockets")]
fn bind_log_sockets(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "KeyringMode")]
fn keyring_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectProc")]
fn protect_proc(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProcSubset")]
fn proc_subset(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectHostname")]
fn protect_hostname(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "ProtectHostnameEx")]
fn protect_hostname_ex(&self) -> crate::zbus::Result<(String, String)>;
#[zbus(property(emits_changed_signal = "const"), name = "PrivateBPF")]
fn private_bpf(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "BPFDelegateCommands")]
fn bpf_delegate_commands(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "BPFDelegateMaps")]
fn bpf_delegate_maps(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "BPFDelegatePrograms")]
fn bpf_delegate_programs(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "BPFDelegateAttachments"
)]
fn bpf_delegate_attachments(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "MemoryKSM")]
fn memory_ksm(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "MemoryTHP")]
fn memory_thp(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "UserNamespacePath")]
fn user_namespace_path(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "NetworkNamespacePath"
)]
fn network_namespace_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "IPCNamespacePath")]
fn ipc_namespace_path(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RootImagePolicy")]
fn root_image_policy(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "MountImagePolicy")]
fn mount_image_policy(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "ExtensionImagePolicy"
)]
fn extension_image_policy(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StateDirectoryQuotaUsage"
)]
fn state_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
#[zbus(
property(emits_changed_signal = "false"),
name = "CacheDirectoryQuotaUsage"
)]
fn cache_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
#[zbus(
property(emits_changed_signal = "false"),
name = "LogsDirectoryQuotaUsage"
)]
fn logs_directory_quota_usage(&self) -> crate::zbus::Result<(u64, u64)>;
#[zbus(property(emits_changed_signal = "const"), name = "KillMode")]
fn kill_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "KillSignal")]
fn kill_signal(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "RestartKillSignal")]
fn restart_kill_signal(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "FinalKillSignal")]
fn final_kill_signal(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SendSIGKILL")]
fn send_sigkill(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SendSIGHUP")]
fn send_sighup(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "WatchdogSignal")]
fn watchdog_signal(&self) -> crate::zbus::Result<i32>;
}
#[proxy(
interface = "org.freedesktop.systemd1.Path",
gen_blocking = false,
default_service = "org.freedesktop.systemd1",
assume_defaults = false
)]
pub trait Path {
#[zbus(property(emits_changed_signal = "const"), name = "Unit")]
fn unit(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "Paths")]
fn paths(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "const"), name = "MakeDirectory")]
fn make_directory(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "DirectoryMode")]
fn directory_mode(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "true"), name = "Result")]
fn result(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "const"),
name = "TriggerLimitIntervalUSec"
)]
fn trigger_limit_interval_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "TriggerLimitBurst")]
fn trigger_limit_burst(&self) -> crate::zbus::Result<u32>;
}
#[proxy(
interface = "org.freedesktop.systemd1.Slice",
gen_blocking = false,
default_service = "org.freedesktop.systemd1",
assume_defaults = false
)]
pub trait Slice {
#[zbus(name = "GetProcesses")]
fn get_processes(&self) -> crate::zbus::Result<Vec<(String, u32, String)>>;
#[zbus(name = "AttachProcesses")]
fn attach_processes(&self, subcgroup: String, pids: Vec<u32>) -> crate::zbus::Result<()>;
#[zbus(name = "RemoveSubgroup")]
fn remove_subgroup(&self, subcgroup: String, flags: u64) -> crate::zbus::Result<()>;
#[zbus(property(emits_changed_signal = "false"), name = "ConcurrencyHardMax")]
fn concurrency_hard_max(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "false"), name = "ConcurrencySoftMax")]
fn concurrency_soft_max(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "false"), name = "NCurrentlyActive")]
fn n_currently_active(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "false"), name = "Slice")]
fn slice(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "ControlGroup")]
fn control_group(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "ControlGroupId")]
fn control_group_id(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryCurrent")]
fn memory_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryPeak")]
fn memory_peak(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapCurrent")]
fn memory_swap_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapPeak")]
fn memory_swap_peak(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapCurrent")]
fn memory_z_swap_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryAvailable")]
fn memory_available(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryMax")]
fn effective_memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryHigh")]
fn effective_memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUUsageNSec")]
fn cpu_usage_n_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveCPUs")]
fn effective_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "EffectiveMemoryNodes"
)]
fn effective_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksCurrent")]
fn tasks_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveTasksMax")]
fn effective_tasks_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressBytes")]
fn ip_ingress_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressPackets")]
fn ip_ingress_packets(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressBytes")]
fn ip_egress_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressPackets")]
fn ip_egress_packets(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadBytes")]
fn io_read_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadOperations")]
fn io_read_operations(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteBytes")]
fn io_write_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteOperations")]
fn io_write_operations(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "OOMKills")]
fn oom_kills(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMKills")]
fn managed_oom_kills(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "Delegate")]
fn delegate(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "DelegateControllers")]
fn delegate_controllers(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "DelegateSubgroup")]
fn delegate_subgroup(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUWeight")]
fn cpu_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupCPUWeight")]
fn startup_cpu_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPerSecUSec")]
fn cpu_quota_per_sec_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPeriodUSec")]
fn cpu_quota_period_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "AllowedCPUs")]
fn allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupAllowedCPUs")]
fn startup_allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "AllowedMemoryNodes")]
fn allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupAllowedMemoryNodes"
)]
fn startup_allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOAccounting")]
fn io_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWeight")]
fn io_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupIOWeight")]
fn startup_io_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IODeviceWeight")]
fn io_device_weight(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadBandwidthMax")]
fn io_read_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteBandwidthMax")]
fn io_write_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadIOPSMax")]
fn io_read_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteIOPSMax")]
fn io_write_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "IODeviceLatencyTargetUSec"
)]
fn io_device_latency_target_u_sec(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryAccounting")]
fn memory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryMin")]
fn memory_min(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryLow")]
fn memory_low(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryLow")]
fn startup_memory_low(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryHigh")]
fn memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryHigh")]
fn startup_memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryMax")]
fn memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryMax")]
fn startup_memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapMax")]
fn memory_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupMemorySwapMax"
)]
fn startup_memory_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapMax")]
fn memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupMemoryZSwapMax"
)]
fn startup_memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "MemoryZSwapWriteback"
)]
fn memory_z_swap_writeback(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "DevicePolicy")]
fn device_policy(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "DeviceAllow")]
fn device_allow(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksAccounting")]
fn tasks_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksMax")]
fn tasks_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAccounting")]
fn ip_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAddressAllow")]
fn ip_address_allow(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAddressDeny")]
fn ip_address_deny(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressFilterPath")]
fn ip_ingress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressFilterPath")]
fn ip_egress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "DisableControllers")]
fn disable_controllers(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMSwap")]
fn managed_oom_swap(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressure"
)]
fn managed_oom_memory_pressure(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressureLimit"
)]
fn managed_oom_memory_pressure_limit(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressureDurationUSec"
)]
fn managed_oom_memory_pressure_duration_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMPreference"
)]
fn managed_oom_preference(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "BPFProgram")]
fn bpf_program(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "SocketBindAllow")]
fn socket_bind_allow(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
#[zbus(property(emits_changed_signal = "false"), name = "SocketBindDeny")]
fn socket_bind_deny(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "RestrictNetworkInterfaces"
)]
fn restrict_network_interfaces(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(
property(emits_changed_signal = "false"),
name = "BindNetworkInterface"
)]
fn bind_network_interface(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryPressureWatch")]
fn memory_pressure_watch(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "MemoryPressureThresholdUSec"
)]
fn memory_pressure_threshold_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "NFTSet")]
fn nft_set(&self) -> crate::zbus::Result<Vec<(i32, i32, String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "CoredumpReceive")]
fn coredump_receive(&self) -> crate::zbus::Result<bool>;
}
#[proxy(
interface = "org.freedesktop.systemd1.Scope",
gen_blocking = false,
default_service = "org.freedesktop.systemd1",
assume_defaults = false
)]
pub trait Scope {
#[zbus(name = "Abandon")]
fn abandon(&self) -> crate::zbus::Result<()>;
#[zbus(name = "GetProcesses")]
fn get_processes(&self) -> crate::zbus::Result<Vec<(String, u32, String)>>;
#[zbus(name = "AttachProcesses")]
fn attach_processes(&self, subcgroup: String, pids: Vec<u32>) -> crate::zbus::Result<()>;
#[zbus(name = "RemoveSubgroup")]
fn remove_subgroup(&self, subcgroup: String, flags: u64) -> crate::zbus::Result<()>;
#[zbus(signal, name = "RequestStop")]
fn request_stop(&self) -> crate::zbus::Result<()>;
#[zbus(property(emits_changed_signal = "true"), name = "Controller")]
fn controller(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "TimeoutStopUSec")]
fn timeout_stop_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "true"), name = "Result")]
fn result(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "RuntimeMaxUSec")]
fn runtime_max_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "const"),
name = "RuntimeRandomizedExtraUSec"
)]
fn runtime_randomized_extra_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "const"), name = "OOMPolicy")]
fn oom_policy(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "Slice")]
fn slice(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "ControlGroup")]
fn control_group(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "ControlGroupId")]
fn control_group_id(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryCurrent")]
fn memory_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryPeak")]
fn memory_peak(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapCurrent")]
fn memory_swap_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapPeak")]
fn memory_swap_peak(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapCurrent")]
fn memory_z_swap_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryAvailable")]
fn memory_available(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryMax")]
fn effective_memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveMemoryHigh")]
fn effective_memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUUsageNSec")]
fn cpu_usage_n_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveCPUs")]
fn effective_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "EffectiveMemoryNodes"
)]
fn effective_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksCurrent")]
fn tasks_current(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "EffectiveTasksMax")]
fn effective_tasks_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressBytes")]
fn ip_ingress_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressPackets")]
fn ip_ingress_packets(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressBytes")]
fn ip_egress_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressPackets")]
fn ip_egress_packets(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadBytes")]
fn io_read_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadOperations")]
fn io_read_operations(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteBytes")]
fn io_write_bytes(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteOperations")]
fn io_write_operations(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "OOMKills")]
fn oom_kills(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMKills")]
fn managed_oom_kills(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "Delegate")]
fn delegate(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "DelegateControllers")]
fn delegate_controllers(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "DelegateSubgroup")]
fn delegate_subgroup(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUWeight")]
fn cpu_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupCPUWeight")]
fn startup_cpu_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPerSecUSec")]
fn cpu_quota_per_sec_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "CPUQuotaPeriodUSec")]
fn cpu_quota_period_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "AllowedCPUs")]
fn allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupAllowedCPUs")]
fn startup_allowed_cp_us(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "AllowedMemoryNodes")]
fn allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupAllowedMemoryNodes"
)]
fn startup_allowed_memory_nodes(&self) -> crate::zbus::Result<Vec<u8>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOAccounting")]
fn io_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWeight")]
fn io_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupIOWeight")]
fn startup_io_weight(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IODeviceWeight")]
fn io_device_weight(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadBandwidthMax")]
fn io_read_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteBandwidthMax")]
fn io_write_bandwidth_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOReadIOPSMax")]
fn io_read_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IOWriteIOPSMax")]
fn io_write_iops_max(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "IODeviceLatencyTargetUSec"
)]
fn io_device_latency_target_u_sec(&self) -> crate::zbus::Result<Vec<(String, u64)>>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryAccounting")]
fn memory_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryMin")]
fn memory_min(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryLow")]
fn memory_low(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryLow")]
fn startup_memory_low(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryHigh")]
fn memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryHigh")]
fn startup_memory_high(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryMax")]
fn memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "StartupMemoryMax")]
fn startup_memory_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemorySwapMax")]
fn memory_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupMemorySwapMax"
)]
fn startup_memory_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryZSwapMax")]
fn memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "StartupMemoryZSwapMax"
)]
fn startup_memory_z_swap_max(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "MemoryZSwapWriteback"
)]
fn memory_z_swap_writeback(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "DevicePolicy")]
fn device_policy(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "DeviceAllow")]
fn device_allow(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksAccounting")]
fn tasks_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "TasksMax")]
fn tasks_max(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAccounting")]
fn ip_accounting(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAddressAllow")]
fn ip_address_allow(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPAddressDeny")]
fn ip_address_deny(&self) -> crate::zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPIngressFilterPath")]
fn ip_ingress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "IPEgressFilterPath")]
fn ip_egress_filter_path(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "DisableControllers")]
fn disable_controllers(&self) -> crate::zbus::Result<Vec<String>>;
#[zbus(property(emits_changed_signal = "false"), name = "ManagedOOMSwap")]
fn managed_oom_swap(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressure"
)]
fn managed_oom_memory_pressure(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressureLimit"
)]
fn managed_oom_memory_pressure_limit(&self) -> crate::zbus::Result<u32>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMMemoryPressureDurationUSec"
)]
fn managed_oom_memory_pressure_duration_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(
property(emits_changed_signal = "false"),
name = "ManagedOOMPreference"
)]
fn managed_oom_preference(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "BPFProgram")]
fn bpf_program(&self) -> crate::zbus::Result<Vec<(String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "SocketBindAllow")]
fn socket_bind_allow(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
#[zbus(property(emits_changed_signal = "false"), name = "SocketBindDeny")]
fn socket_bind_deny(&self) -> crate::zbus::Result<Vec<(i32, i32, u16, u16)>>;
#[zbus(
property(emits_changed_signal = "false"),
name = "RestrictNetworkInterfaces"
)]
fn restrict_network_interfaces(&self) -> crate::zbus::Result<(bool, Vec<String>)>;
#[zbus(
property(emits_changed_signal = "false"),
name = "BindNetworkInterface"
)]
fn bind_network_interface(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "false"), name = "MemoryPressureWatch")]
fn memory_pressure_watch(&self) -> crate::zbus::Result<String>;
#[zbus(
property(emits_changed_signal = "false"),
name = "MemoryPressureThresholdUSec"
)]
fn memory_pressure_threshold_u_sec(&self) -> crate::zbus::Result<u64>;
#[zbus(property(emits_changed_signal = "false"), name = "NFTSet")]
fn nft_set(&self) -> crate::zbus::Result<Vec<(i32, i32, String, String)>>;
#[zbus(property(emits_changed_signal = "false"), name = "CoredumpReceive")]
fn coredump_receive(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "KillMode")]
fn kill_mode(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "KillSignal")]
fn kill_signal(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "RestartKillSignal")]
fn restart_kill_signal(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "FinalKillSignal")]
fn final_kill_signal(&self) -> crate::zbus::Result<i32>;
#[zbus(property(emits_changed_signal = "const"), name = "SendSIGKILL")]
fn send_sigkill(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "SendSIGHUP")]
fn send_sighup(&self) -> crate::zbus::Result<bool>;
#[zbus(property(emits_changed_signal = "const"), name = "WatchdogSignal")]
fn watchdog_signal(&self) -> crate::zbus::Result<i32>;
}
#[proxy(
interface = "org.freedesktop.systemd1.Job",
gen_blocking = false,
default_service = "org.freedesktop.systemd1",
assume_defaults = false
)]
pub trait Job {
#[zbus(name = "Cancel")]
fn cancel(&self) -> crate::zbus::Result<()>;
#[zbus(name = "GetAfter")]
fn get_after(
&self,
) -> crate::zbus::Result<
Vec<(
u32,
String,
String,
String,
crate::zvariant::OwnedObjectPath,
crate::zvariant::OwnedObjectPath,
)>,
>;
#[zbus(name = "GetBefore")]
fn get_before(
&self,
) -> crate::zbus::Result<
Vec<(
u32,
String,
String,
String,
crate::zvariant::OwnedObjectPath,
crate::zvariant::OwnedObjectPath,
)>,
>;
#[zbus(property(emits_changed_signal = "const"), name = "Id")]
fn id(&self) -> crate::zbus::Result<u32>;
#[zbus(property(emits_changed_signal = "const"), name = "Unit")]
fn unit(&self) -> crate::zbus::Result<(String, crate::zvariant::OwnedObjectPath)>;
#[zbus(property(emits_changed_signal = "const"), name = "JobType")]
fn job_type(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "true"), name = "State")]
fn state(&self) -> crate::zbus::Result<String>;
#[zbus(property(emits_changed_signal = "const"), name = "ActivationDetails")]
fn activation_details(&self) -> crate::zbus::Result<Vec<(String, String)>>;
}