pub struct DirectoryService<'a> { /* private fields */ }Implementations§
Source§impl<'a> DirectoryService<'a>
impl<'a> DirectoryService<'a>
pub fn resolve_peer(&self, peer: PeerRef) -> ImResult<DirectoryResolution>
pub async fn resolve_peer_async( &self, peer: PeerRef, ) -> ImResult<DirectoryResolution>
pub fn lookup_handle(&self, handle: Handle) -> ImResult<HandleLookupResult>
pub async fn lookup_handle_async( &self, handle: Handle, ) -> ImResult<HandleLookupResult>
pub fn public_profile( &self, subject: IdentitySubject, ) -> ImResult<PublicProfile>
pub async fn public_profile_async( &self, subject: IdentitySubject, ) -> ImResult<PublicProfile>
pub fn save_contact(&self, request: SaveContactRequest) -> ImResult<Contact>
pub async fn save_contact_async( &self, request: SaveContactRequest, ) -> ImResult<Contact>
pub fn contacts(&self, query: ContactListQuery) -> ImResult<Page<Contact>>
pub async fn contacts_async( &self, query: ContactListQuery, ) -> ImResult<Page<Contact>>
pub fn hydrate_display_profiles( &self, request: DisplayProfileBatchRequest, ) -> ImResult<Vec<DisplayProfile>>
pub async fn hydrate_display_profiles_async( &self, request: DisplayProfileBatchRequest, ) -> ImResult<Vec<DisplayProfile>>
pub fn relation_status(&self, peer: PeerRef) -> ImResult<RelationStatus>
pub async fn relation_status_async( &self, peer: PeerRef, ) -> ImResult<RelationStatus>
pub fn owner_did(&self) -> &Did
pub fn follow(&self, request: FollowRequest) -> ImResult<FollowResult>
pub async fn follow_async( &self, request: FollowRequest, ) -> ImResult<FollowResult>
pub fn unfollow(&self, request: UnfollowRequest) -> ImResult<UnfollowResult>
pub async fn unfollow_async( &self, request: UnfollowRequest, ) -> ImResult<UnfollowResult>
pub fn relationship_status(&self, peer: PeerRef) -> ImResult<RelationshipStatus>
pub async fn relationship_status_async( &self, peer: PeerRef, ) -> ImResult<RelationshipStatus>
pub fn followers( &self, query: RelationshipListQuery, ) -> ImResult<Page<RelationshipListItem>>
pub async fn followers_async( &self, query: RelationshipListQuery, ) -> ImResult<Page<RelationshipListItem>>
pub fn following( &self, query: RelationshipListQuery, ) -> ImResult<Page<RelationshipListItem>>
pub async fn following_async( &self, query: RelationshipListQuery, ) -> ImResult<Page<RelationshipListItem>>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DirectoryService<'a>
impl<'a> !UnwindSafe for DirectoryService<'a>
impl<'a> Freeze for DirectoryService<'a>
impl<'a> Send for DirectoryService<'a>
impl<'a> Sync for DirectoryService<'a>
impl<'a> Unpin for DirectoryService<'a>
impl<'a> UnsafeUnpin for DirectoryService<'a>
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