pub struct SignatureCache { /* private fields */ }Expand description
Signature verification cache for performance optimization
Implementations§
Source§impl SignatureCache
impl SignatureCache
Sourcepub fn verify_cached(&mut self, record: &PeerDHTRecord) -> Result<()>
pub fn verify_cached(&mut self, record: &PeerDHTRecord) -> Result<()>
Verify signature with caching
Auto Trait Implementations§
impl Freeze for SignatureCache
impl RefUnwindSafe for SignatureCache
impl Send for SignatureCache
impl Sync for SignatureCache
impl Unpin for SignatureCache
impl UnwindSafe for SignatureCache
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