pub struct ScopeProxy<'p>(/* private fields */);
Implementations§
Source§impl<'p> ScopeProxy<'p>
impl<'p> ScopeProxy<'p>
Sourcepub async fn new<P>(conn: &Connection, path: P) -> Result<ScopeProxy<'p>>
pub async fn new<P>(conn: &Connection, path: P) -> Result<ScopeProxy<'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 async fn attach_processes(
&self,
subcgroup: &str,
pids: &[u32],
) -> Result<()>
pub async fn attach_processes( &self, subcgroup: &str, pids: &[u32], ) -> Result<()>
AttachProcesses method
Sourcepub async fn get_processes(&self) -> Result<Vec<Process>>
pub async fn get_processes(&self) -> Result<Vec<Process>>
GetProcesses method
Sourcepub async fn receive_request_stop(&self) -> Result<RequestStopStream>
pub async fn receive_request_stop(&self) -> Result<RequestStopStream>
Create a stream that receives RequestStop
signals.
This a convenient wrapper around zbus::Proxy::receive_signal
.
RequestStop signal
Sourcepub async fn allowed_cpus(&self) -> Result<Vec<u8>>
pub async 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>
AllowedCPUs property
Get the cached value of the AllowedCPUs
property, or None
if the property is not cached.
Sourcepub async fn receive_allowed_cpus_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
pub async fn receive_allowed_cpus_changed( &self, ) -> PropertyStream<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
AllowedCPUs property
Create a stream for the AllowedCPUs
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn allowed_memory_nodes(&self) -> Result<Vec<u8>>
pub async 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>
AllowedMemoryNodes property
Get the cached value of the AllowedMemoryNodes
property, or None
if the property is not cached.
Sourcepub async fn receive_allowed_memory_nodes_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
pub async fn receive_allowed_memory_nodes_changed( &self, ) -> PropertyStream<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
AllowedMemoryNodes property
Create a stream for the AllowedMemoryNodes
property changes. This is a convenient wrapper around zbus::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>
BPFProgram property
Get the cached value of the BPFProgram
property, or None
if the property is not cached.
Sourcepub async fn receive_bpf_program_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<(String, String)>> as ResultAdapter>::Ok>
pub async fn receive_bpf_program_changed( &self, ) -> PropertyStream<'p, <Result<Vec<(String, String)>> as ResultAdapter>::Ok>
BPFProgram property
Create a stream for the BPFProgram
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn block_io_accounting(&self) -> Result<bool>
pub async 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>
BlockIOAccounting property
Get the cached value of the BlockIOAccounting
property, or None
if the property is not cached.
Sourcepub async fn receive_block_io_accounting_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_block_io_accounting_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
BlockIOAccounting property
Create a stream for the BlockIOAccounting
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn block_io_device_weight(&self) -> Result<Vec<(String, u64)>>
pub async 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>
BlockIODeviceWeight property
Get the cached value of the BlockIODeviceWeight
property, or None
if the property is not cached.
Sourcepub async fn receive_block_io_device_weight_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub async fn receive_block_io_device_weight_changed( &self, ) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
BlockIODeviceWeight property
Create a stream for the BlockIODeviceWeight
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn block_io_read_bandwidth(&self) -> Result<Vec<(String, u64)>>
pub async 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>
BlockIOReadBandwidth property
Get the cached value of the BlockIOReadBandwidth
property, or None
if the property is not cached.
Sourcepub async fn receive_block_io_read_bandwidth_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub async fn receive_block_io_read_bandwidth_changed( &self, ) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
BlockIOReadBandwidth property
Create a stream for the BlockIOReadBandwidth
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn block_io_weight(&self) -> Result<u64>
pub async 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>
BlockIOWeight property
Get the cached value of the BlockIOWeight
property, or None
if the property is not cached.
Sourcepub async fn receive_block_io_weight_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_block_io_weight_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
BlockIOWeight property
Create a stream for the BlockIOWeight
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn block_io_write_bandwidth(&self) -> Result<Vec<(String, u64)>>
pub async 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>
BlockIOWriteBandwidth property
Get the cached value of the BlockIOWriteBandwidth
property, or None
if the property is not cached.
Sourcepub async fn receive_block_io_write_bandwidth_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub async fn receive_block_io_write_bandwidth_changed( &self, ) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
BlockIOWriteBandwidth property
Create a stream for the BlockIOWriteBandwidth
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn cpu_accounting(&self) -> Result<bool>
pub async 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>
CPUAccounting property
Get the cached value of the CPUAccounting
property, or None
if the property is not cached.
Sourcepub async fn receive_cpu_accounting_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_cpu_accounting_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
CPUAccounting property
Create a stream for the CPUAccounting
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn cpu_quota_per_sec_usec(&self) -> Result<u64>
pub async 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>
CPUQuotaPerSecUSec property
Get the cached value of the CPUQuotaPerSecUSec
property, or None
if the property is not cached.
Sourcepub async fn receive_cpu_quota_per_sec_usec_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_cpu_quota_per_sec_usec_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
CPUQuotaPerSecUSec property
Create a stream for the CPUQuotaPerSecUSec
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn cpu_quota_period_usec(&self) -> Result<u64>
pub async 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>
CPUQuotaPeriodUSec property
Get the cached value of the CPUQuotaPeriodUSec
property, or None
if the property is not cached.
Sourcepub async fn receive_cpu_quota_period_usec_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_cpu_quota_period_usec_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
CPUQuotaPeriodUSec property
Create a stream for the CPUQuotaPeriodUSec
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
CPUShares property
CPUShares property
Get the cached value of the CPUShares
property, or None
if the property is not cached.
CPUShares property
Create a stream for the CPUShares
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn cpu_usage_nsec(&self) -> Result<u64>
pub async 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>
CPUUsageNSec property
Get the cached value of the CPUUsageNSec
property, or None
if the property is not cached.
Sourcepub async fn receive_cpu_usage_nsec_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_cpu_usage_nsec_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
CPUUsageNSec property
Create a stream for the CPUUsageNSec
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn cpu_weight(&self) -> Result<u64>
pub async 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>
CPUWeight property
Get the cached value of the CPUWeight
property, or None
if the property is not cached.
Sourcepub async fn receive_cpu_weight_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_cpu_weight_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
CPUWeight property
Create a stream for the CPUWeight
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn control_group(&self) -> Result<String>
pub async 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>
ControlGroup property
Get the cached value of the ControlGroup
property, or None
if the property is not cached.
Sourcepub async fn receive_control_group_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_control_group_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
ControlGroup property
Create a stream for the ControlGroup
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn control_group_id(&self) -> Result<u64>
pub async 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>
ControlGroupId property
Get the cached value of the ControlGroupId
property, or None
if the property is not cached.
Sourcepub async fn receive_control_group_id_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_control_group_id_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
ControlGroupId property
Create a stream for the ControlGroupId
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn controller(&self) -> Result<String>
pub async 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>
Controller property
Get the cached value of the Controller
property, or None
if the property is not cached.
Sourcepub async fn receive_controller_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_controller_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Controller property
Create a stream for the Controller
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn default_memory_low(&self) -> Result<u64>
pub async 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>
DefaultMemoryLow property
Get the cached value of the DefaultMemoryLow
property, or None
if the property is not cached.
Sourcepub async fn receive_default_memory_low_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_default_memory_low_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
DefaultMemoryLow property
Create a stream for the DefaultMemoryLow
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn default_memory_min(&self) -> Result<u64>
pub async 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>
DefaultMemoryMin property
Get the cached value of the DefaultMemoryMin
property, or None
if the property is not cached.
Sourcepub async fn receive_default_memory_min_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_default_memory_min_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
DefaultMemoryMin property
Create a stream for the DefaultMemoryMin
property changes. This is a convenient wrapper around zbus::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>
Delegate property
Get the cached value of the Delegate
property, or None
if the property is not cached.
Sourcepub async fn receive_delegate_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_delegate_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
Delegate property
Create a stream for the Delegate
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn delegate_controllers(&self) -> Result<Vec<String>>
pub async 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>
DelegateControllers property
Get the cached value of the DelegateControllers
property, or None
if the property is not cached.
Sourcepub async fn receive_delegate_controllers_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
pub async fn receive_delegate_controllers_changed( &self, ) -> PropertyStream<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
DelegateControllers property
Create a stream for the DelegateControllers
property changes. This is a convenient wrapper around zbus::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>
DeviceAllow property
Get the cached value of the DeviceAllow
property, or None
if the property is not cached.
Sourcepub async fn receive_device_allow_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<(String, String)>> as ResultAdapter>::Ok>
pub async fn receive_device_allow_changed( &self, ) -> PropertyStream<'p, <Result<Vec<(String, String)>> as ResultAdapter>::Ok>
DeviceAllow property
Create a stream for the DeviceAllow
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn device_policy(&self) -> Result<String>
pub async 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>
DevicePolicy property
Get the cached value of the DevicePolicy
property, or None
if the property is not cached.
Sourcepub async fn receive_device_policy_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_device_policy_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
DevicePolicy property
Create a stream for the DevicePolicy
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn disable_controllers(&self) -> Result<Vec<String>>
pub async 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>
DisableControllers property
Get the cached value of the DisableControllers
property, or None
if the property is not cached.
Sourcepub async fn receive_disable_controllers_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
pub async fn receive_disable_controllers_changed( &self, ) -> PropertyStream<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
DisableControllers property
Create a stream for the DisableControllers
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn effective_cpus(&self) -> Result<Vec<u8>>
pub async 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>
EffectiveCPUs property
Get the cached value of the EffectiveCPUs
property, or None
if the property is not cached.
Sourcepub async fn receive_effective_cpus_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
pub async fn receive_effective_cpus_changed( &self, ) -> PropertyStream<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
EffectiveCPUs property
Create a stream for the EffectiveCPUs
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn effective_memory_nodes(&self) -> Result<Vec<u8>>
pub async 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>
EffectiveMemoryNodes property
Get the cached value of the EffectiveMemoryNodes
property, or None
if the property is not cached.
Sourcepub async fn receive_effective_memory_nodes_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
pub async fn receive_effective_memory_nodes_changed( &self, ) -> PropertyStream<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
EffectiveMemoryNodes property
Create a stream for the EffectiveMemoryNodes
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn final_kill_signal(&self) -> Result<i32>
pub async 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>
FinalKillSignal property
Get the cached value of the FinalKillSignal
property, or None
if the property is not cached.
Sourcepub async fn receive_final_kill_signal_changed(
&self,
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_final_kill_signal_changed( &self, ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
FinalKillSignal property
Create a stream for the FinalKillSignal
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn io_accounting(&self) -> Result<bool>
pub async 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>
IOAccounting property
Get the cached value of the IOAccounting
property, or None
if the property is not cached.
Sourcepub async fn receive_io_accounting_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_io_accounting_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
IOAccounting property
Create a stream for the IOAccounting
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn io_device_latency_target_usec(&self) -> Result<Vec<(String, u64)>>
pub async 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>
IODeviceLatencyTargetUSec property
Get the cached value of the IODeviceLatencyTargetUSec
property, or None
if the property is not cached.
Sourcepub async fn receive_io_device_latency_target_usec_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub async fn receive_io_device_latency_target_usec_changed( &self, ) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
IODeviceLatencyTargetUSec property
Create a stream for the IODeviceLatencyTargetUSec
property changes. This is a convenient wrapper around zbus::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>
IODeviceWeight property
Get the cached value of the IODeviceWeight
property, or None
if the property is not cached.
Sourcepub async fn receive_io_device_weight_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub async fn receive_io_device_weight_changed( &self, ) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
IODeviceWeight property
Create a stream for the IODeviceWeight
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn io_read_bandwidth_max(&self) -> Result<Vec<(String, u64)>>
pub async fn io_read_bandwidth_max(&self) -> Result<Vec<(String, u64)>>
IOReadBandwidthMax property
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>
IOReadBandwidthMax property
Get the cached value of the IOReadBandwidthMax
property, or None
if the property is not cached.
Sourcepub async fn receive_io_read_bandwidth_max_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub async fn receive_io_read_bandwidth_max_changed( &self, ) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
IOReadBandwidthMax property
Create a stream for the IOReadBandwidthMax
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn io_read_bytes(&self) -> Result<u64>
pub async 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>
IOReadBytes property
Get the cached value of the IOReadBytes
property, or None
if the property is not cached.
Sourcepub async fn receive_io_read_bytes_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_io_read_bytes_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
IOReadBytes property
Create a stream for the IOReadBytes
property changes. This is a convenient wrapper around zbus::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>
IOReadIOPSMax property
Get the cached value of the IOReadIOPSMax
property, or None
if the property is not cached.
Sourcepub async fn receive_io_read_iops_max_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub async fn receive_io_read_iops_max_changed( &self, ) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
IOReadIOPSMax property
Create a stream for the IOReadIOPSMax
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn io_read_operations(&self) -> Result<u64>
pub async 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>
IOReadOperations property
Get the cached value of the IOReadOperations
property, or None
if the property is not cached.
Sourcepub async fn receive_io_read_operations_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_io_read_operations_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
IOReadOperations property
Create a stream for the IOReadOperations
property changes. This is a convenient wrapper around zbus::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>
IOWeight property
Get the cached value of the IOWeight
property, or None
if the property is not cached.
Sourcepub async fn receive_io_weight_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_io_weight_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
IOWeight property
Create a stream for the IOWeight
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn io_write_bandwidth_max(&self) -> Result<Vec<(String, u64)>>
pub async 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>
IOWriteBandwidthMax property
Get the cached value of the IOWriteBandwidthMax
property, or None
if the property is not cached.
Sourcepub async fn receive_io_write_bandwidth_max_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub async fn receive_io_write_bandwidth_max_changed( &self, ) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
IOWriteBandwidthMax property
Create a stream for the IOWriteBandwidthMax
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn io_write_bytes(&self) -> Result<u64>
pub async 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>
IOWriteBytes property
Get the cached value of the IOWriteBytes
property, or None
if the property is not cached.
Sourcepub async fn receive_io_write_bytes_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_io_write_bytes_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
IOWriteBytes property
Create a stream for the IOWriteBytes
property changes. This is a convenient wrapper around zbus::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>
IOWriteIOPSMax property
Get the cached value of the IOWriteIOPSMax
property, or None
if the property is not cached.
Sourcepub async fn receive_io_write_iops_max_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
pub async fn receive_io_write_iops_max_changed( &self, ) -> PropertyStream<'p, <Result<Vec<(String, u64)>> as ResultAdapter>::Ok>
IOWriteIOPSMax property
Create a stream for the IOWriteIOPSMax
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn io_write_operations(&self) -> Result<u64>
pub async 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>
IOWriteOperations property
Get the cached value of the IOWriteOperations
property, or None
if the property is not cached.
Sourcepub async fn receive_io_write_operations_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_io_write_operations_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
IOWriteOperations property
Create a stream for the IOWriteOperations
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn ip_accounting(&self) -> Result<bool>
pub async 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>
IPAccounting property
Get the cached value of the IPAccounting
property, or None
if the property is not cached.
Sourcepub async fn receive_ip_accounting_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_ip_accounting_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
IPAccounting property
Create a stream for the IPAccounting
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn ip_address_allow(&self) -> Result<Vec<(i32, Vec<u8>, u32)>>
pub async fn ip_address_allow(&self) -> Result<Vec<(i32, Vec<u8>, u32)>>
IPAddressAllow property
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>
IPAddressAllow property
Get the cached value of the IPAddressAllow
property, or None
if the property is not cached.
Sourcepub async fn receive_ip_address_allow_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<(i32, Vec<u8>, u32)>> as ResultAdapter>::Ok>
pub async fn receive_ip_address_allow_changed( &self, ) -> PropertyStream<'p, <Result<Vec<(i32, Vec<u8>, u32)>> as ResultAdapter>::Ok>
IPAddressAllow property
Create a stream for the IPAddressAllow
property changes. This is a convenient wrapper around zbus::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>
IPAddressDeny property
Get the cached value of the IPAddressDeny
property, or None
if the property is not cached.
Sourcepub async fn receive_ipaddress_deny_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<(i32, Vec<u8>, u32)>> as ResultAdapter>::Ok>
pub async fn receive_ipaddress_deny_changed( &self, ) -> PropertyStream<'p, <Result<Vec<(i32, Vec<u8>, u32)>> as ResultAdapter>::Ok>
IPAddressDeny property
Create a stream for the IPAddressDeny
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn ip_egress_bytes(&self) -> Result<u64>
pub async 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>
IPEgressBytes property
Get the cached value of the IPEgressBytes
property, or None
if the property is not cached.
Sourcepub async fn receive_ip_egress_bytes_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_ip_egress_bytes_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
IPEgressBytes property
Create a stream for the IPEgressBytes
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn ip_egress_filter_path(&self) -> Result<Vec<String>>
pub async 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>
IPEgressFilterPath property
Get the cached value of the IPEgressFilterPath
property, or None
if the property is not cached.
Sourcepub async fn receive_ip_egress_filter_path_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
pub async fn receive_ip_egress_filter_path_changed( &self, ) -> PropertyStream<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
IPEgressFilterPath property
Create a stream for the IPEgressFilterPath
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn ip_egress_packets(&self) -> Result<u64>
pub async 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>
IPEgressPackets property
Get the cached value of the IPEgressPackets
property, or None
if the property is not cached.
Sourcepub async fn receive_ip_egress_packets_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_ip_egress_packets_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
IPEgressPackets property
Create a stream for the IPEgressPackets
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn ip_ingress_bytes(&self) -> Result<u64>
pub async 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>
IPIngressBytes property
Get the cached value of the IPIngressBytes
property, or None
if the property is not cached.
Sourcepub async fn receive_ip_ingress_bytes_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_ip_ingress_bytes_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
IPIngressBytes property
Create a stream for the IPIngressBytes
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn ip_ingress_filter_path(&self) -> Result<Vec<String>>
pub async 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>
IPIngressFilterPath property
Get the cached value of the IPIngressFilterPath
property, or None
if the property is not cached.
Sourcepub async fn receive_ip_ingress_filter_path_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
pub async fn receive_ip_ingress_filter_path_changed( &self, ) -> PropertyStream<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
IPIngressFilterPath property
Create a stream for the IPIngressFilterPath
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn ip_ingress_packets(&self) -> Result<u64>
pub async 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>
IPIngressPackets property
Get the cached value of the IPIngressPackets
property, or None
if the property is not cached.
Sourcepub async fn receive_ip_ingress_packets_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_ip_ingress_packets_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
IPIngressPackets property
Create a stream for the IPIngressPackets
property changes. This is a convenient wrapper around zbus::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>
KillMode property
Get the cached value of the KillMode
property, or None
if the property is not cached.
Sourcepub async fn receive_kill_mode_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_kill_mode_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
KillMode property
Create a stream for the KillMode
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn kill_signal(&self) -> Result<i32>
pub async 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>
KillSignal property
Get the cached value of the KillSignal
property, or None
if the property is not cached.
Sourcepub async fn receive_kill_signal_changed(
&self,
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_kill_signal_changed( &self, ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
KillSignal property
Create a stream for the KillSignal
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn managed_oom_memory_pressure(&self) -> Result<String>
pub async 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>
ManagedOOMMemoryPressure property
Get the cached value of the ManagedOOMMemoryPressure
property, or None
if the property is not cached.
Sourcepub async fn receive_managed_oom_memory_pressure_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_managed_oom_memory_pressure_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
ManagedOOMMemoryPressure property
Create a stream for the ManagedOOMMemoryPressure
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn managed_oom_memory_pressure_limit(&self) -> Result<u32>
pub async 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>
ManagedOOMMemoryPressureLimit property
Get the cached value of the ManagedOOMMemoryPressureLimit
property, or None
if the property is not cached.
Sourcepub async fn receive_managed_oom_memory_pressure_limit_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_managed_oom_memory_pressure_limit_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
ManagedOOMMemoryPressureLimit property
Create a stream for the ManagedOOMMemoryPressureLimit
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn managed_oom_preference(&self) -> Result<String>
pub async 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>
ManagedOOMPreference property
Get the cached value of the ManagedOOMPreference
property, or None
if the property is not cached.
Sourcepub async fn receive_managed_oom_preference_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_managed_oom_preference_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
ManagedOOMPreference property
Create a stream for the ManagedOOMPreference
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn managed_oom_swap(&self) -> Result<String>
pub async 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>
ManagedOOMSwap property
Get the cached value of the ManagedOOMSwap
property, or None
if the property is not cached.
Sourcepub async fn receive_managed_oom_swap_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_managed_oom_swap_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
ManagedOOMSwap property
Create a stream for the ManagedOOMSwap
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn memory_accounting(&self) -> Result<bool>
pub async 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>
MemoryAccounting property
Get the cached value of the MemoryAccounting
property, or None
if the property is not cached.
Sourcepub async fn receive_memory_accounting_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_memory_accounting_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
MemoryAccounting property
Create a stream for the MemoryAccounting
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn memory_available(&self) -> Result<u64>
pub async 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>
MemoryAvailable property
Get the cached value of the MemoryAvailable
property, or None
if the property is not cached.
Sourcepub async fn receive_memory_available_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_memory_available_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
MemoryAvailable property
Create a stream for the MemoryAvailable
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn memory_current(&self) -> Result<u64>
pub async 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>
MemoryCurrent property
Get the cached value of the MemoryCurrent
property, or None
if the property is not cached.
Sourcepub async fn receive_memory_current_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_memory_current_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
MemoryCurrent property
Create a stream for the MemoryCurrent
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn memory_high(&self) -> Result<u64>
pub async 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>
MemoryHigh property
Get the cached value of the MemoryHigh
property, or None
if the property is not cached.
Sourcepub async fn receive_memory_high_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_memory_high_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
MemoryHigh property
Create a stream for the MemoryHigh
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn memory_limit(&self) -> Result<u64>
pub async 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>
MemoryLimit property
Get the cached value of the MemoryLimit
property, or None
if the property is not cached.
Sourcepub async fn receive_memory_limit_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_memory_limit_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
MemoryLimit property
Create a stream for the MemoryLimit
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn memory_low(&self) -> Result<u64>
pub async 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>
MemoryLow property
Get the cached value of the MemoryLow
property, or None
if the property is not cached.
Sourcepub async fn receive_memory_low_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_memory_low_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
MemoryLow property
Create a stream for the MemoryLow
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn memory_max(&self) -> Result<u64>
pub async 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>
MemoryMax property
Get the cached value of the MemoryMax
property, or None
if the property is not cached.
Sourcepub async fn receive_memory_max_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_memory_max_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
MemoryMax property
Create a stream for the MemoryMax
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn memory_min(&self) -> Result<u64>
pub async 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>
MemoryMin property
Get the cached value of the MemoryMin
property, or None
if the property is not cached.
Sourcepub async fn receive_memory_min_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_memory_min_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
MemoryMin property
Create a stream for the MemoryMin
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn memory_swap_max(&self) -> Result<u64>
pub async 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>
MemorySwapMax property
Get the cached value of the MemorySwapMax
property, or None
if the property is not cached.
Sourcepub async fn receive_memory_swap_max_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_memory_swap_max_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
MemorySwapMax property
Create a stream for the MemorySwapMax
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn restart_kill_signal(&self) -> Result<i32>
pub async 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>
RestartKillSignal property
Get the cached value of the RestartKillSignal
property, or None
if the property is not cached.
Sourcepub async fn receive_restart_kill_signal_changed(
&self,
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_restart_kill_signal_changed( &self, ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
RestartKillSignal property
Create a stream for the RestartKillSignal
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn restrict_network_interfaces(&self) -> Result<(bool, Vec<String>)>
pub async 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>
RestrictNetworkInterfaces property
Get the cached value of the RestrictNetworkInterfaces
property, or None
if the property is not cached.
Sourcepub async fn receive_restrict_network_interfaces_changed(
&self,
) -> PropertyStream<'p, <Result<(bool, Vec<String>)> as ResultAdapter>::Ok>
pub async fn receive_restrict_network_interfaces_changed( &self, ) -> PropertyStream<'p, <Result<(bool, Vec<String>)> as ResultAdapter>::Ok>
RestrictNetworkInterfaces property
Create a stream for the RestrictNetworkInterfaces
property changes. This is a convenient wrapper around zbus::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>
Result property
Get the cached value of the Result
property, or None
if the property is not cached.
Sourcepub async fn receive_result_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_result_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Result property
Create a stream for the Result
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn runtime_max_usec(&self) -> Result<u64>
pub async 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>
RuntimeMaxUSec property
Get the cached value of the RuntimeMaxUSec
property, or None
if the property is not cached.
Sourcepub async fn receive_runtime_max_usec_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_runtime_max_usec_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
RuntimeMaxUSec property
Create a stream for the RuntimeMaxUSec
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn runtime_randomized_extra_usec(&self) -> Result<u64>
pub async 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>
RuntimeRandomizedExtraUSec property
Get the cached value of the RuntimeRandomizedExtraUSec
property, or None
if the property is not cached.
Sourcepub async fn receive_runtime_randomized_extra_usec_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_runtime_randomized_extra_usec_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
RuntimeRandomizedExtraUSec property
Create a stream for the RuntimeRandomizedExtraUSec
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn send_sighup(&self) -> Result<bool>
pub async 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>
SendSIGHUP property
Get the cached value of the SendSIGHUP
property, or None
if the property is not cached.
Sourcepub async fn receive_send_sighup_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_send_sighup_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
SendSIGHUP property
Create a stream for the SendSIGHUP
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn send_sigkill(&self) -> Result<bool>
pub async 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>
SendSIGKILL property
Get the cached value of the SendSIGKILL
property, or None
if the property is not cached.
Sourcepub async fn receive_send_sigkill_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_send_sigkill_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
SendSIGKILL property
Create a stream for the SendSIGKILL
property changes. This is a convenient wrapper around zbus::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>
Slice property
Get the cached value of the Slice
property, or None
if the property is not cached.
Sourcepub async fn receive_slice_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_slice_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Slice property
Create a stream for the Slice
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn socket_bind_allow(&self) -> Result<Vec<(i32, i32, u16, u16)>>
pub async fn socket_bind_allow(&self) -> Result<Vec<(i32, i32, u16, u16)>>
SocketBindAllow property
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>
SocketBindAllow property
Get the cached value of the SocketBindAllow
property, or None
if the property is not cached.
Sourcepub async fn receive_socket_bind_allow_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<(i32, i32, u16, u16)>> as ResultAdapter>::Ok>
pub async fn receive_socket_bind_allow_changed( &self, ) -> PropertyStream<'p, <Result<Vec<(i32, i32, u16, u16)>> as ResultAdapter>::Ok>
SocketBindAllow property
Create a stream for the SocketBindAllow
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn socket_bind_deny(&self) -> Result<Vec<(i32, i32, u16, u16)>>
pub async fn socket_bind_deny(&self) -> Result<Vec<(i32, i32, u16, u16)>>
SocketBindDeny property
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>
SocketBindDeny property
Get the cached value of the SocketBindDeny
property, or None
if the property is not cached.
Sourcepub async fn receive_socket_bind_deny_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<(i32, i32, u16, u16)>> as ResultAdapter>::Ok>
pub async fn receive_socket_bind_deny_changed( &self, ) -> PropertyStream<'p, <Result<Vec<(i32, i32, u16, u16)>> as ResultAdapter>::Ok>
SocketBindDeny property
Create a stream for the SocketBindDeny
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn startup_allowed_cpus(&self) -> Result<Vec<u8>>
pub async 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>
StartupAllowedCPUs property
Get the cached value of the StartupAllowedCPUs
property, or None
if the property is not cached.
Sourcepub async fn receive_startup_allowed_cpus_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
pub async fn receive_startup_allowed_cpus_changed( &self, ) -> PropertyStream<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
StartupAllowedCPUs property
Create a stream for the StartupAllowedCPUs
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn startup_allowed_memory_nodes(&self) -> Result<Vec<u8>>
pub async 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>
StartupAllowedMemoryNodes property
Get the cached value of the StartupAllowedMemoryNodes
property, or None
if the property is not cached.
Sourcepub async fn receive_startup_allowed_memory_nodes_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
pub async fn receive_startup_allowed_memory_nodes_changed( &self, ) -> PropertyStream<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
StartupAllowedMemoryNodes property
Create a stream for the StartupAllowedMemoryNodes
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn startup_block_io_weight(&self) -> Result<u64>
pub async 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>
StartupBlockIOWeight property
Get the cached value of the StartupBlockIOWeight
property, or None
if the property is not cached.
Sourcepub async fn receive_startup_block_io_weight_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_startup_block_io_weight_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
StartupBlockIOWeight property
Create a stream for the StartupBlockIOWeight
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
StartupCPUShares property
StartupCPUShares property
Get the cached value of the StartupCPUShares
property, or None
if the property is not cached.
StartupCPUShares property
Create a stream for the StartupCPUShares
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn startup_cpu_weight(&self) -> Result<u64>
pub async 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>
StartupCPUWeight property
Get the cached value of the StartupCPUWeight
property, or None
if the property is not cached.
Sourcepub async fn receive_startup_cpu_weight_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_startup_cpu_weight_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
StartupCPUWeight property
Create a stream for the StartupCPUWeight
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn startup_io_weight(&self) -> Result<u64>
pub async 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>
StartupIOWeight property
Get the cached value of the StartupIOWeight
property, or None
if the property is not cached.
Sourcepub async fn receive_startup_io_weight_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_startup_io_weight_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
StartupIOWeight property
Create a stream for the StartupIOWeight
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn tasks_accounting(&self) -> Result<bool>
pub async 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>
TasksAccounting property
Get the cached value of the TasksAccounting
property, or None
if the property is not cached.
Sourcepub async fn receive_tasks_accounting_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_tasks_accounting_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
TasksAccounting property
Create a stream for the TasksAccounting
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn tasks_current(&self) -> Result<u64>
pub async 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>
TasksCurrent property
Get the cached value of the TasksCurrent
property, or None
if the property is not cached.
Sourcepub async fn receive_tasks_current_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_tasks_current_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
TasksCurrent property
Create a stream for the TasksCurrent
property changes. This is a convenient wrapper around zbus::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>
TasksMax property
Get the cached value of the TasksMax
property, or None
if the property is not cached.
Sourcepub async fn receive_tasks_max_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_tasks_max_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
TasksMax property
Create a stream for the TasksMax
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn timeout_stop_usec(&self) -> Result<u64>
pub async 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>
TimeoutStopUSec property
Get the cached value of the TimeoutStopUSec
property, or None
if the property is not cached.
Sourcepub async fn receive_timeout_stop_usec_changed(
&self,
) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
pub async fn receive_timeout_stop_usec_changed( &self, ) -> PropertyStream<'p, <Result<u64> as ResultAdapter>::Ok>
TimeoutStopUSec property
Create a stream for the TimeoutStopUSec
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn watchdog_signal(&self) -> Result<i32>
pub async 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>
WatchdogSignal property
Get the cached value of the WatchdogSignal
property, or None
if the property is not cached.
Sourcepub async fn receive_watchdog_signal_changed(
&self,
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_watchdog_signal_changed( &self, ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
WatchdogSignal property
Create a stream for the WatchdogSignal
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for ScopeProxy<'p>
impl<'p> AsMut<Proxy<'p>> for ScopeProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for ScopeProxy<'p>
impl<'p> AsRef<Proxy<'p>> for ScopeProxy<'p>
Source§impl<'p> Clone for ScopeProxy<'p>
impl<'p> Clone for ScopeProxy<'p>
Source§fn clone(&self) -> ScopeProxy<'p>
fn clone(&self) -> ScopeProxy<'p>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more