pub struct DirectoryApi;Expand description
DirectoryApi
Implementations§
Source§impl DirectoryApi
impl DirectoryApi
pub fn lookup_key(pool: &str, key_value: &str) -> Option<Principal>
pub fn lookup_entry( pool: &str, key_value: &str, ) -> Option<DirectoryEntryStatusResponse>
pub async fn recover_entry( pool: &str, key_value: impl AsRef<str>, ) -> Result<DirectoryRecoveryResponse, Error>
pub async fn resolve_or_create( pool: &str, key_value: impl AsRef<str>, ) -> Result<DirectoryEntryStatusResponse, Error>
pub fn bind_instance( pool: &str, key_value: impl AsRef<str>, pid: Principal, ) -> Result<(), Error>
pub fn registry() -> DirectoryRegistryResponse
Auto Trait Implementations§
impl Freeze for DirectoryApi
impl RefUnwindSafe for DirectoryApi
impl Send for DirectoryApi
impl Sync for DirectoryApi
impl Unpin for DirectoryApi
impl UnsafeUnpin for DirectoryApi
impl UnwindSafe for DirectoryApi
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