pub struct ScopeProxyBlocking<'p>(/* private fields */);
Implementations§
Source§impl<'p> ScopeProxyBlocking<'p>
impl<'p> ScopeProxyBlocking<'p>
Sourcepub fn new<P>(conn: &Connection, path: P) -> Result<ScopeProxyBlocking<'p>>
pub fn new<P>(conn: &Connection, path: P) -> Result<ScopeProxyBlocking<'p>>
Creates a new proxy with the given path, and the default destination.
Sourcepub fn builder(conn: &Connection) -> Builder<'p, Self>
pub fn builder(conn: &Connection) -> Builder<'p, Self>
Returns a customizable builder for this proxy.
Sourcepub fn into_inner(self) -> Proxy<'p>
pub fn into_inner(self) -> Proxy<'p>
Consumes self
, returning the underlying zbus::Proxy
.
Sourcepub fn inner_mut(&mut self) -> &mut Proxy<'p>
pub fn inner_mut(&mut self) -> &mut Proxy<'p>
The mutable reference to the underlying zbus::Proxy
.
Sourcepub fn attach_processes(&self, subcgroup: &str, pids: &[u32]) -> Result<()>
pub fn attach_processes(&self, subcgroup: &str, pids: &[u32]) -> Result<()>
AttachProcesses method
Sourcepub fn get_processes(&self) -> Result<Vec<Process>>
pub fn get_processes(&self) -> Result<Vec<Process>>
GetProcesses method
Sourcepub fn receive_request_stop(&self) -> Result<RequestStopIterator>
pub fn receive_request_stop(&self) -> Result<RequestStopIterator>
Create a stream that receives RequestStop
signals.
This a convenient wrapper around zbus::blocking::Proxy::receive_signal
.
RequestStop signal
Sourcepub fn allowed_cpus(&self) -> Result<Vec<u8>>
pub fn allowed_cpus(&self) -> Result<Vec<u8>>
AllowedCPUs property
Sourcepub fn cached_allowed_cpus(
&self,
) -> Result<Option<<Result<Vec<u8>> as ResultAdapter>::Ok>, <Result<Vec<u8>> as ResultAdapter>::Err>
pub fn cached_allowed_cpus( &self, ) -> Result<Option<<Result<Vec<u8>> as ResultAdapter>::Ok>, <Result<Vec<u8>> as ResultAdapter>::Err>
Get the cached value of the AllowedCPUs
property, or None
if the property is not cached.
Sourcepub fn receive_allowed_cpus_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
pub fn receive_allowed_cpus_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
Create a stream for the AllowedCPUs
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn allowed_memory_nodes(&self) -> Result<Vec<u8>>
pub fn allowed_memory_nodes(&self) -> Result<Vec<u8>>
AllowedMemoryNodes property
Sourcepub fn cached_allowed_memory_nodes(
&self,
) -> Result<Option<<Result<Vec<u8>> as ResultAdapter>::Ok>, <Result<Vec<u8>> as ResultAdapter>::Err>
pub fn cached_allowed_memory_nodes( &self, ) -> Result<Option<<Result<Vec<u8>> as ResultAdapter>::Ok>, <Result<Vec<u8>> as ResultAdapter>::Err>
Get the cached value of the AllowedMemoryNodes
property, or None
if the property is not cached.
Sourcepub fn receive_allowed_memory_nodes_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
pub fn receive_allowed_memory_nodes_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
Create a stream for the AllowedMemoryNodes
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_bpf_program(
&self,
) -> Result<Option<<Result<Vec<(String, String)>> as ResultAdapter>::Ok>, <Result<Vec<(String, String)>> as ResultAdapter>::Err>
pub fn cached_bpf_program( &self, ) -> Result<Option<<Result<Vec<(String, String)>> as ResultAdapter>::Ok>, <Result<Vec<(String, String)>> as ResultAdapter>::Err>
Get the cached value of the BPFProgram
property, or None
if the property is not cached.
Sourcepub fn receive_bpf_program_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<(String, String)>> as ResultAdapter>::Ok>
pub fn receive_bpf_program_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<(String, String)>> as ResultAdapter>::Ok>
Create a stream for the BPFProgram
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn block_io_accounting(&self) -> Result<bool>
pub fn block_io_accounting(&self) -> Result<bool>
BlockIOAccounting property
Sourcepub fn cached_block_io_accounting(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_block_io_accounting( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the BlockIOAccounting
property, or None
if the property is not cached.
Sourcepub fn receive_block_io_accounting_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_block_io_accounting_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the BlockIOAccounting
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn block_io_device_weight(&self) -> Result<Vec<(String, u64)>>
pub fn block_io_device_weight(&self) -> Result<Vec<(String, u64)>>
BlockIODeviceWeight property
Sourcepub fn cached_block_io_device_weight(
&self,
) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
pub fn cached_block_io_device_weight( &self, ) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
Get the cached value of the BlockIODeviceWeight
property, or None
if the property is not cached.
Sourcepub fn receive_block_io_device_weight_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub fn receive_block_io_device_weight_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
Create a stream for the BlockIODeviceWeight
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn block_io_read_bandwidth(&self) -> Result<Vec<(String, u64)>>
pub fn block_io_read_bandwidth(&self) -> Result<Vec<(String, u64)>>
BlockIOReadBandwidth property
Sourcepub fn cached_block_io_read_bandwidth(
&self,
) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
pub fn cached_block_io_read_bandwidth( &self, ) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
Get the cached value of the BlockIOReadBandwidth
property, or None
if the property is not cached.
Sourcepub fn receive_block_io_read_bandwidth_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub fn receive_block_io_read_bandwidth_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
Create a stream for the BlockIOReadBandwidth
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn block_io_weight(&self) -> Result<u64>
pub fn block_io_weight(&self) -> Result<u64>
BlockIOWeight property
Sourcepub fn cached_block_io_weight(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_block_io_weight( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the BlockIOWeight
property, or None
if the property is not cached.
Sourcepub fn receive_block_io_weight_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_block_io_weight_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the BlockIOWeight
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn block_io_write_bandwidth(&self) -> Result<Vec<(String, u64)>>
pub fn block_io_write_bandwidth(&self) -> Result<Vec<(String, u64)>>
BlockIOWriteBandwidth property
Sourcepub fn cached_block_io_write_bandwidth(
&self,
) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
pub fn cached_block_io_write_bandwidth( &self, ) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
Get the cached value of the BlockIOWriteBandwidth
property, or None
if the property is not cached.
Sourcepub fn receive_block_io_write_bandwidth_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub fn receive_block_io_write_bandwidth_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
Create a stream for the BlockIOWriteBandwidth
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cpu_accounting(&self) -> Result<bool>
pub fn cpu_accounting(&self) -> Result<bool>
CPUAccounting property
Sourcepub fn cached_cpu_accounting(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_cpu_accounting( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the CPUAccounting
property, or None
if the property is not cached.
Sourcepub fn receive_cpu_accounting_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_cpu_accounting_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the CPUAccounting
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cpu_quota_per_sec_usec(&self) -> Result<u64>
pub fn cpu_quota_per_sec_usec(&self) -> Result<u64>
CPUQuotaPerSecUSec property
Sourcepub fn cached_cpu_quota_per_sec_usec(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_cpu_quota_per_sec_usec( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the CPUQuotaPerSecUSec
property, or None
if the property is not cached.
Sourcepub fn receive_cpu_quota_per_sec_usec_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_cpu_quota_per_sec_usec_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the CPUQuotaPerSecUSec
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cpu_quota_period_usec(&self) -> Result<u64>
pub fn cpu_quota_period_usec(&self) -> Result<u64>
CPUQuotaPeriodUSec property
Sourcepub fn cached_cpu_quota_period_usec(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_cpu_quota_period_usec( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the CPUQuotaPeriodUSec
property, or None
if the property is not cached.
Sourcepub fn receive_cpu_quota_period_usec_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_cpu_quota_period_usec_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the CPUQuotaPeriodUSec
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
CPUShares property
Get the cached value of the CPUShares
property, or None
if the property is not cached.
Create a stream for the CPUShares
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cpu_usage_nsec(&self) -> Result<u64>
pub fn cpu_usage_nsec(&self) -> Result<u64>
CPUUsageNSec property
Sourcepub fn cached_cpu_usage_nsec(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_cpu_usage_nsec( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the CPUUsageNSec
property, or None
if the property is not cached.
Sourcepub fn receive_cpu_usage_nsec_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_cpu_usage_nsec_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the CPUUsageNSec
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cpu_weight(&self) -> Result<u64>
pub fn cpu_weight(&self) -> Result<u64>
CPUWeight property
Sourcepub fn cached_cpu_weight(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_cpu_weight( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the CPUWeight
property, or None
if the property is not cached.
Sourcepub fn receive_cpu_weight_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_cpu_weight_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the CPUWeight
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn control_group(&self) -> Result<String>
pub fn control_group(&self) -> Result<String>
ControlGroup property
Sourcepub fn cached_control_group(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_control_group( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the ControlGroup
property, or None
if the property is not cached.
Sourcepub fn receive_control_group_changed(
&self,
) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
pub fn receive_control_group_changed( &self, ) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the ControlGroup
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn control_group_id(&self) -> Result<u64>
pub fn control_group_id(&self) -> Result<u64>
ControlGroupId property
Sourcepub fn cached_control_group_id(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_control_group_id( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the ControlGroupId
property, or None
if the property is not cached.
Sourcepub fn receive_control_group_id_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_control_group_id_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the ControlGroupId
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn controller(&self) -> Result<String>
pub fn controller(&self) -> Result<String>
Controller property
Sourcepub fn cached_controller(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_controller( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the Controller
property, or None
if the property is not cached.
Sourcepub fn receive_controller_changed(
&self,
) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
pub fn receive_controller_changed( &self, ) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the Controller
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn default_memory_low(&self) -> Result<u64>
pub fn default_memory_low(&self) -> Result<u64>
DefaultMemoryLow property
Sourcepub fn cached_default_memory_low(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_default_memory_low( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the DefaultMemoryLow
property, or None
if the property is not cached.
Sourcepub fn receive_default_memory_low_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_default_memory_low_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the DefaultMemoryLow
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn default_memory_min(&self) -> Result<u64>
pub fn default_memory_min(&self) -> Result<u64>
DefaultMemoryMin property
Sourcepub fn cached_default_memory_min(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_default_memory_min( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the DefaultMemoryMin
property, or None
if the property is not cached.
Sourcepub fn receive_default_memory_min_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_default_memory_min_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the DefaultMemoryMin
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_delegate(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_delegate( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the Delegate
property, or None
if the property is not cached.
Sourcepub fn receive_delegate_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_delegate_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the Delegate
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn delegate_controllers(&self) -> Result<Vec<String>>
pub fn delegate_controllers(&self) -> Result<Vec<String>>
DelegateControllers property
Sourcepub fn cached_delegate_controllers(
&self,
) -> Result<Option<<Result<Vec<String>> as ResultAdapter>::Ok>, <Result<Vec<String>> as ResultAdapter>::Err>
pub fn cached_delegate_controllers( &self, ) -> Result<Option<<Result<Vec<String>> as ResultAdapter>::Ok>, <Result<Vec<String>> as ResultAdapter>::Err>
Get the cached value of the DelegateControllers
property, or None
if the property is not cached.
Sourcepub fn receive_delegate_controllers_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
pub fn receive_delegate_controllers_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
Create a stream for the DelegateControllers
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_device_allow(
&self,
) -> Result<Option<<Result<Vec<(String, String)>> as ResultAdapter>::Ok>, <Result<Vec<(String, String)>> as ResultAdapter>::Err>
pub fn cached_device_allow( &self, ) -> Result<Option<<Result<Vec<(String, String)>> as ResultAdapter>::Ok>, <Result<Vec<(String, String)>> as ResultAdapter>::Err>
Get the cached value of the DeviceAllow
property, or None
if the property is not cached.
Sourcepub fn receive_device_allow_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<(String, String)>> as ResultAdapter>::Ok>
pub fn receive_device_allow_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<(String, String)>> as ResultAdapter>::Ok>
Create a stream for the DeviceAllow
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn device_policy(&self) -> Result<String>
pub fn device_policy(&self) -> Result<String>
DevicePolicy property
Sourcepub fn cached_device_policy(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_device_policy( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the DevicePolicy
property, or None
if the property is not cached.
Sourcepub fn receive_device_policy_changed(
&self,
) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
pub fn receive_device_policy_changed( &self, ) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the DevicePolicy
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn disable_controllers(&self) -> Result<Vec<String>>
pub fn disable_controllers(&self) -> Result<Vec<String>>
DisableControllers property
Sourcepub fn cached_disable_controllers(
&self,
) -> Result<Option<<Result<Vec<String>> as ResultAdapter>::Ok>, <Result<Vec<String>> as ResultAdapter>::Err>
pub fn cached_disable_controllers( &self, ) -> Result<Option<<Result<Vec<String>> as ResultAdapter>::Ok>, <Result<Vec<String>> as ResultAdapter>::Err>
Get the cached value of the DisableControllers
property, or None
if the property is not cached.
Sourcepub fn receive_disable_controllers_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
pub fn receive_disable_controllers_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
Create a stream for the DisableControllers
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn effective_cpus(&self) -> Result<Vec<u8>>
pub fn effective_cpus(&self) -> Result<Vec<u8>>
EffectiveCPUs property
Sourcepub fn cached_effective_cpus(
&self,
) -> Result<Option<<Result<Vec<u8>> as ResultAdapter>::Ok>, <Result<Vec<u8>> as ResultAdapter>::Err>
pub fn cached_effective_cpus( &self, ) -> Result<Option<<Result<Vec<u8>> as ResultAdapter>::Ok>, <Result<Vec<u8>> as ResultAdapter>::Err>
Get the cached value of the EffectiveCPUs
property, or None
if the property is not cached.
Sourcepub fn receive_effective_cpus_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
pub fn receive_effective_cpus_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
Create a stream for the EffectiveCPUs
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn effective_memory_nodes(&self) -> Result<Vec<u8>>
pub fn effective_memory_nodes(&self) -> Result<Vec<u8>>
EffectiveMemoryNodes property
Sourcepub fn cached_effective_memory_nodes(
&self,
) -> Result<Option<<Result<Vec<u8>> as ResultAdapter>::Ok>, <Result<Vec<u8>> as ResultAdapter>::Err>
pub fn cached_effective_memory_nodes( &self, ) -> Result<Option<<Result<Vec<u8>> as ResultAdapter>::Ok>, <Result<Vec<u8>> as ResultAdapter>::Err>
Get the cached value of the EffectiveMemoryNodes
property, or None
if the property is not cached.
Sourcepub fn receive_effective_memory_nodes_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
pub fn receive_effective_memory_nodes_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
Create a stream for the EffectiveMemoryNodes
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn final_kill_signal(&self) -> Result<i32>
pub fn final_kill_signal(&self) -> Result<i32>
FinalKillSignal property
Sourcepub fn cached_final_kill_signal(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_final_kill_signal( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the FinalKillSignal
property, or None
if the property is not cached.
Sourcepub fn receive_final_kill_signal_changed(
&self,
) -> PropertyIterator<'p, <Result<i32> as ResultAdapter>::Ok>
pub fn receive_final_kill_signal_changed( &self, ) -> PropertyIterator<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the FinalKillSignal
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn io_accounting(&self) -> Result<bool>
pub fn io_accounting(&self) -> Result<bool>
IOAccounting property
Sourcepub fn cached_io_accounting(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_io_accounting( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the IOAccounting
property, or None
if the property is not cached.
Sourcepub fn receive_io_accounting_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_io_accounting_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the IOAccounting
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn io_device_latency_target_usec(&self) -> Result<Vec<(String, u64)>>
pub fn io_device_latency_target_usec(&self) -> Result<Vec<(String, u64)>>
IODeviceLatencyTargetUSec property
Sourcepub fn cached_io_device_latency_target_usec(
&self,
) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
pub fn cached_io_device_latency_target_usec( &self, ) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
Get the cached value of the IODeviceLatencyTargetUSec
property, or None
if the property is not cached.
Sourcepub fn receive_io_device_latency_target_usec_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub fn receive_io_device_latency_target_usec_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
Create a stream for the IODeviceLatencyTargetUSec
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_io_device_weight(
&self,
) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
pub fn cached_io_device_weight( &self, ) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
Get the cached value of the IODeviceWeight
property, or None
if the property is not cached.
Sourcepub fn receive_io_device_weight_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub fn receive_io_device_weight_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
Create a stream for the IODeviceWeight
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_io_read_bandwidth_max(
&self,
) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
pub fn cached_io_read_bandwidth_max( &self, ) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
Get the cached value of the IOReadBandwidthMax
property, or None
if the property is not cached.
Sourcepub fn receive_io_read_bandwidth_max_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub fn receive_io_read_bandwidth_max_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
Create a stream for the IOReadBandwidthMax
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn io_read_bytes(&self) -> Result<u64>
pub fn io_read_bytes(&self) -> Result<u64>
IOReadBytes property
Sourcepub fn cached_io_read_bytes(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_io_read_bytes( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the IOReadBytes
property, or None
if the property is not cached.
Sourcepub fn receive_io_read_bytes_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_io_read_bytes_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the IOReadBytes
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_io_read_iops_max(
&self,
) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
pub fn cached_io_read_iops_max( &self, ) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
Get the cached value of the IOReadIOPSMax
property, or None
if the property is not cached.
Sourcepub fn receive_io_read_iops_max_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub fn receive_io_read_iops_max_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
Create a stream for the IOReadIOPSMax
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn io_read_operations(&self) -> Result<u64>
pub fn io_read_operations(&self) -> Result<u64>
IOReadOperations property
Sourcepub fn cached_io_read_operations(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_io_read_operations( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the IOReadOperations
property, or None
if the property is not cached.
Sourcepub fn receive_io_read_operations_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_io_read_operations_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the IOReadOperations
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_io_weight(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_io_weight( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the IOWeight
property, or None
if the property is not cached.
Sourcepub fn receive_io_weight_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_io_weight_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the IOWeight
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn io_write_bandwidth_max(&self) -> Result<Vec<(String, u64)>>
pub fn io_write_bandwidth_max(&self) -> Result<Vec<(String, u64)>>
IOWriteBandwidthMax property
Sourcepub fn cached_io_write_bandwidth_max(
&self,
) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
pub fn cached_io_write_bandwidth_max( &self, ) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
Get the cached value of the IOWriteBandwidthMax
property, or None
if the property is not cached.
Sourcepub fn receive_io_write_bandwidth_max_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub fn receive_io_write_bandwidth_max_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
Create a stream for the IOWriteBandwidthMax
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn io_write_bytes(&self) -> Result<u64>
pub fn io_write_bytes(&self) -> Result<u64>
IOWriteBytes property
Sourcepub fn cached_io_write_bytes(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_io_write_bytes( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the IOWriteBytes
property, or None
if the property is not cached.
Sourcepub fn receive_io_write_bytes_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_io_write_bytes_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the IOWriteBytes
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_io_write_iops_max(
&self,
) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
pub fn cached_io_write_iops_max( &self, ) -> Result<Option<<Result<Vec<(String, u64)>> as ResultAdapter>::Ok>, <Result<Vec<(String, u64)>> as ResultAdapter>::Err>
Get the cached value of the IOWriteIOPSMax
property, or None
if the property is not cached.
Sourcepub fn receive_io_write_iops_max_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub fn receive_io_write_iops_max_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
Create a stream for the IOWriteIOPSMax
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn io_write_operations(&self) -> Result<u64>
pub fn io_write_operations(&self) -> Result<u64>
IOWriteOperations property
Sourcepub fn cached_io_write_operations(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_io_write_operations( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the IOWriteOperations
property, or None
if the property is not cached.
Sourcepub fn receive_io_write_operations_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_io_write_operations_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the IOWriteOperations
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn ip_accounting(&self) -> Result<bool>
pub fn ip_accounting(&self) -> Result<bool>
IPAccounting property
Sourcepub fn cached_ip_accounting(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_ip_accounting( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the IPAccounting
property, or None
if the property is not cached.
Sourcepub fn receive_ip_accounting_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_ip_accounting_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the IPAccounting
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_ip_address_allow(
&self,
) -> Result<Option<<Result<Vec<(i32, Vec<u8>, u32)>> as ResultAdapter>::Ok>, <Result<Vec<(i32, Vec<u8>, u32)>> as ResultAdapter>::Err>
pub fn cached_ip_address_allow( &self, ) -> Result<Option<<Result<Vec<(i32, Vec<u8>, u32)>> as ResultAdapter>::Ok>, <Result<Vec<(i32, Vec<u8>, u32)>> as ResultAdapter>::Err>
Get the cached value of the IPAddressAllow
property, or None
if the property is not cached.
Sourcepub fn receive_ip_address_allow_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<(i32, Vec<u8>, u32)>> as ResultAdapter>::Ok>
pub fn receive_ip_address_allow_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<(i32, Vec<u8>, u32)>> as ResultAdapter>::Ok>
Create a stream for the IPAddressAllow
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_ipaddress_deny(
&self,
) -> Result<Option<<Result<Vec<(i32, Vec<u8>, u32)>> as ResultAdapter>::Ok>, <Result<Vec<(i32, Vec<u8>, u32)>> as ResultAdapter>::Err>
pub fn cached_ipaddress_deny( &self, ) -> Result<Option<<Result<Vec<(i32, Vec<u8>, u32)>> as ResultAdapter>::Ok>, <Result<Vec<(i32, Vec<u8>, u32)>> as ResultAdapter>::Err>
Get the cached value of the IPAddressDeny
property, or None
if the property is not cached.
Sourcepub fn receive_ipaddress_deny_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<(i32, Vec<u8>, u32)>> as ResultAdapter>::Ok>
pub fn receive_ipaddress_deny_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<(i32, Vec<u8>, u32)>> as ResultAdapter>::Ok>
Create a stream for the IPAddressDeny
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn ip_egress_bytes(&self) -> Result<u64>
pub fn ip_egress_bytes(&self) -> Result<u64>
IPEgressBytes property
Sourcepub fn cached_ip_egress_bytes(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_ip_egress_bytes( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the IPEgressBytes
property, or None
if the property is not cached.
Sourcepub fn receive_ip_egress_bytes_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_ip_egress_bytes_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the IPEgressBytes
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn ip_egress_filter_path(&self) -> Result<Vec<String>>
pub fn ip_egress_filter_path(&self) -> Result<Vec<String>>
IPEgressFilterPath property
Sourcepub fn cached_ip_egress_filter_path(
&self,
) -> Result<Option<<Result<Vec<String>> as ResultAdapter>::Ok>, <Result<Vec<String>> as ResultAdapter>::Err>
pub fn cached_ip_egress_filter_path( &self, ) -> Result<Option<<Result<Vec<String>> as ResultAdapter>::Ok>, <Result<Vec<String>> as ResultAdapter>::Err>
Get the cached value of the IPEgressFilterPath
property, or None
if the property is not cached.
Sourcepub fn receive_ip_egress_filter_path_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
pub fn receive_ip_egress_filter_path_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
Create a stream for the IPEgressFilterPath
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn ip_egress_packets(&self) -> Result<u64>
pub fn ip_egress_packets(&self) -> Result<u64>
IPEgressPackets property
Sourcepub fn cached_ip_egress_packets(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_ip_egress_packets( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the IPEgressPackets
property, or None
if the property is not cached.
Sourcepub fn receive_ip_egress_packets_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_ip_egress_packets_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the IPEgressPackets
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn ip_ingress_bytes(&self) -> Result<u64>
pub fn ip_ingress_bytes(&self) -> Result<u64>
IPIngressBytes property
Sourcepub fn cached_ip_ingress_bytes(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_ip_ingress_bytes( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the IPIngressBytes
property, or None
if the property is not cached.
Sourcepub fn receive_ip_ingress_bytes_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_ip_ingress_bytes_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the IPIngressBytes
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn ip_ingress_filter_path(&self) -> Result<Vec<String>>
pub fn ip_ingress_filter_path(&self) -> Result<Vec<String>>
IPIngressFilterPath property
Sourcepub fn cached_ip_ingress_filter_path(
&self,
) -> Result<Option<<Result<Vec<String>> as ResultAdapter>::Ok>, <Result<Vec<String>> as ResultAdapter>::Err>
pub fn cached_ip_ingress_filter_path( &self, ) -> Result<Option<<Result<Vec<String>> as ResultAdapter>::Ok>, <Result<Vec<String>> as ResultAdapter>::Err>
Get the cached value of the IPIngressFilterPath
property, or None
if the property is not cached.
Sourcepub fn receive_ip_ingress_filter_path_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
pub fn receive_ip_ingress_filter_path_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
Create a stream for the IPIngressFilterPath
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn ip_ingress_packets(&self) -> Result<u64>
pub fn ip_ingress_packets(&self) -> Result<u64>
IPIngressPackets property
Sourcepub fn cached_ip_ingress_packets(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_ip_ingress_packets( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the IPIngressPackets
property, or None
if the property is not cached.
Sourcepub fn receive_ip_ingress_packets_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_ip_ingress_packets_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the IPIngressPackets
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_kill_mode(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_kill_mode( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the KillMode
property, or None
if the property is not cached.
Sourcepub fn receive_kill_mode_changed(
&self,
) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
pub fn receive_kill_mode_changed( &self, ) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the KillMode
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn kill_signal(&self) -> Result<i32>
pub fn kill_signal(&self) -> Result<i32>
KillSignal property
Sourcepub fn cached_kill_signal(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_kill_signal( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the KillSignal
property, or None
if the property is not cached.
Sourcepub fn receive_kill_signal_changed(
&self,
) -> PropertyIterator<'p, <Result<i32> as ResultAdapter>::Ok>
pub fn receive_kill_signal_changed( &self, ) -> PropertyIterator<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the KillSignal
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn managed_oom_memory_pressure(&self) -> Result<String>
pub fn managed_oom_memory_pressure(&self) -> Result<String>
ManagedOOMMemoryPressure property
Sourcepub fn cached_managed_oom_memory_pressure(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_managed_oom_memory_pressure( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the ManagedOOMMemoryPressure
property, or None
if the property is not cached.
Sourcepub fn receive_managed_oom_memory_pressure_changed(
&self,
) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
pub fn receive_managed_oom_memory_pressure_changed( &self, ) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the ManagedOOMMemoryPressure
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn managed_oom_memory_pressure_limit(&self) -> Result<u32>
pub fn managed_oom_memory_pressure_limit(&self) -> Result<u32>
ManagedOOMMemoryPressureLimit property
Sourcepub fn cached_managed_oom_memory_pressure_limit(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_managed_oom_memory_pressure_limit( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
Get the cached value of the ManagedOOMMemoryPressureLimit
property, or None
if the property is not cached.
Sourcepub fn receive_managed_oom_memory_pressure_limit_changed(
&self,
) -> PropertyIterator<'p, <Result<u32> as ResultAdapter>::Ok>
pub fn receive_managed_oom_memory_pressure_limit_changed( &self, ) -> PropertyIterator<'p, <Result<u32> as ResultAdapter>::Ok>
Create a stream for the ManagedOOMMemoryPressureLimit
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn managed_oom_preference(&self) -> Result<String>
pub fn managed_oom_preference(&self) -> Result<String>
ManagedOOMPreference property
Sourcepub fn cached_managed_oom_preference(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_managed_oom_preference( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the ManagedOOMPreference
property, or None
if the property is not cached.
Sourcepub fn receive_managed_oom_preference_changed(
&self,
) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
pub fn receive_managed_oom_preference_changed( &self, ) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the ManagedOOMPreference
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn managed_oom_swap(&self) -> Result<String>
pub fn managed_oom_swap(&self) -> Result<String>
ManagedOOMSwap property
Sourcepub fn cached_managed_oom_swap(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_managed_oom_swap( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the ManagedOOMSwap
property, or None
if the property is not cached.
Sourcepub fn receive_managed_oom_swap_changed(
&self,
) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
pub fn receive_managed_oom_swap_changed( &self, ) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the ManagedOOMSwap
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn memory_accounting(&self) -> Result<bool>
pub fn memory_accounting(&self) -> Result<bool>
MemoryAccounting property
Sourcepub fn cached_memory_accounting(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_memory_accounting( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the MemoryAccounting
property, or None
if the property is not cached.
Sourcepub fn receive_memory_accounting_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_memory_accounting_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the MemoryAccounting
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn memory_available(&self) -> Result<u64>
pub fn memory_available(&self) -> Result<u64>
MemoryAvailable property
Sourcepub fn cached_memory_available(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_memory_available( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the MemoryAvailable
property, or None
if the property is not cached.
Sourcepub fn receive_memory_available_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_memory_available_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the MemoryAvailable
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn memory_current(&self) -> Result<u64>
pub fn memory_current(&self) -> Result<u64>
MemoryCurrent property
Sourcepub fn cached_memory_current(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_memory_current( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the MemoryCurrent
property, or None
if the property is not cached.
Sourcepub fn receive_memory_current_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_memory_current_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the MemoryCurrent
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn memory_high(&self) -> Result<u64>
pub fn memory_high(&self) -> Result<u64>
MemoryHigh property
Sourcepub fn cached_memory_high(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_memory_high( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the MemoryHigh
property, or None
if the property is not cached.
Sourcepub fn receive_memory_high_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_memory_high_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the MemoryHigh
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn memory_limit(&self) -> Result<u64>
pub fn memory_limit(&self) -> Result<u64>
MemoryLimit property
Sourcepub fn cached_memory_limit(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_memory_limit( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the MemoryLimit
property, or None
if the property is not cached.
Sourcepub fn receive_memory_limit_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_memory_limit_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the MemoryLimit
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn memory_low(&self) -> Result<u64>
pub fn memory_low(&self) -> Result<u64>
MemoryLow property
Sourcepub fn cached_memory_low(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_memory_low( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the MemoryLow
property, or None
if the property is not cached.
Sourcepub fn receive_memory_low_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_memory_low_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the MemoryLow
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn memory_max(&self) -> Result<u64>
pub fn memory_max(&self) -> Result<u64>
MemoryMax property
Sourcepub fn cached_memory_max(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_memory_max( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the MemoryMax
property, or None
if the property is not cached.
Sourcepub fn receive_memory_max_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_memory_max_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the MemoryMax
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn memory_min(&self) -> Result<u64>
pub fn memory_min(&self) -> Result<u64>
MemoryMin property
Sourcepub fn cached_memory_min(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_memory_min( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the MemoryMin
property, or None
if the property is not cached.
Sourcepub fn receive_memory_min_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_memory_min_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the MemoryMin
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn memory_swap_max(&self) -> Result<u64>
pub fn memory_swap_max(&self) -> Result<u64>
MemorySwapMax property
Sourcepub fn cached_memory_swap_max(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_memory_swap_max( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the MemorySwapMax
property, or None
if the property is not cached.
Sourcepub fn receive_memory_swap_max_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_memory_swap_max_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the MemorySwapMax
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn restart_kill_signal(&self) -> Result<i32>
pub fn restart_kill_signal(&self) -> Result<i32>
RestartKillSignal property
Sourcepub fn cached_restart_kill_signal(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_restart_kill_signal( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the RestartKillSignal
property, or None
if the property is not cached.
Sourcepub fn receive_restart_kill_signal_changed(
&self,
) -> PropertyIterator<'p, <Result<i32> as ResultAdapter>::Ok>
pub fn receive_restart_kill_signal_changed( &self, ) -> PropertyIterator<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the RestartKillSignal
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn restrict_network_interfaces(&self) -> Result<(bool, Vec<String>)>
pub fn restrict_network_interfaces(&self) -> Result<(bool, Vec<String>)>
RestrictNetworkInterfaces property
Sourcepub fn cached_restrict_network_interfaces(
&self,
) -> Result<Option<<Result<(bool, Vec<String>)> as ResultAdapter>::Ok>, <Result<(bool, Vec<String>)> as ResultAdapter>::Err>
pub fn cached_restrict_network_interfaces( &self, ) -> Result<Option<<Result<(bool, Vec<String>)> as ResultAdapter>::Ok>, <Result<(bool, Vec<String>)> as ResultAdapter>::Err>
Get the cached value of the RestrictNetworkInterfaces
property, or None
if the property is not cached.
Sourcepub fn receive_restrict_network_interfaces_changed(
&self,
) -> PropertyIterator<'p, <Result<(bool, Vec<String>)> as ResultAdapter>::Ok>
pub fn receive_restrict_network_interfaces_changed( &self, ) -> PropertyIterator<'p, <Result<(bool, Vec<String>)> as ResultAdapter>::Ok>
Create a stream for the RestrictNetworkInterfaces
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_result(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_result( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the Result
property, or None
if the property is not cached.
Sourcepub fn receive_result_changed(
&self,
) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
pub fn receive_result_changed( &self, ) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the Result
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn runtime_max_usec(&self) -> Result<u64>
pub fn runtime_max_usec(&self) -> Result<u64>
RuntimeMaxUSec property
Sourcepub fn cached_runtime_max_usec(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_runtime_max_usec( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the RuntimeMaxUSec
property, or None
if the property is not cached.
Sourcepub fn receive_runtime_max_usec_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_runtime_max_usec_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the RuntimeMaxUSec
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn runtime_randomized_extra_usec(&self) -> Result<u64>
pub fn runtime_randomized_extra_usec(&self) -> Result<u64>
RuntimeRandomizedExtraUSec property
Sourcepub fn cached_runtime_randomized_extra_usec(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_runtime_randomized_extra_usec( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the RuntimeRandomizedExtraUSec
property, or None
if the property is not cached.
Sourcepub fn receive_runtime_randomized_extra_usec_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_runtime_randomized_extra_usec_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the RuntimeRandomizedExtraUSec
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn send_sighup(&self) -> Result<bool>
pub fn send_sighup(&self) -> Result<bool>
SendSIGHUP property
Sourcepub fn cached_send_sighup(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_send_sighup( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the SendSIGHUP
property, or None
if the property is not cached.
Sourcepub fn receive_send_sighup_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_send_sighup_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the SendSIGHUP
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn send_sigkill(&self) -> Result<bool>
pub fn send_sigkill(&self) -> Result<bool>
SendSIGKILL property
Sourcepub fn cached_send_sigkill(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_send_sigkill( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the SendSIGKILL
property, or None
if the property is not cached.
Sourcepub fn receive_send_sigkill_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_send_sigkill_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the SendSIGKILL
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_slice(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_slice( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the Slice
property, or None
if the property is not cached.
Sourcepub fn receive_slice_changed(
&self,
) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
pub fn receive_slice_changed( &self, ) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the Slice
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_socket_bind_allow(
&self,
) -> Result<Option<<Result<Vec<(i32, i32, u16, u16)>> as ResultAdapter>::Ok>, <Result<Vec<(i32, i32, u16, u16)>> as ResultAdapter>::Err>
pub fn cached_socket_bind_allow( &self, ) -> Result<Option<<Result<Vec<(i32, i32, u16, u16)>> as ResultAdapter>::Ok>, <Result<Vec<(i32, i32, u16, u16)>> as ResultAdapter>::Err>
Get the cached value of the SocketBindAllow
property, or None
if the property is not cached.
Sourcepub fn receive_socket_bind_allow_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<(i32, i32, u16, u16)>> as ResultAdapter>::Ok>
pub fn receive_socket_bind_allow_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<(i32, i32, u16, u16)>> as ResultAdapter>::Ok>
Create a stream for the SocketBindAllow
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_socket_bind_deny(
&self,
) -> Result<Option<<Result<Vec<(i32, i32, u16, u16)>> as ResultAdapter>::Ok>, <Result<Vec<(i32, i32, u16, u16)>> as ResultAdapter>::Err>
pub fn cached_socket_bind_deny( &self, ) -> Result<Option<<Result<Vec<(i32, i32, u16, u16)>> as ResultAdapter>::Ok>, <Result<Vec<(i32, i32, u16, u16)>> as ResultAdapter>::Err>
Get the cached value of the SocketBindDeny
property, or None
if the property is not cached.
Sourcepub fn receive_socket_bind_deny_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<(i32, i32, u16, u16)>> as ResultAdapter>::Ok>
pub fn receive_socket_bind_deny_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<(i32, i32, u16, u16)>> as ResultAdapter>::Ok>
Create a stream for the SocketBindDeny
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn startup_allowed_cpus(&self) -> Result<Vec<u8>>
pub fn startup_allowed_cpus(&self) -> Result<Vec<u8>>
StartupAllowedCPUs property
Sourcepub fn cached_startup_allowed_cpus(
&self,
) -> Result<Option<<Result<Vec<u8>> as ResultAdapter>::Ok>, <Result<Vec<u8>> as ResultAdapter>::Err>
pub fn cached_startup_allowed_cpus( &self, ) -> Result<Option<<Result<Vec<u8>> as ResultAdapter>::Ok>, <Result<Vec<u8>> as ResultAdapter>::Err>
Get the cached value of the StartupAllowedCPUs
property, or None
if the property is not cached.
Sourcepub fn receive_startup_allowed_cpus_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
pub fn receive_startup_allowed_cpus_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
Create a stream for the StartupAllowedCPUs
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn startup_allowed_memory_nodes(&self) -> Result<Vec<u8>>
pub fn startup_allowed_memory_nodes(&self) -> Result<Vec<u8>>
StartupAllowedMemoryNodes property
Sourcepub fn cached_startup_allowed_memory_nodes(
&self,
) -> Result<Option<<Result<Vec<u8>> as ResultAdapter>::Ok>, <Result<Vec<u8>> as ResultAdapter>::Err>
pub fn cached_startup_allowed_memory_nodes( &self, ) -> Result<Option<<Result<Vec<u8>> as ResultAdapter>::Ok>, <Result<Vec<u8>> as ResultAdapter>::Err>
Get the cached value of the StartupAllowedMemoryNodes
property, or None
if the property is not cached.
Sourcepub fn receive_startup_allowed_memory_nodes_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
pub fn receive_startup_allowed_memory_nodes_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
Create a stream for the StartupAllowedMemoryNodes
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn startup_block_io_weight(&self) -> Result<u64>
pub fn startup_block_io_weight(&self) -> Result<u64>
StartupBlockIOWeight property
Sourcepub fn cached_startup_block_io_weight(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_startup_block_io_weight( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the StartupBlockIOWeight
property, or None
if the property is not cached.
Sourcepub fn receive_startup_block_io_weight_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_startup_block_io_weight_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the StartupBlockIOWeight
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
StartupCPUShares property
Get the cached value of the StartupCPUShares
property, or None
if the property is not cached.
Create a stream for the StartupCPUShares
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn startup_cpu_weight(&self) -> Result<u64>
pub fn startup_cpu_weight(&self) -> Result<u64>
StartupCPUWeight property
Sourcepub fn cached_startup_cpu_weight(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_startup_cpu_weight( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the StartupCPUWeight
property, or None
if the property is not cached.
Sourcepub fn receive_startup_cpu_weight_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_startup_cpu_weight_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the StartupCPUWeight
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn startup_io_weight(&self) -> Result<u64>
pub fn startup_io_weight(&self) -> Result<u64>
StartupIOWeight property
Sourcepub fn cached_startup_io_weight(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_startup_io_weight( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the StartupIOWeight
property, or None
if the property is not cached.
Sourcepub fn receive_startup_io_weight_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_startup_io_weight_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the StartupIOWeight
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn tasks_accounting(&self) -> Result<bool>
pub fn tasks_accounting(&self) -> Result<bool>
TasksAccounting property
Sourcepub fn cached_tasks_accounting(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_tasks_accounting( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the TasksAccounting
property, or None
if the property is not cached.
Sourcepub fn receive_tasks_accounting_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_tasks_accounting_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the TasksAccounting
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn tasks_current(&self) -> Result<u64>
pub fn tasks_current(&self) -> Result<u64>
TasksCurrent property
Sourcepub fn cached_tasks_current(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_tasks_current( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the TasksCurrent
property, or None
if the property is not cached.
Sourcepub fn receive_tasks_current_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_tasks_current_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the TasksCurrent
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_tasks_max(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_tasks_max( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the TasksMax
property, or None
if the property is not cached.
Sourcepub fn receive_tasks_max_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_tasks_max_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the TasksMax
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn timeout_stop_usec(&self) -> Result<u64>
pub fn timeout_stop_usec(&self) -> Result<u64>
TimeoutStopUSec property
Sourcepub fn cached_timeout_stop_usec(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_timeout_stop_usec( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the TimeoutStopUSec
property, or None
if the property is not cached.
Sourcepub fn receive_timeout_stop_usec_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_timeout_stop_usec_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the TimeoutStopUSec
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn watchdog_signal(&self) -> Result<i32>
pub fn watchdog_signal(&self) -> Result<i32>
WatchdogSignal property
Sourcepub fn cached_watchdog_signal(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_watchdog_signal( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the WatchdogSignal
property, or None
if the property is not cached.
Sourcepub fn receive_watchdog_signal_changed(
&self,
) -> PropertyIterator<'p, <Result<i32> as ResultAdapter>::Ok>
pub fn receive_watchdog_signal_changed( &self, ) -> PropertyIterator<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the WatchdogSignal
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for ScopeProxyBlocking<'p>
impl<'p> AsMut<Proxy<'p>> for ScopeProxyBlocking<'p>
Source§impl<'p> AsRef<Proxy<'p>> for ScopeProxyBlocking<'p>
impl<'p> AsRef<Proxy<'p>> for ScopeProxyBlocking<'p>
Source§impl<'p> Clone for ScopeProxyBlocking<'p>
impl<'p> Clone for ScopeProxyBlocking<'p>
Source§fn clone(&self) -> ScopeProxyBlocking<'p>
fn clone(&self) -> ScopeProxyBlocking<'p>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more