pub struct KeyRegistryState<ID>where
ID: IdentityHandle,{ /* private fields */ }Expand description
Serializable state of key registry (for persistence).
Trait Implementations§
Source§impl<ID> Clone for KeyRegistryState<ID>where
ID: IdentityHandle + Clone,
impl<ID> Clone for KeyRegistryState<ID>where
ID: IdentityHandle + Clone,
Source§impl<ID> Debug for KeyRegistryState<ID>where
ID: IdentityHandle + Debug,
impl<ID> Debug for KeyRegistryState<ID>where
ID: IdentityHandle + Debug,
Source§impl<'de, ID> Deserialize<'de> for KeyRegistryState<ID>where
ID: IdentityHandle + Deserialize<'de>,
impl<'de, ID> Deserialize<'de> for KeyRegistryState<ID>where
ID: IdentityHandle + Deserialize<'de>,
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
impl<ID> Eq for KeyRegistryState<ID>where
ID: IdentityHandle + Eq,
Source§impl<ID> IdentityRegistry<ID, KeyRegistryState<ID>> for KeyRegistry<ID>
impl<ID> IdentityRegistry<ID, KeyRegistryState<ID>> for KeyRegistry<ID>
Source§impl<ID> PartialEq for KeyRegistryState<ID>where
ID: IdentityHandle + PartialEq,
impl<ID> PartialEq for KeyRegistryState<ID>where
ID: IdentityHandle + PartialEq,
Source§impl<ID> Serialize for KeyRegistryState<ID>where
ID: IdentityHandle + Serialize,
impl<ID> Serialize for KeyRegistryState<ID>where
ID: IdentityHandle + Serialize,
impl<ID> StructuralPartialEq for KeyRegistryState<ID>where
ID: IdentityHandle + PartialEq,
Auto Trait Implementations§
impl<ID> Freeze for KeyRegistryState<ID>
impl<ID> RefUnwindSafe for KeyRegistryState<ID>where
HashMap<ID, PublicKey>: RefUnwindSafe,
HashMap<ID, Vec<OneTimeKeyBundle>>: RefUnwindSafe,
HashMap<ID, Vec<LongTermKeyBundle>>: RefUnwindSafe,
impl<ID> Send for KeyRegistryState<ID>
impl<ID> Sync for KeyRegistryState<ID>
impl<ID> Unpin for KeyRegistryState<ID>
impl<ID> UnsafeUnpin for KeyRegistryState<ID>where
HashMap<ID, PublicKey>: UnsafeUnpin,
HashMap<ID, Vec<OneTimeKeyBundle>>: UnsafeUnpin,
HashMap<ID, Vec<LongTermKeyBundle>>: UnsafeUnpin,
impl<ID> UnwindSafe for KeyRegistryState<ID>where
HashMap<ID, PublicKey>: UnwindSafe,
HashMap<ID, Vec<OneTimeKeyBundle>>: UnwindSafe,
HashMap<ID, Vec<LongTermKeyBundle>>: UnwindSafe,
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