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§fn clone(&self) -> KeyRegistryState<ID>
fn clone(&self) -> KeyRegistryState<ID>
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<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
Source§impl<ID> IdentityRegistry<ID, KeyRegistryState<ID>> for KeyRegistry<ID>
impl<ID> IdentityRegistry<ID, KeyRegistryState<ID>> for KeyRegistry<ID>
type Error = Infallible
fn identity_key( y: &KeyRegistryState<ID>, id: &ID, ) -> Result<Option<PublicKey>, Self::Error>
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> Eq for KeyRegistryState<ID>where
ID: IdentityHandle + Eq,
impl<ID> StructuralPartialEq for KeyRegistryState<ID>where
ID: IdentityHandle,
Auto Trait Implementations§
impl<ID> Freeze for KeyRegistryState<ID>
impl<ID> RefUnwindSafe for KeyRegistryState<ID>where
ID: RefUnwindSafe,
impl<ID> Send for KeyRegistryState<ID>where
ID: Send,
impl<ID> Sync for KeyRegistryState<ID>where
ID: Sync,
impl<ID> Unpin for KeyRegistryState<ID>where
ID: Unpin,
impl<ID> UnwindSafe for KeyRegistryState<ID>where
ID: 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