pub struct HyperlinkProxy<'p>(/* private fields */);
Implementations§
Source§impl<'p> HyperlinkProxy<'p>
impl<'p> HyperlinkProxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<HyperlinkProxy<'p>>
pub async fn new(conn: &Connection) -> Result<HyperlinkProxy<'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 get_object(&self, i: i32) -> Result<ObjectRef>
pub async fn get_object(&self, i: i32) -> Result<ObjectRef>
GetObject method
Sourcepub fn cached_end_index(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_end_index( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the EndIndex
property, or None
if the property is not cached.
Sourcepub async fn receive_end_index_changed(
&self,
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_end_index_changed( &self, ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the EndIndex
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub fn cached_nanchors(
&self,
) -> Result<Option<<Result<i16> as ResultAdapter>::Ok>, <Result<i16> as ResultAdapter>::Err>
pub fn cached_nanchors( &self, ) -> Result<Option<<Result<i16> as ResultAdapter>::Ok>, <Result<i16> as ResultAdapter>::Err>
Get the cached value of the Nanchors
property, or None
if the property is not cached.
Sourcepub async fn receive_nanchors_changed(
&self,
) -> PropertyStream<'p, <Result<i16> as ResultAdapter>::Ok>
pub async fn receive_nanchors_changed( &self, ) -> PropertyStream<'p, <Result<i16> as ResultAdapter>::Ok>
Create a stream for the Nanchors
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn start_index(&self) -> Result<i32>
pub async fn start_index(&self) -> Result<i32>
StartIndex property
Sourcepub fn cached_start_index(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_start_index( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the StartIndex
property, or None
if the property is not cached.
Sourcepub async fn receive_start_index_changed(
&self,
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_start_index_changed( &self, ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the StartIndex
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for HyperlinkProxy<'p>
impl<'p> AsMut<Proxy<'p>> for HyperlinkProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for HyperlinkProxy<'p>
impl<'p> AsRef<Proxy<'p>> for HyperlinkProxy<'p>
Source§impl<'p> Clone for HyperlinkProxy<'p>
impl<'p> Clone for HyperlinkProxy<'p>
Source§fn clone(&self) -> HyperlinkProxy<'p>
fn clone(&self) -> HyperlinkProxy<'p>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more