pub struct NetworkManagerProxy<'p>(/* private fields */);Implementations§
Source§impl<'p> NetworkManagerProxy<'p>
impl<'p> NetworkManagerProxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<NetworkManagerProxy<'p>>
pub async fn new(conn: &Connection) -> Result<NetworkManagerProxy<'p>>
Creates a new proxy with the default service and path.
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 activate_connection(
&self,
connection: &ObjectPath<'_>,
device: &ObjectPath<'_>,
specific_object: &ObjectPath<'_>,
) -> Result<OwnedObjectPath>
pub async fn activate_connection( &self, connection: &ObjectPath<'_>, device: &ObjectPath<'_>, specific_object: &ObjectPath<'_>, ) -> Result<OwnedObjectPath>
ActivateConnection method
Sourcepub async fn add_and_activate_connection(
&self,
connection: HashMap<&str, HashMap<&str, Value<'_>>>,
device: &ObjectPath<'_>,
specific_object: &ObjectPath<'_>,
) -> Result<(OwnedObjectPath, OwnedObjectPath)>
pub async fn add_and_activate_connection( &self, connection: HashMap<&str, HashMap<&str, Value<'_>>>, device: &ObjectPath<'_>, specific_object: &ObjectPath<'_>, ) -> Result<(OwnedObjectPath, OwnedObjectPath)>
AddAndActivateConnection method
Sourcepub async fn add_and_activate_connection2(
&self,
connection: HashMap<&str, HashMap<&str, Value<'_>>>,
device: &ObjectPath<'_>,
specific_object: &ObjectPath<'_>,
options: HashMap<&str, Value<'_>>,
) -> Result<(OwnedObjectPath, OwnedObjectPath, HashMap<String, OwnedValue>)>
pub async fn add_and_activate_connection2( &self, connection: HashMap<&str, HashMap<&str, Value<'_>>>, device: &ObjectPath<'_>, specific_object: &ObjectPath<'_>, options: HashMap<&str, Value<'_>>, ) -> Result<(OwnedObjectPath, OwnedObjectPath, HashMap<String, OwnedValue>)>
AddAndActivateConnection2 method
Sourcepub async fn check_connectivity(&self) -> Result<u32>
pub async fn check_connectivity(&self) -> Result<u32>
CheckConnectivity method
Sourcepub async fn checkpoint_adjust_rollback_timeout(
&self,
checkpoint: &ObjectPath<'_>,
add_timeout: u32,
) -> Result<()>
pub async fn checkpoint_adjust_rollback_timeout( &self, checkpoint: &ObjectPath<'_>, add_timeout: u32, ) -> Result<()>
CheckpointAdjustRollbackTimeout method
Sourcepub async fn checkpoint_create(
&self,
devices: &[ObjectPath<'_>],
rollback_timeout: u32,
flags: u32,
) -> Result<OwnedObjectPath>
pub async fn checkpoint_create( &self, devices: &[ObjectPath<'_>], rollback_timeout: u32, flags: u32, ) -> Result<OwnedObjectPath>
CheckpointCreate method
Sourcepub async fn checkpoint_destroy(
&self,
checkpoint: &ObjectPath<'_>,
) -> Result<()>
pub async fn checkpoint_destroy( &self, checkpoint: &ObjectPath<'_>, ) -> Result<()>
CheckpointDestroy method
Sourcepub async fn checkpoint_rollback(
&self,
checkpoint: &ObjectPath<'_>,
) -> Result<HashMap<String, u32>>
pub async fn checkpoint_rollback( &self, checkpoint: &ObjectPath<'_>, ) -> Result<HashMap<String, u32>>
CheckpointRollback method
Sourcepub async fn deactivate_connection(
&self,
active_connection: &ObjectPath<'_>,
) -> Result<()>
pub async fn deactivate_connection( &self, active_connection: &ObjectPath<'_>, ) -> Result<()>
DeactivateConnection method
Sourcepub async fn get_all_devices(&self) -> Result<Vec<OwnedObjectPath>>
pub async fn get_all_devices(&self) -> Result<Vec<OwnedObjectPath>>
GetAllDevices method
Sourcepub async fn get_device_by_ip_iface(
&self,
iface: &str,
) -> Result<OwnedObjectPath>
pub async fn get_device_by_ip_iface( &self, iface: &str, ) -> Result<OwnedObjectPath>
GetDeviceByIpIface method
Sourcepub async fn get_devices(&self) -> Result<Vec<OwnedObjectPath>>
pub async fn get_devices(&self) -> Result<Vec<OwnedObjectPath>>
GetDevices method
Sourcepub async fn get_logging(&self) -> Result<(String, String)>
pub async fn get_logging(&self) -> Result<(String, String)>
GetLogging method
Sourcepub async fn receive_check_permissions(&self) -> Result<CheckPermissionsStream>
pub async fn receive_check_permissions(&self) -> Result<CheckPermissionsStream>
Create a stream that receives CheckPermissions signals.
This a convenient wrapper around zbus::Proxy::receive_signal.
CheckPermissions signal
Sourcepub async fn receive_device_added(&self) -> Result<DeviceAddedStream>
pub async fn receive_device_added(&self) -> Result<DeviceAddedStream>
Create a stream that receives DeviceAdded signals.
This a convenient wrapper around zbus::Proxy::receive_signal.
DeviceAdded signal
Sourcepub async fn receive_device_added_with_args(
&self,
args: &[(u8, &str)],
) -> Result<DeviceAddedStream>
pub async fn receive_device_added_with_args( &self, args: &[(u8, &str)], ) -> Result<DeviceAddedStream>
Create a stream that receives DeviceAdded signals.
This a convenient wrapper around zbus::Proxy::receive_signal_with_args.
DeviceAdded signal
Sourcepub async fn receive_device_removed(&self) -> Result<DeviceRemovedStream>
pub async fn receive_device_removed(&self) -> Result<DeviceRemovedStream>
Create a stream that receives DeviceRemoved signals.
This a convenient wrapper around zbus::Proxy::receive_signal.
DeviceRemoved signal
Sourcepub async fn receive_device_removed_with_args(
&self,
args: &[(u8, &str)],
) -> Result<DeviceRemovedStream>
pub async fn receive_device_removed_with_args( &self, args: &[(u8, &str)], ) -> Result<DeviceRemovedStream>
Create a stream that receives DeviceRemoved signals.
This a convenient wrapper around zbus::Proxy::receive_signal_with_args.
DeviceRemoved signal
Sourcepub async fn receive_state_changed(&self) -> Result<StateChangedStream>
pub async fn receive_state_changed(&self) -> Result<StateChangedStream>
Create a stream that receives StateChanged signals.
This a convenient wrapper around zbus::Proxy::receive_signal.
StateChanged signal
Sourcepub async fn receive_state_changed_with_args(
&self,
args: &[(u8, &str)],
) -> Result<StateChangedStream>
pub async fn receive_state_changed_with_args( &self, args: &[(u8, &str)], ) -> Result<StateChangedStream>
Create a stream that receives StateChanged signals.
This a convenient wrapper around zbus::Proxy::receive_signal_with_args.
StateChanged signal
Sourcepub async fn activating_connection(&self) -> Result<OwnedObjectPath>
pub async fn activating_connection(&self) -> Result<OwnedObjectPath>
ActivatingConnection property
Sourcepub fn cached_activating_connection(
&self,
) -> Result<Option<<Result<OwnedObjectPath> as ResultAdapter>::Ok>, <Result<OwnedObjectPath> as ResultAdapter>::Err>
pub fn cached_activating_connection( &self, ) -> Result<Option<<Result<OwnedObjectPath> as ResultAdapter>::Ok>, <Result<OwnedObjectPath> as ResultAdapter>::Err>
ActivatingConnection property
Get the cached value of the ActivatingConnection property, or None if the property is not cached.
Sourcepub async fn receive_activating_connection_changed(
&self,
) -> PropertyStream<'p, <Result<OwnedObjectPath> as ResultAdapter>::Ok>
pub async fn receive_activating_connection_changed( &self, ) -> PropertyStream<'p, <Result<OwnedObjectPath> as ResultAdapter>::Ok>
ActivatingConnection property
Create a stream for the ActivatingConnection property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn active_connections(&self) -> Result<Vec<OwnedObjectPath>>
pub async fn active_connections(&self) -> Result<Vec<OwnedObjectPath>>
ActiveConnections property
Sourcepub fn cached_active_connections(
&self,
) -> Result<Option<<Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Err>
pub fn cached_active_connections( &self, ) -> Result<Option<<Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Err>
ActiveConnections property
Get the cached value of the ActiveConnections property, or None if the property is not cached.
Sourcepub async fn receive_active_connections_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>
pub async fn receive_active_connections_changed( &self, ) -> PropertyStream<'p, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>
ActiveConnections property
Create a stream for the ActiveConnections property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn all_devices(&self) -> Result<Vec<OwnedObjectPath>>
pub async fn all_devices(&self) -> Result<Vec<OwnedObjectPath>>
AllDevices property
Sourcepub fn cached_all_devices(
&self,
) -> Result<Option<<Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Err>
pub fn cached_all_devices( &self, ) -> Result<Option<<Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Err>
AllDevices property
Get the cached value of the AllDevices property, or None if the property is not cached.
Sourcepub async fn receive_all_devices_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>
pub async fn receive_all_devices_changed( &self, ) -> PropertyStream<'p, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>
AllDevices property
Create a stream for the AllDevices property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn capabilities(&self) -> Result<Vec<u32>>
pub async fn capabilities(&self) -> Result<Vec<u32>>
Capabilities property
Sourcepub fn cached_capabilities(
&self,
) -> Result<Option<<Result<Vec<u32>> as ResultAdapter>::Ok>, <Result<Vec<u32>> as ResultAdapter>::Err>
pub fn cached_capabilities( &self, ) -> Result<Option<<Result<Vec<u32>> as ResultAdapter>::Ok>, <Result<Vec<u32>> as ResultAdapter>::Err>
Capabilities property
Get the cached value of the Capabilities property, or None if the property is not cached.
Sourcepub async fn receive_capabilities_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<u32>> as ResultAdapter>::Ok>
pub async fn receive_capabilities_changed( &self, ) -> PropertyStream<'p, <Result<Vec<u32>> as ResultAdapter>::Ok>
Capabilities property
Create a stream for the Capabilities property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn checkpoints(&self) -> Result<Vec<OwnedObjectPath>>
pub async fn checkpoints(&self) -> Result<Vec<OwnedObjectPath>>
Checkpoints property
Sourcepub fn cached_checkpoints(
&self,
) -> Result<Option<<Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Err>
pub fn cached_checkpoints( &self, ) -> Result<Option<<Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Err>
Checkpoints property
Get the cached value of the Checkpoints property, or None if the property is not cached.
Sourcepub async fn receive_checkpoints_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>
pub async fn receive_checkpoints_changed( &self, ) -> PropertyStream<'p, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>
Checkpoints property
Create a stream for the Checkpoints property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn connectivity(&self) -> Result<u32>
pub async fn connectivity(&self) -> Result<u32>
Connectivity property
Sourcepub fn cached_connectivity(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_connectivity( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
Connectivity property
Get the cached value of the Connectivity property, or None if the property is not cached.
Sourcepub async fn receive_connectivity_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_connectivity_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
Connectivity property
Create a stream for the Connectivity property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn connectivity_check_available(&self) -> Result<bool>
pub async fn connectivity_check_available(&self) -> Result<bool>
ConnectivityCheckAvailable property
Sourcepub fn cached_connectivity_check_available(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_connectivity_check_available( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
ConnectivityCheckAvailable property
Get the cached value of the ConnectivityCheckAvailable property, or None if the property is not cached.
Sourcepub async fn receive_connectivity_check_available_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_connectivity_check_available_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
ConnectivityCheckAvailable property
Create a stream for the ConnectivityCheckAvailable property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn connectivity_check_enabled(&self) -> Result<bool>
pub async fn connectivity_check_enabled(&self) -> Result<bool>
ConnectivityCheckEnabled property
Sourcepub fn cached_connectivity_check_enabled(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_connectivity_check_enabled( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
ConnectivityCheckEnabled property
Get the cached value of the ConnectivityCheckEnabled property, or None if the property is not cached.
Sourcepub async fn receive_connectivity_check_enabled_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_connectivity_check_enabled_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
ConnectivityCheckEnabled property
Create a stream for the ConnectivityCheckEnabled property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
pub async fn set_connectivity_check_enabled(&self, value: bool) -> Result<()>
Sourcepub async fn connectivity_check_uri(&self) -> Result<String>
pub async fn connectivity_check_uri(&self) -> Result<String>
ConnectivityCheckUri property
Sourcepub fn cached_connectivity_check_uri(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_connectivity_check_uri( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
ConnectivityCheckUri property
Get the cached value of the ConnectivityCheckUri property, or None if the property is not cached.
Sourcepub async fn receive_connectivity_check_uri_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_connectivity_check_uri_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
ConnectivityCheckUri property
Create a stream for the ConnectivityCheckUri property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn devices(&self) -> Result<Vec<OwnedObjectPath>>
pub async fn devices(&self) -> Result<Vec<OwnedObjectPath>>
Devices property
Sourcepub fn cached_devices(
&self,
) -> Result<Option<<Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Err>
pub fn cached_devices( &self, ) -> Result<Option<<Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Err>
Devices property
Get the cached value of the Devices property, or None if the property is not cached.
Sourcepub async fn receive_devices_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>
pub async fn receive_devices_changed( &self, ) -> PropertyStream<'p, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>
Devices property
Create a stream for the Devices property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn global_dns_configuration(
&self,
) -> Result<HashMap<String, OwnedValue>>
pub async fn global_dns_configuration( &self, ) -> Result<HashMap<String, OwnedValue>>
GlobalDnsConfiguration property
Sourcepub fn cached_global_dns_configuration(
&self,
) -> Result<Option<<Result<HashMap<String, OwnedValue>> as ResultAdapter>::Ok>, <Result<HashMap<String, OwnedValue>> as ResultAdapter>::Err>
pub fn cached_global_dns_configuration( &self, ) -> Result<Option<<Result<HashMap<String, OwnedValue>> as ResultAdapter>::Ok>, <Result<HashMap<String, OwnedValue>> as ResultAdapter>::Err>
GlobalDnsConfiguration property
Get the cached value of the GlobalDnsConfiguration property, or None if the property is not cached.
Sourcepub async fn receive_global_dns_configuration_changed(
&self,
) -> PropertyStream<'p, <Result<HashMap<String, OwnedValue>> as ResultAdapter>::Ok>
pub async fn receive_global_dns_configuration_changed( &self, ) -> PropertyStream<'p, <Result<HashMap<String, OwnedValue>> as ResultAdapter>::Ok>
GlobalDnsConfiguration property
Create a stream for the GlobalDnsConfiguration property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
pub async fn set_global_dns_configuration( &self, value: HashMap<&str, Value<'_>>, ) -> Result<()>
Sourcepub fn cached_metered(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_metered( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
Metered property
Get the cached value of the Metered property, or None if the property is not cached.
Sourcepub async fn receive_metered_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_metered_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
Metered property
Create a stream for the Metered property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn networking_enabled(&self) -> Result<bool>
pub async fn networking_enabled(&self) -> Result<bool>
NetworkingEnabled property
Sourcepub fn cached_networking_enabled(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_networking_enabled( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
NetworkingEnabled property
Get the cached value of the NetworkingEnabled property, or None if the property is not cached.
Sourcepub async fn receive_networking_enabled_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_networking_enabled_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
NetworkingEnabled property
Create a stream for the NetworkingEnabled property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn primary_connection(&self) -> Result<OwnedObjectPath>
pub async fn primary_connection(&self) -> Result<OwnedObjectPath>
PrimaryConnection property
Sourcepub fn cached_primary_connection(
&self,
) -> Result<Option<<Result<OwnedObjectPath> as ResultAdapter>::Ok>, <Result<OwnedObjectPath> as ResultAdapter>::Err>
pub fn cached_primary_connection( &self, ) -> Result<Option<<Result<OwnedObjectPath> as ResultAdapter>::Ok>, <Result<OwnedObjectPath> as ResultAdapter>::Err>
PrimaryConnection property
Get the cached value of the PrimaryConnection property, or None if the property is not cached.
Sourcepub async fn receive_primary_connection_changed(
&self,
) -> PropertyStream<'p, <Result<OwnedObjectPath> as ResultAdapter>::Ok>
pub async fn receive_primary_connection_changed( &self, ) -> PropertyStream<'p, <Result<OwnedObjectPath> as ResultAdapter>::Ok>
PrimaryConnection property
Create a stream for the PrimaryConnection property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn primary_connection_type(&self) -> Result<String>
pub async fn primary_connection_type(&self) -> Result<String>
PrimaryConnectionType property
Sourcepub fn cached_primary_connection_type(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_primary_connection_type( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
PrimaryConnectionType property
Get the cached value of the PrimaryConnectionType property, or None if the property is not cached.
Sourcepub async fn receive_primary_connection_type_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_primary_connection_type_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
PrimaryConnectionType property
Create a stream for the PrimaryConnectionType property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn radio_flags(&self) -> Result<u32>
pub async fn radio_flags(&self) -> Result<u32>
RadioFlags property
Sourcepub fn cached_radio_flags(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_radio_flags( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
RadioFlags property
Get the cached value of the RadioFlags property, or None if the property is not cached.
Sourcepub async fn receive_radio_flags_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_radio_flags_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
RadioFlags property
Create a stream for the RadioFlags property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_startup(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_startup( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Startup property
Get the cached value of the Startup property, or None if the property is not cached.
Sourcepub async fn receive_startup_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_startup_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
Startup property
Create a stream for the Startup property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_version(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_version( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Version property
Get the cached value of the Version property, or None if the property is not cached.
Sourcepub async fn receive_version_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_version_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Version property
Create a stream for the Version property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn version_info(&self) -> Result<Vec<u32>>
pub async fn version_info(&self) -> Result<Vec<u32>>
VersionInfo property
Sourcepub fn cached_version_info(
&self,
) -> Result<Option<<Result<Vec<u32>> as ResultAdapter>::Ok>, <Result<Vec<u32>> as ResultAdapter>::Err>
pub fn cached_version_info( &self, ) -> Result<Option<<Result<Vec<u32>> as ResultAdapter>::Ok>, <Result<Vec<u32>> as ResultAdapter>::Err>
VersionInfo property
Get the cached value of the VersionInfo property, or None if the property is not cached.
Sourcepub async fn receive_version_info_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<u32>> as ResultAdapter>::Ok>
pub async fn receive_version_info_changed( &self, ) -> PropertyStream<'p, <Result<Vec<u32>> as ResultAdapter>::Ok>
VersionInfo property
Create a stream for the VersionInfo property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn wimax_enabled(&self) -> Result<bool>
pub async fn wimax_enabled(&self) -> Result<bool>
WimaxEnabled property
Sourcepub fn cached_wimax_enabled(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_wimax_enabled( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
WimaxEnabled property
Get the cached value of the WimaxEnabled property, or None if the property is not cached.
Sourcepub async fn receive_wimax_enabled_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_wimax_enabled_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
WimaxEnabled property
Create a stream for the WimaxEnabled property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
pub async fn set_wimax_enabled(&self, value: bool) -> Result<()>
Sourcepub async fn wimax_hardware_enabled(&self) -> Result<bool>
pub async fn wimax_hardware_enabled(&self) -> Result<bool>
WimaxHardwareEnabled property
Sourcepub fn cached_wimax_hardware_enabled(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_wimax_hardware_enabled( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
WimaxHardwareEnabled property
Get the cached value of the WimaxHardwareEnabled property, or None if the property is not cached.
Sourcepub async fn receive_wimax_hardware_enabled_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_wimax_hardware_enabled_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
WimaxHardwareEnabled property
Create a stream for the WimaxHardwareEnabled property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn wireless_enabled(&self) -> Result<bool>
pub async fn wireless_enabled(&self) -> Result<bool>
WirelessEnabled property
Sourcepub fn cached_wireless_enabled(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_wireless_enabled( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
WirelessEnabled property
Get the cached value of the WirelessEnabled property, or None if the property is not cached.
Sourcepub async fn receive_wireless_enabled_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_wireless_enabled_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
WirelessEnabled property
Create a stream for the WirelessEnabled property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
pub async fn set_wireless_enabled(&self, value: bool) -> Result<()>
Sourcepub async fn wireless_hardware_enabled(&self) -> Result<bool>
pub async fn wireless_hardware_enabled(&self) -> Result<bool>
WirelessHardwareEnabled property
Sourcepub fn cached_wireless_hardware_enabled(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_wireless_hardware_enabled( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
WirelessHardwareEnabled property
Get the cached value of the WirelessHardwareEnabled property, or None if the property is not cached.
Sourcepub async fn receive_wireless_hardware_enabled_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_wireless_hardware_enabled_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
WirelessHardwareEnabled property
Create a stream for the WirelessHardwareEnabled property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn wwan_enabled(&self) -> Result<bool>
pub async fn wwan_enabled(&self) -> Result<bool>
WwanEnabled property
Sourcepub fn cached_wwan_enabled(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_wwan_enabled( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
WwanEnabled property
Get the cached value of the WwanEnabled property, or None if the property is not cached.
Sourcepub async fn receive_wwan_enabled_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_wwan_enabled_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
WwanEnabled property
Create a stream for the WwanEnabled property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
pub async fn set_wwan_enabled(&self, value: bool) -> Result<()>
Sourcepub async fn wwan_hardware_enabled(&self) -> Result<bool>
pub async fn wwan_hardware_enabled(&self) -> Result<bool>
WwanHardwareEnabled property
Sourcepub fn cached_wwan_hardware_enabled(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_wwan_hardware_enabled( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
WwanHardwareEnabled property
Get the cached value of the WwanHardwareEnabled property, or None if the property is not cached.
Sourcepub async fn receive_wwan_hardware_enabled_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_wwan_hardware_enabled_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
WwanHardwareEnabled property
Create a stream for the WwanHardwareEnabled property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for NetworkManagerProxy<'p>
impl<'p> AsMut<Proxy<'p>> for NetworkManagerProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for NetworkManagerProxy<'p>
impl<'p> AsRef<Proxy<'p>> for NetworkManagerProxy<'p>
Source§impl<'p> Clone for NetworkManagerProxy<'p>
impl<'p> Clone for NetworkManagerProxy<'p>
Source§fn clone(&self) -> NetworkManagerProxy<'p>
fn clone(&self) -> NetworkManagerProxy<'p>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more