pub struct IPTunnelProxy<'p>(/* private fields */);Implementations§
Source§impl IPTunnelProxy<'_>
impl IPTunnelProxy<'_>
pub async fn new_from_path( device_path: OwnedObjectPath, connection: &Connection, ) -> Result<IPTunnelProxy<'_>>
Source§impl<'p> IPTunnelProxy<'p>
impl<'p> IPTunnelProxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<IPTunnelProxy<'p>>
pub async fn new(conn: &Connection) -> Result<IPTunnelProxy<'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 encapsulation_limit(&self) -> Result<u8>
pub async fn encapsulation_limit(&self) -> Result<u8>
EncapsulationLimit property
Sourcepub fn cached_encapsulation_limit(
&self,
) -> Result<Option<<Result<u8> as ResultAdapter>::Ok>, <Result<u8> as ResultAdapter>::Err>
pub fn cached_encapsulation_limit( &self, ) -> Result<Option<<Result<u8> as ResultAdapter>::Ok>, <Result<u8> as ResultAdapter>::Err>
EncapsulationLimit property
Get the cached value of the EncapsulationLimit property, or None if the property is not cached.
Sourcepub async fn receive_encapsulation_limit_changed(
&self,
) -> PropertyStream<'p, <Result<u8> as ResultAdapter>::Ok>
pub async fn receive_encapsulation_limit_changed( &self, ) -> PropertyStream<'p, <Result<u8> as ResultAdapter>::Ok>
EncapsulationLimit property
Create a stream for the EncapsulationLimit property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_flags(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_flags( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
Flags property
Get the cached value of the Flags property, or None if the property is not cached.
Sourcepub async fn receive_flags_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_flags_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
Flags property
Create a stream for the Flags property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn flow_label(&self) -> Result<u32>
pub async fn flow_label(&self) -> Result<u32>
FlowLabel property
Sourcepub fn cached_flow_label(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_flow_label( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
FlowLabel property
Get the cached value of the FlowLabel property, or None if the property is not cached.
Sourcepub async fn receive_flow_label_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_flow_label_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
FlowLabel property
Create a stream for the FlowLabel property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_fw_mark(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_fw_mark( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
FwMark property
Get the cached value of the FwMark property, or None if the property is not cached.
Sourcepub async fn receive_fw_mark_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_fw_mark_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
FwMark property
Create a stream for the FwMark property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_input_key(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_input_key( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
InputKey property
Get the cached value of the InputKey property, or None if the property is not cached.
Sourcepub async fn receive_input_key_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_input_key_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
InputKey property
Create a stream for the InputKey property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_local(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_local( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Local property
Get the cached value of the Local property, or None if the property is not cached.
Sourcepub async fn receive_local_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_local_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Local property
Create a stream for the Local property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_mode(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_mode( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
Mode property
Get the cached value of the Mode property, or None if the property is not cached.
Sourcepub async fn receive_mode_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_mode_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
Mode property
Create a stream for the Mode property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn output_key(&self) -> Result<String>
pub async fn output_key(&self) -> Result<String>
OutputKey property
Sourcepub fn cached_output_key(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_output_key( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
OutputKey property
Get the cached value of the OutputKey property, or None if the property is not cached.
Sourcepub async fn receive_output_key_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_output_key_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
OutputKey property
Create a stream for the OutputKey property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn parent(&self) -> Result<OwnedObjectPath>
pub async fn parent(&self) -> Result<OwnedObjectPath>
Parent property
Sourcepub fn cached_parent(
&self,
) -> Result<Option<<Result<OwnedObjectPath> as ResultAdapter>::Ok>, <Result<OwnedObjectPath> as ResultAdapter>::Err>
pub fn cached_parent( &self, ) -> Result<Option<<Result<OwnedObjectPath> as ResultAdapter>::Ok>, <Result<OwnedObjectPath> as ResultAdapter>::Err>
Parent property
Get the cached value of the Parent property, or None if the property is not cached.
Sourcepub async fn receive_parent_changed(
&self,
) -> PropertyStream<'p, <Result<OwnedObjectPath> as ResultAdapter>::Ok>
pub async fn receive_parent_changed( &self, ) -> PropertyStream<'p, <Result<OwnedObjectPath> as ResultAdapter>::Ok>
Parent property
Create a stream for the Parent property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn path_mtu_discovery(&self) -> Result<bool>
pub async fn path_mtu_discovery(&self) -> Result<bool>
PathMtuDiscovery property
Sourcepub fn cached_path_mtu_discovery(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_path_mtu_discovery( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
PathMtuDiscovery property
Get the cached value of the PathMtuDiscovery property, or None if the property is not cached.
Sourcepub async fn receive_path_mtu_discovery_changed(
&self,
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_path_mtu_discovery_changed( &self, ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
PathMtuDiscovery property
Create a stream for the PathMtuDiscovery property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_remote(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_remote( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Remote property
Get the cached value of the Remote property, or None if the property is not cached.
Sourcepub async fn receive_remote_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_remote_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Remote property
Create a stream for the Remote property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_tos(
&self,
) -> Result<Option<<Result<u8> as ResultAdapter>::Ok>, <Result<u8> as ResultAdapter>::Err>
pub fn cached_tos( &self, ) -> Result<Option<<Result<u8> as ResultAdapter>::Ok>, <Result<u8> as ResultAdapter>::Err>
Tos property
Get the cached value of the Tos property, or None if the property is not cached.
Sourcepub async fn receive_tos_changed(
&self,
) -> PropertyStream<'p, <Result<u8> as ResultAdapter>::Ok>
pub async fn receive_tos_changed( &self, ) -> PropertyStream<'p, <Result<u8> as ResultAdapter>::Ok>
Tos property
Create a stream for the Tos property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_ttl(
&self,
) -> Result<Option<<Result<u8> as ResultAdapter>::Ok>, <Result<u8> as ResultAdapter>::Err>
pub fn cached_ttl( &self, ) -> Result<Option<<Result<u8> as ResultAdapter>::Ok>, <Result<u8> as ResultAdapter>::Err>
Ttl property
Get the cached value of the Ttl property, or None if the property is not cached.
Sourcepub async fn receive_ttl_changed(
&self,
) -> PropertyStream<'p, <Result<u8> as ResultAdapter>::Ok>
pub async fn receive_ttl_changed( &self, ) -> PropertyStream<'p, <Result<u8> as ResultAdapter>::Ok>
Ttl property
Create a stream for the Ttl property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for IPTunnelProxy<'p>
impl<'p> AsMut<Proxy<'p>> for IPTunnelProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for IPTunnelProxy<'p>
impl<'p> AsRef<Proxy<'p>> for IPTunnelProxy<'p>
Source§impl<'p> Clone for IPTunnelProxy<'p>
impl<'p> Clone for IPTunnelProxy<'p>
Source§fn clone(&self) -> IPTunnelProxy<'p>
fn clone(&self) -> IPTunnelProxy<'p>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more