Struct atspi_proxies::bus::StatusProxyBlocking
source · pub struct StatusProxyBlocking<'p>(/* private fields */);
Implementations§
source§impl<'p> StatusProxyBlocking<'p>
impl<'p> StatusProxyBlocking<'p>
sourcepub fn new(conn: &Connection) -> Result<StatusProxyBlocking<'p>>
pub fn new(conn: &Connection) -> Result<StatusProxyBlocking<'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 is_enabled(&self) -> Result<bool>
pub fn is_enabled(&self) -> Result<bool>
IsEnabled property
sourcepub fn cached_is_enabled(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_is_enabled( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the IsEnabled
property, or None
if the property is not cached.
sourcepub fn receive_is_enabled_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_is_enabled_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the IsEnabled
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
pub fn set_is_enabled(&self, value: bool) -> Result<()>
sourcepub fn screen_reader_enabled(&self) -> Result<bool>
pub fn screen_reader_enabled(&self) -> Result<bool>
ScreenReaderEnabled property
sourcepub fn cached_screen_reader_enabled(
&self,
) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
pub fn cached_screen_reader_enabled( &self, ) -> Result<Option<<Result<bool> as ResultAdapter>::Ok>, <Result<bool> as ResultAdapter>::Err>
Get the cached value of the ScreenReaderEnabled
property, or None
if the property is not cached.
sourcepub fn receive_screen_reader_enabled_changed(
&self,
) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
pub fn receive_screen_reader_enabled_changed( &self, ) -> PropertyIterator<'p, <Result<bool> as ResultAdapter>::Ok>
Create a stream for the ScreenReaderEnabled
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
pub fn set_screen_reader_enabled(&self, value: bool) -> Result<()>
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for StatusProxyBlocking<'p>
impl<'p> AsMut<Proxy<'p>> for StatusProxyBlocking<'p>
source§impl<'p> AsRef<Proxy<'p>> for StatusProxyBlocking<'p>
impl<'p> AsRef<Proxy<'p>> for StatusProxyBlocking<'p>
source§impl<'p> Clone for StatusProxyBlocking<'p>
impl<'p> Clone for StatusProxyBlocking<'p>
source§fn clone(&self) -> StatusProxyBlocking<'p>
fn clone(&self) -> StatusProxyBlocking<'p>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'p> Debug for StatusProxyBlocking<'p>
impl<'p> Debug for StatusProxyBlocking<'p>
source§impl<'p> From<Proxy<'p>> for StatusProxyBlocking<'p>
impl<'p> From<Proxy<'p>> for StatusProxyBlocking<'p>
source§impl<'a> ProxyDefault for StatusProxyBlocking<'a>
impl<'a> ProxyDefault for StatusProxyBlocking<'a>
source§impl<'p> ProxyImpl<'p> for StatusProxyBlocking<'p>
impl<'p> ProxyImpl<'p> for StatusProxyBlocking<'p>
source§impl<'p> Serialize for StatusProxyBlocking<'p>
impl<'p> Serialize for StatusProxyBlocking<'p>
Auto Trait Implementations§
impl<'p> Freeze for StatusProxyBlocking<'p>
impl<'p> !RefUnwindSafe for StatusProxyBlocking<'p>
impl<'p> Send for StatusProxyBlocking<'p>
impl<'p> Sync for StatusProxyBlocking<'p>
impl<'p> Unpin for StatusProxyBlocking<'p>
impl<'p> !UnwindSafe for StatusProxyBlocking<'p>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more