pub struct HeapHeldIdentityTable { /* private fields */ }Trait Implementations§
Source§impl Default for HeapHeldIdentityTable
impl Default for HeapHeldIdentityTable
Source§fn default() -> HeapHeldIdentityTable
fn default() -> HeapHeldIdentityTable
Returns the “default value” for a type. Read more
Source§impl HeldIdentityTable for HeapHeldIdentityTable
impl HeldIdentityTable for HeapHeldIdentityTable
fn capacity(&self) -> usize
fn len(&self) -> usize
fn hashes(&self) -> &[IdentityHash]
fn encryption_publics(&self) -> &[IdentityEncryptionPublicKey]
fn signing_publics(&self) -> &[IdentitySigningPublicKey]
fn encryption_secret_at(&self, index: usize) -> Option<&X25519SecretKey>
fn signing_secret_at(&self, index: usize) -> Option<&Ed25519SecretKey>
fn push( &mut self, hash: IdentityHash, encryption_secret: X25519SecretKey, signing_secret: Ed25519SecretKey, encryption_public: IdentityEncryptionPublicKey, signing_public: IdentitySigningPublicKey, ) -> Result<usize, HoldIdentityError>
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl Freeze for HeapHeldIdentityTable
impl RefUnwindSafe for HeapHeldIdentityTable
impl Send for HeapHeldIdentityTable
impl Sync for HeapHeldIdentityTable
impl Unpin for HeapHeldIdentityTable
impl UnsafeUnpin for HeapHeldIdentityTable
impl UnwindSafe for HeapHeldIdentityTable
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