pub struct KeyManager<'a> { /* private fields */ }Expand description
Key manager for key page operations (matching Dart SDK KeyManager)
Implementations§
Source§impl<'a> KeyManager<'a>
impl<'a> KeyManager<'a>
Sourcepub fn new(client: &'a AccumulateClient, key_page_url: &str) -> Self
pub fn new(client: &'a AccumulateClient, key_page_url: &str) -> Self
Create a new KeyManager
Sourcepub async fn get_key_page_state(&self) -> Result<KeyPageState, JsonRpcError>
pub async fn get_key_page_state(&self) -> Result<KeyPageState, JsonRpcError>
Get the current key page state
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for KeyManager<'a>
impl<'a> !RefUnwindSafe for KeyManager<'a>
impl<'a> Send for KeyManager<'a>
impl<'a> Sync for KeyManager<'a>
impl<'a> Unpin for KeyManager<'a>
impl<'a> UnsafeUnpin for KeyManager<'a>
impl<'a> !UnwindSafe for KeyManager<'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