pub struct CollectionProxy<'p>(/* private fields */);
Implementations§
Source§impl<'p> CollectionProxy<'p>
impl<'p> CollectionProxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<CollectionProxy<'p>>
pub async fn new(conn: &Connection) -> Result<CollectionProxy<'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_active_descendant(&self) -> Result<ObjectRef>
pub async fn get_active_descendant(&self) -> Result<ObjectRef>
GetActiveDescendant method
Sourcepub async fn get_matches(
&self,
rule: &MatchArgs<'_>,
sortby: SortOrder,
count: i32,
traverse: bool,
) -> Result<Vec<ObjectRef>>
pub async fn get_matches( &self, rule: &MatchArgs<'_>, sortby: SortOrder, count: i32, traverse: bool, ) -> Result<Vec<ObjectRef>>
GetMatches method
Sourcepub async fn get_matches_from(
&self,
current_object: &ObjectPath<'_>,
rule: &MatchArgs<'_>,
sortby: SortOrder,
tree: TreeTraversalType,
count: i32,
traverse: bool,
) -> Result<Vec<ObjectRef>>
pub async fn get_matches_from( &self, current_object: &ObjectPath<'_>, rule: &MatchArgs<'_>, sortby: SortOrder, tree: TreeTraversalType, count: i32, traverse: bool, ) -> Result<Vec<ObjectRef>>
GetMatchesFrom method
Sourcepub async fn get_matches_to(
&self,
current_object: &ObjectPath<'_>,
rule: &MatchArgs<'_>,
sortby: SortOrder,
tree: TreeTraversalType,
limit_scope: bool,
count: i32,
traverse: bool,
) -> Result<Vec<ObjectRef>>
pub async fn get_matches_to( &self, current_object: &ObjectPath<'_>, rule: &MatchArgs<'_>, sortby: SortOrder, tree: TreeTraversalType, limit_scope: bool, count: i32, traverse: bool, ) -> Result<Vec<ObjectRef>>
GetMatchesTo method
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for CollectionProxy<'p>
impl<'p> AsMut<Proxy<'p>> for CollectionProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for CollectionProxy<'p>
impl<'p> AsRef<Proxy<'p>> for CollectionProxy<'p>
Source§impl<'p> Clone for CollectionProxy<'p>
impl<'p> Clone for CollectionProxy<'p>
Source§fn clone(&self) -> CollectionProxy<'p>
fn clone(&self) -> CollectionProxy<'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 CollectionProxy<'p>
impl<'p> Debug for CollectionProxy<'p>
Source§impl<'p> From<Proxy<'p>> for CollectionProxy<'p>
impl<'p> From<Proxy<'p>> for CollectionProxy<'p>
Source§impl<'a> ProxyDefault for CollectionProxy<'a>
impl<'a> ProxyDefault for CollectionProxy<'a>
Source§impl<'p> ProxyImpl<'p> for CollectionProxy<'p>
impl<'p> ProxyImpl<'p> for CollectionProxy<'p>
Source§impl<'p> Serialize for CollectionProxy<'p>
impl<'p> Serialize for CollectionProxy<'p>
Auto Trait Implementations§
impl<'p> Freeze for CollectionProxy<'p>
impl<'p> !RefUnwindSafe for CollectionProxy<'p>
impl<'p> Send for CollectionProxy<'p>
impl<'p> Sync for CollectionProxy<'p>
impl<'p> Unpin for CollectionProxy<'p>
impl<'p> !UnwindSafe for CollectionProxy<'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§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