pub struct HypertextProxy<'p>(/* private fields */);
Implementations§
Source§impl<'p> HypertextProxy<'p>
impl<'p> HypertextProxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<HypertextProxy<'p>>
pub async fn new(conn: &Connection) -> Result<HypertextProxy<'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_link_index(&self, character_index: i32) -> Result<i32>
pub async fn get_link_index(&self, character_index: i32) -> Result<i32>
GetLinkIndex method
Sourcepub async fn get_nlinks(&self) -> Result<i32>
pub async fn get_nlinks(&self) -> Result<i32>
GetNLinks method
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for HypertextProxy<'p>
impl<'p> AsMut<Proxy<'p>> for HypertextProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for HypertextProxy<'p>
impl<'p> AsRef<Proxy<'p>> for HypertextProxy<'p>
Source§impl<'p> Clone for HypertextProxy<'p>
impl<'p> Clone for HypertextProxy<'p>
Source§fn clone(&self) -> HypertextProxy<'p>
fn clone(&self) -> HypertextProxy<'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 HypertextProxy<'p>
impl<'p> Debug for HypertextProxy<'p>
Source§impl<'a> Defaults for HypertextProxy<'a>
impl<'a> Defaults for HypertextProxy<'a>
const INTERFACE: &'static Option<InterfaceName<'static>>
const DESTINATION: &'static Option<BusName<'static>>
const PATH: &'static Option<ObjectPath<'static>>
Source§impl<'p> From<Proxy<'p>> for HypertextProxy<'p>
impl<'p> From<Proxy<'p>> for HypertextProxy<'p>
Source§impl<'p> ProxyImpl<'p> for HypertextProxy<'p>
impl<'p> ProxyImpl<'p> for HypertextProxy<'p>
Source§impl<'p> Serialize for HypertextProxy<'p>
impl<'p> Serialize for HypertextProxy<'p>
Auto Trait Implementations§
impl<'p> Freeze for HypertextProxy<'p>
impl<'p> !RefUnwindSafe for HypertextProxy<'p>
impl<'p> Send for HypertextProxy<'p>
impl<'p> Sync for HypertextProxy<'p>
impl<'p> Unpin for HypertextProxy<'p>
impl<'p> !UnwindSafe for HypertextProxy<'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