pub struct TimerProxyBlocking<'p>(/* private fields */);
Implementations§
Source§impl<'p> TimerProxyBlocking<'p>
impl<'p> TimerProxyBlocking<'p>
Sourcepub fn new<P>(conn: &Connection, path: P) -> Result<TimerProxyBlocking<'p>>
pub fn new<P>(conn: &Connection, path: P) -> Result<TimerProxyBlocking<'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 fn accuracy_usec(&self) -> Result<u64>
pub fn accuracy_usec(&self) -> Result<u64>
AccuracyUSec property
Sourcepub fn cached_accuracy_usec(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_accuracy_usec( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the AccuracyUSec
property, or None
if the property is not cached.
Sourcepub fn receive_accuracy_usec_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_accuracy_usec_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the AccuracyUSec
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn fixed_random_delay(&self) -> Result<bool>
pub fn fixed_random_delay(&self) -> Result<bool>
FixedRandomDelay property
Sourcepub fn cached_fixed_random_delay(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_fixed_random_delay( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the FixedRandomDelay
property, or None
if the property is not cached.
Sourcepub fn receive_fixed_random_delay_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_fixed_random_delay_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the FixedRandomDelay
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn last_trigger_usec(&self) -> Result<u64>
pub fn last_trigger_usec(&self) -> Result<u64>
LastTriggerUSec property
Sourcepub fn cached_last_trigger_usec(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_last_trigger_usec( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the LastTriggerUSec
property, or None
if the property is not cached.
Sourcepub fn receive_last_trigger_usec_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_last_trigger_usec_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the LastTriggerUSec
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn last_trigger_usec_monotonic(&self) -> Result<u64>
pub fn last_trigger_usec_monotonic(&self) -> Result<u64>
LastTriggerUSecMonotonic property
Sourcepub fn cached_last_trigger_usec_monotonic(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_last_trigger_usec_monotonic( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the LastTriggerUSecMonotonic
property, or None
if the property is not cached.
Sourcepub fn receive_last_trigger_usec_monotonic_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_last_trigger_usec_monotonic_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the LastTriggerUSecMonotonic
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn next_elapse_usec_monotonic(&self) -> Result<u64>
pub fn next_elapse_usec_monotonic(&self) -> Result<u64>
NextElapseUSecMonotonic property
Sourcepub fn cached_next_elapse_usec_monotonic(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_next_elapse_usec_monotonic( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the NextElapseUSecMonotonic
property, or None
if the property is not cached.
Sourcepub fn receive_next_elapse_usec_monotonic_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_next_elapse_usec_monotonic_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the NextElapseUSecMonotonic
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn next_elapse_usec_realtime(&self) -> Result<u64>
pub fn next_elapse_usec_realtime(&self) -> Result<u64>
NextElapseUSecRealtime property
Sourcepub fn cached_next_elapse_usec_realtime(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_next_elapse_usec_realtime( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the NextElapseUSecRealtime
property, or None
if the property is not cached.
Sourcepub fn receive_next_elapse_usec_realtime_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_next_elapse_usec_realtime_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the NextElapseUSecRealtime
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn on_clock_change(&self) -> Result<bool>
pub fn on_clock_change(&self) -> Result<bool>
OnClockChange property
Sourcepub fn cached_on_clock_change(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_on_clock_change( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the OnClockChange
property, or None
if the property is not cached.
Sourcepub fn receive_on_clock_change_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_on_clock_change_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the OnClockChange
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn on_timezone_change(&self) -> Result<bool>
pub fn on_timezone_change(&self) -> Result<bool>
OnTimezoneChange property
Sourcepub fn cached_on_timezone_change(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_on_timezone_change( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the OnTimezoneChange
property, or None
if the property is not cached.
Sourcepub fn receive_on_timezone_change_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_on_timezone_change_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the OnTimezoneChange
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn persistent(&self) -> Result<bool>
pub fn persistent(&self) -> Result<bool>
Persistent property
Sourcepub fn cached_persistent(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_persistent( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the Persistent
property, or None
if the property is not cached.
Sourcepub fn receive_persistent_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_persistent_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the Persistent
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn randomized_delay_usec(&self) -> Result<u64>
pub fn randomized_delay_usec(&self) -> Result<u64>
RandomizedDelayUSec property
Sourcepub fn cached_randomized_delay_usec(
&self,
) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
pub fn cached_randomized_delay_usec( &self, ) -> Result<Option<<Result<u64> as ResultAdapter>::Ok>, <Result<u64> as ResultAdapter>::Err>
Get the cached value of the RandomizedDelayUSec
property, or None
if the property is not cached.
Sourcepub fn receive_randomized_delay_usec_changed(
&self,
) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
pub fn receive_randomized_delay_usec_changed( &self, ) -> PropertyIterator<'p, <Result<u64> as ResultAdapter>::Ok>
Create a stream for the RandomizedDelayUSec
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn remain_after_elapse(&self) -> Result<bool>
pub fn remain_after_elapse(&self) -> Result<bool>
RemainAfterElapse property
Sourcepub fn cached_remain_after_elapse(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_remain_after_elapse( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the RemainAfterElapse
property, or None
if the property is not cached.
Sourcepub fn receive_remain_after_elapse_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_remain_after_elapse_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the RemainAfterElapse
property changes. This is a convenient wrapper around zbus::blocking::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>
Get the cached value of the Result
property, or None
if the property is not cached.
Sourcepub fn receive_result_changed(
&self,
) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
pub fn receive_result_changed( &self, ) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the Result
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn timers_calendar(&self) -> Result<Vec<TimerCalendar>>
pub fn timers_calendar(&self) -> Result<Vec<TimerCalendar>>
TimersCalendar property
Sourcepub fn cached_timers_calendar(
&self,
) -> Result<Option<<Result<Vec<TimerCalendar>> as ResultAdapter>::Ok>, <Result<Vec<TimerCalendar>> as ResultAdapter>::Err>
pub fn cached_timers_calendar( &self, ) -> Result<Option<<Result<Vec<TimerCalendar>> as ResultAdapter>::Ok>, <Result<Vec<TimerCalendar>> as ResultAdapter>::Err>
Get the cached value of the TimersCalendar
property, or None
if the property is not cached.
Sourcepub fn receive_timers_calendar_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<TimerCalendar>> as ResultAdapter>::Ok>
pub fn receive_timers_calendar_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<TimerCalendar>> as ResultAdapter>::Ok>
Create a stream for the TimersCalendar
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn timers_monotonic(&self) -> Result<Vec<TimerMonotonic>>
pub fn timers_monotonic(&self) -> Result<Vec<TimerMonotonic>>
TimersMonotonic property
Sourcepub fn cached_timers_monotonic(
&self,
) -> Result<Option<<Result<Vec<TimerMonotonic>> as ResultAdapter>::Ok>, <Result<Vec<TimerMonotonic>> as ResultAdapter>::Err>
pub fn cached_timers_monotonic( &self, ) -> Result<Option<<Result<Vec<TimerMonotonic>> as ResultAdapter>::Ok>, <Result<Vec<TimerMonotonic>> as ResultAdapter>::Err>
Get the cached value of the TimersMonotonic
property, or None
if the property is not cached.
Sourcepub fn receive_timers_monotonic_changed(
&self,
) -> PropertyIterator<'p, <Result<Vec<TimerMonotonic>> as ResultAdapter>::Ok>
pub fn receive_timers_monotonic_changed( &self, ) -> PropertyIterator<'p, <Result<Vec<TimerMonotonic>> as ResultAdapter>::Ok>
Create a stream for the TimersMonotonic
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn cached_unit(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_unit( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the Unit
property, or None
if the property is not cached.
Sourcepub fn receive_unit_changed(
&self,
) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
pub fn receive_unit_changed( &self, ) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the Unit
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Sourcepub fn wake_system(&self) -> Result<bool>
pub fn wake_system(&self) -> Result<bool>
WakeSystem property
Sourcepub fn cached_wake_system(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_wake_system( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the WakeSystem
property, or None
if the property is not cached.
Sourcepub fn receive_wake_system_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_wake_system_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the WakeSystem
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for TimerProxyBlocking<'p>
impl<'p> AsMut<Proxy<'p>> for TimerProxyBlocking<'p>
Source§impl<'p> AsRef<Proxy<'p>> for TimerProxyBlocking<'p>
impl<'p> AsRef<Proxy<'p>> for TimerProxyBlocking<'p>
Source§impl<'p> Clone for TimerProxyBlocking<'p>
impl<'p> Clone for TimerProxyBlocking<'p>
Source§fn clone(&self) -> TimerProxyBlocking<'p>
fn clone(&self) -> TimerProxyBlocking<'p>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more