pub struct KeyManagerState { /* private fields */ }Expand description
Serializable state of key manager.
Implementations§
Source§impl KeyManagerState
impl KeyManagerState
pub fn prekey_bundles(&self) -> &PreKeyBundlesState
Trait Implementations§
Source§impl Clone for KeyManagerState
impl Clone for KeyManagerState
Source§fn clone(&self) -> KeyManagerState
fn clone(&self) -> KeyManagerState
Returns a duplicate 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 Debug for KeyManagerState
impl Debug for KeyManagerState
Source§impl<'de> Deserialize<'de> for KeyManagerState
impl<'de> Deserialize<'de> for KeyManagerState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl IdentityManager<KeyManagerState> for KeyManager
impl IdentityManager<KeyManagerState> for KeyManager
Source§fn identity_secret(y: &KeyManagerState) -> &SecretKey
fn identity_secret(y: &KeyManagerState) -> &SecretKey
Returns identity key secret.
Auto Trait Implementations§
impl Freeze for KeyManagerState
impl RefUnwindSafe for KeyManagerState
impl Send for KeyManagerState
impl Sync for KeyManagerState
impl Unpin for KeyManagerState
impl UnwindSafe for KeyManagerState
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