Struct logind_zbus::session::SessionProxy
source · pub struct SessionProxy<'p>(/* private fields */);
Implementations§
source§impl<'p> SessionProxy<'p>
impl<'p> SessionProxy<'p>
sourcepub async fn new(conn: &Connection) -> Result<SessionProxy<'p>>
pub async fn new(conn: &Connection) -> Result<SessionProxy<'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 pause_device_complete(&self, major: u32, minor: u32) -> Result<()>
pub async fn pause_device_complete(&self, major: u32, minor: u32) -> Result<()>
PauseDeviceComplete method
sourcepub async fn release_control(&self) -> Result<()>
pub async fn release_control(&self) -> Result<()>
ReleaseControl method
sourcepub async fn set_brightness(
&self,
subsystem: &str,
name: &str,
brightness: u32
) -> Result<()>
pub async fn set_brightness( &self, subsystem: &str, name: &str, brightness: u32 ) -> Result<()>
SetBrightness method
sourcepub async fn set_idle_hint(&self, idle: bool) -> Result<()>
pub async fn set_idle_hint(&self, idle: bool) -> Result<()>
SetIdleHint method
sourcepub async fn set_locked_hint(&self, locked: bool) -> Result<()>
pub async fn set_locked_hint(&self, locked: bool) -> Result<()>
SetLockedHint method
sourcepub async fn take_control(&self, force: bool) -> Result<()>
pub async fn take_control(&self, force: bool) -> Result<()>
TakeControl method
sourcepub async fn receive_lock(&self) -> Result<LockStream<'static>>
pub async fn receive_lock(&self) -> Result<LockStream<'static>>
Create a stream that receives Lock
signals.
This a convenient wrapper around zbus::Proxy::receive_signal
.
Lock signal
sourcepub async fn receive_pause_device(&self) -> Result<PauseDeviceStream<'static>>
pub async fn receive_pause_device(&self) -> Result<PauseDeviceStream<'static>>
Create a stream that receives PauseDevice
signals.
This a convenient wrapper around zbus::Proxy::receive_signal
.
PauseDevice signal
sourcepub async fn receive_pause_device_with_args(
&self,
args: &[(u8, &str)]
) -> Result<PauseDeviceStream<'static>>
pub async fn receive_pause_device_with_args( &self, args: &[(u8, &str)] ) -> Result<PauseDeviceStream<'static>>
Create a stream that receives PauseDevice
signals.
This a convenient wrapper around zbus::Proxy::receive_signal_with_args
.
PauseDevice signal
sourcepub async fn receive_resume_device(&self) -> Result<ResumeDeviceStream<'static>>
pub async fn receive_resume_device(&self) -> Result<ResumeDeviceStream<'static>>
Create a stream that receives ResumeDevice
signals.
This a convenient wrapper around zbus::Proxy::receive_signal
.
ResumeDevice signal
sourcepub async fn receive_resume_device_with_args(
&self,
args: &[(u8, &str)]
) -> Result<ResumeDeviceStream<'static>>
pub async fn receive_resume_device_with_args( &self, args: &[(u8, &str)] ) -> Result<ResumeDeviceStream<'static>>
Create a stream that receives ResumeDevice
signals.
This a convenient wrapper around zbus::Proxy::receive_signal_with_args
.
ResumeDevice signal
sourcepub async fn receive_unlock(&self) -> Result<UnlockStream<'static>>
pub async fn receive_unlock(&self) -> Result<UnlockStream<'static>>
Create a stream that receives Unlock
signals.
This a convenient wrapper around zbus::Proxy::receive_signal
.
Unlock signal
sourcepub fn cached_active(
&self
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_active( &self ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the Active
property, or None
if the property is not cached.
sourcepub async fn receive_active_changed(
&self
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_active_changed( &self ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the Active
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_audit(
&self
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_audit( &self ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
Get the cached value of the Audit
property, or None
if the property is not cached.
sourcepub async fn receive_audit_changed(
&self
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_audit_changed( &self ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
Create a stream for the Audit
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub async fn class(&self) -> Result<SessionClass>
pub async fn class(&self) -> Result<SessionClass>
Class property
sourcepub fn cached_class(
&self
) -> Result<Option<<Result<SessionClass> as ResultAdapter>::Ok>, <Result<SessionClass> as ResultAdapter>::Err>
pub fn cached_class( &self ) -> Result<Option<<Result<SessionClass> as ResultAdapter>::Ok>, <Result<SessionClass> as ResultAdapter>::Err>
Get the cached value of the Class
property, or None
if the property is not cached.
sourcepub async fn receive_class_changed(
&self
) -> PropertyStream<'p, <Result<SessionClass> as ResultAdapter>::Ok>
pub async fn receive_class_changed( &self ) -> PropertyStream<'p, <Result<SessionClass> as ResultAdapter>::Ok>
Create a stream for the Class
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_desktop(
&self
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_desktop( &self ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the Desktop
property, or None
if the property is not cached.
sourcepub async fn receive_desktop_changed(
&self
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_desktop_changed( &self ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the Desktop
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_display(
&self
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_display( &self ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the Display
property, or None
if the property is not cached.
sourcepub async fn receive_display_changed(
&self
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_display_changed( &self ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the Display
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_id(
&self
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_id( &self ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the Id
property, or None
if the property is not cached.
sourcepub async fn receive_id_changed(
&self
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_id_changed( &self ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the Id
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_idle_hint(
&self
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_idle_hint( &self ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the IdleHint
property, or None
if the property is not cached.
sourcepub async fn receive_idle_hint_changed(
&self
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_idle_hint_changed( &self ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the IdleHint
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub async fn idle_since_hint(&self) -> Result<TimeStamp>
pub async fn idle_since_hint(&self) -> Result<TimeStamp>
IdleSinceHint property
sourcepub fn cached_idle_since_hint(
&self
) -> Result<Option<<Result<TimeStamp> as ResultAdapter>::Ok>, <Result<TimeStamp> as ResultAdapter>::Err>
pub fn cached_idle_since_hint( &self ) -> Result<Option<<Result<TimeStamp> as ResultAdapter>::Ok>, <Result<TimeStamp> as ResultAdapter>::Err>
Get the cached value of the IdleSinceHint
property, or None
if the property is not cached.
sourcepub async fn receive_idle_since_hint_changed(
&self
) -> PropertyStream<'p, <Result<TimeStamp> as ResultAdapter>::Ok>
pub async fn receive_idle_since_hint_changed( &self ) -> PropertyStream<'p, <Result<TimeStamp> as ResultAdapter>::Ok>
Create a stream for the IdleSinceHint
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub async fn idle_since_hint_monotonic(&self) -> Result<TimeStamp>
pub async fn idle_since_hint_monotonic(&self) -> Result<TimeStamp>
IdleSinceHintMonotonic property
sourcepub fn cached_idle_since_hint_monotonic(
&self
) -> Result<Option<<Result<TimeStamp> as ResultAdapter>::Ok>, <Result<TimeStamp> as ResultAdapter>::Err>
pub fn cached_idle_since_hint_monotonic( &self ) -> Result<Option<<Result<TimeStamp> as ResultAdapter>::Ok>, <Result<TimeStamp> as ResultAdapter>::Err>
Get the cached value of the IdleSinceHintMonotonic
property, or None
if the property is not cached.
sourcepub async fn receive_idle_since_hint_monotonic_changed(
&self
) -> PropertyStream<'p, <Result<TimeStamp> as ResultAdapter>::Ok>
pub async fn receive_idle_since_hint_monotonic_changed( &self ) -> PropertyStream<'p, <Result<TimeStamp> as ResultAdapter>::Ok>
Create a stream for the IdleSinceHintMonotonic
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_leader(
&self
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_leader( &self ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
Get the cached value of the Leader
property, or None
if the property is not cached.
sourcepub async fn receive_leader_changed(
&self
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_leader_changed( &self ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
Create a stream for the Leader
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub async fn locked_hint(&self) -> Result<bool>
pub async fn locked_hint(&self) -> Result<bool>
LockedHint property
sourcepub fn cached_locked_hint(
&self
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_locked_hint( &self ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the LockedHint
property, or None
if the property is not cached.
sourcepub async fn receive_locked_hint_changed(
&self
) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
pub async fn receive_locked_hint_changed( &self ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the LockedHint
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_name(
&self
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_name( &self ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the Name
property, or None
if the property is not cached.
sourcepub async fn receive_name_changed(
&self
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_name_changed( &self ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the Name
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_remote(
&self
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_remote( &self ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
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<bool> as ResultAdapter>::Ok>
pub async fn receive_remote_changed( &self ) -> PropertyStream<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the Remote
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub async fn remote_host(&self) -> Result<String>
pub async fn remote_host(&self) -> Result<String>
RemoteHost property
sourcepub fn cached_remote_host(
&self
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_remote_host( &self ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the RemoteHost
property, or None
if the property is not cached.
sourcepub async fn receive_remote_host_changed(
&self
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_remote_host_changed( &self ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the RemoteHost
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub async fn remote_user(&self) -> Result<String>
pub async fn remote_user(&self) -> Result<String>
RemoteUser property
sourcepub fn cached_remote_user(
&self
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_remote_user( &self ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the RemoteUser
property, or None
if the property is not cached.
sourcepub async fn receive_remote_user_changed(
&self
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_remote_user_changed( &self ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the RemoteUser
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_scope(
&self
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_scope( &self ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the Scope
property, or None
if the property is not cached.
sourcepub async fn receive_scope_changed(
&self
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_scope_changed( &self ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the Scope
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_seat(
&self
) -> Result<Option<<Result<SomePath> as ResultAdapter>::Ok>, <Result<SomePath> as ResultAdapter>::Err>
pub fn cached_seat( &self ) -> Result<Option<<Result<SomePath> as ResultAdapter>::Ok>, <Result<SomePath> as ResultAdapter>::Err>
Get the cached value of the Seat
property, or None
if the property is not cached.
sourcepub async fn receive_seat_changed(
&self
) -> PropertyStream<'p, <Result<SomePath> as ResultAdapter>::Ok>
pub async fn receive_seat_changed( &self ) -> PropertyStream<'p, <Result<SomePath> as ResultAdapter>::Ok>
Create a stream for the Seat
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_service(
&self
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_service( &self ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the Service
property, or None
if the property is not cached.
sourcepub async fn receive_service_changed(
&self
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_service_changed( &self ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the Service
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub async fn state(&self) -> Result<SessionState>
pub async fn state(&self) -> Result<SessionState>
State property
sourcepub fn cached_state(
&self
) -> Result<Option<<Result<SessionState> as ResultAdapter>::Ok>, <Result<SessionState> as ResultAdapter>::Err>
pub fn cached_state( &self ) -> Result<Option<<Result<SessionState> as ResultAdapter>::Ok>, <Result<SessionState> as ResultAdapter>::Err>
Get the cached value of the State
property, or None
if the property is not cached.
sourcepub async fn receive_state_changed(
&self
) -> PropertyStream<'p, <Result<SessionState> as ResultAdapter>::Ok>
pub async fn receive_state_changed( &self ) -> PropertyStream<'p, <Result<SessionState> as ResultAdapter>::Ok>
Create a stream for the State
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_TTY(
&self
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_TTY( &self ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the TTY
property, or None
if the property is not cached.
sourcepub async fn receive_TTY_changed(
&self
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_TTY_changed( &self ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the TTY
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_timestamp(
&self
) -> Result<Option<<Result<TimeStamp> as ResultAdapter>::Ok>, <Result<TimeStamp> as ResultAdapter>::Err>
pub fn cached_timestamp( &self ) -> Result<Option<<Result<TimeStamp> as ResultAdapter>::Ok>, <Result<TimeStamp> as ResultAdapter>::Err>
Get the cached value of the Timestamp
property, or None
if the property is not cached.
sourcepub async fn receive_timestamp_changed(
&self
) -> PropertyStream<'p, <Result<TimeStamp> as ResultAdapter>::Ok>
pub async fn receive_timestamp_changed( &self ) -> PropertyStream<'p, <Result<TimeStamp> as ResultAdapter>::Ok>
Create a stream for the Timestamp
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub async fn timestamp_monotonic(&self) -> Result<TimeStamp>
pub async fn timestamp_monotonic(&self) -> Result<TimeStamp>
TimestampMonotonic property
sourcepub fn cached_timestamp_monotonic(
&self
) -> Result<Option<<Result<TimeStamp> as ResultAdapter>::Ok>, <Result<TimeStamp> as ResultAdapter>::Err>
pub fn cached_timestamp_monotonic( &self ) -> Result<Option<<Result<TimeStamp> as ResultAdapter>::Ok>, <Result<TimeStamp> as ResultAdapter>::Err>
Get the cached value of the TimestampMonotonic
property, or None
if the property is not cached.
sourcepub async fn receive_timestamp_monotonic_changed(
&self
) -> PropertyStream<'p, <Result<TimeStamp> as ResultAdapter>::Ok>
pub async fn receive_timestamp_monotonic_changed( &self ) -> PropertyStream<'p, <Result<TimeStamp> as ResultAdapter>::Ok>
Create a stream for the TimestampMonotonic
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub async fn type_(&self) -> Result<SessionType>
pub async fn type_(&self) -> Result<SessionType>
Type property
sourcepub fn cached_type_(
&self
) -> Result<Option<<Result<SessionType> as ResultAdapter>::Ok>, <Result<SessionType> as ResultAdapter>::Err>
pub fn cached_type_( &self ) -> Result<Option<<Result<SessionType> as ResultAdapter>::Ok>, <Result<SessionType> as ResultAdapter>::Err>
Get the cached value of the Type
property, or None
if the property is not cached.
sourcepub async fn receive_type__changed(
&self
) -> PropertyStream<'p, <Result<SessionType> as ResultAdapter>::Ok>
pub async fn receive_type__changed( &self ) -> PropertyStream<'p, <Result<SessionType> as ResultAdapter>::Ok>
Create a stream for the Type
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_user(
&self
) -> Result<Option<<Result<User> as ResultAdapter>::Ok>, <Result<User> as ResultAdapter>::Err>
pub fn cached_user( &self ) -> Result<Option<<Result<User> as ResultAdapter>::Ok>, <Result<User> as ResultAdapter>::Err>
Get the cached value of the User
property, or None
if the property is not cached.
sourcepub async fn receive_user_changed(
&self
) -> PropertyStream<'p, <Result<User> as ResultAdapter>::Ok>
pub async fn receive_user_changed( &self ) -> PropertyStream<'p, <Result<User> as ResultAdapter>::Ok>
Create a stream for the User
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_VTNr(
&self
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_VTNr( &self ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
Get the cached value of the VTNr
property, or None
if the property is not cached.
sourcepub async fn receive_VTNr_changed(
&self
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_VTNr_changed( &self ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
Create a stream for the VTNr
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for SessionProxy<'p>
impl<'p> AsMut<Proxy<'p>> for SessionProxy<'p>
source§impl<'p> AsRef<Proxy<'p>> for SessionProxy<'p>
impl<'p> AsRef<Proxy<'p>> for SessionProxy<'p>
source§impl<'p> Clone for SessionProxy<'p>
impl<'p> Clone for SessionProxy<'p>
source§fn clone(&self) -> SessionProxy<'p>
fn clone(&self) -> SessionProxy<'p>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more