pub struct CheckpointProxy<'p>(/* private fields */);Implementations§
Source§impl CheckpointProxy<'_>
impl CheckpointProxy<'_>
pub async fn new_from_path( device_path: OwnedObjectPath, connection: &Connection, ) -> Result<CheckpointProxy<'_>>
Source§impl<'p> CheckpointProxy<'p>
impl<'p> CheckpointProxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<CheckpointProxy<'p>>
pub async fn new(conn: &Connection) -> Result<CheckpointProxy<'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 fn cached_created(
&self,
) -> Result<Option<<Result<i64> as ResultAdapter>::Ok>, <Result<i64> as ResultAdapter>::Err>
pub fn cached_created( &self, ) -> Result<Option<<Result<i64> as ResultAdapter>::Ok>, <Result<i64> as ResultAdapter>::Err>
Created property
Get the cached value of the Created property, or None if the property is not cached.
Sourcepub async fn receive_created_changed(
&self,
) -> PropertyStream<'p, <Result<i64> as ResultAdapter>::Ok>
pub async fn receive_created_changed( &self, ) -> PropertyStream<'p, <Result<i64> as ResultAdapter>::Ok>
Created property
Create a stream for the Created 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 rollback_timeout(&self) -> Result<u32>
pub async fn rollback_timeout(&self) -> Result<u32>
RollbackTimeout property
Sourcepub fn cached_rollback_timeout(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_rollback_timeout( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
RollbackTimeout property
Get the cached value of the RollbackTimeout property, or None if the property is not cached.
Sourcepub async fn receive_rollback_timeout_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_rollback_timeout_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
RollbackTimeout property
Create a stream for the RollbackTimeout property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for CheckpointProxy<'p>
impl<'p> AsMut<Proxy<'p>> for CheckpointProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for CheckpointProxy<'p>
impl<'p> AsRef<Proxy<'p>> for CheckpointProxy<'p>
Source§impl<'p> Clone for CheckpointProxy<'p>
impl<'p> Clone for CheckpointProxy<'p>
Source§fn clone(&self) -> CheckpointProxy<'p>
fn clone(&self) -> CheckpointProxy<'p>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more