Struct libp2p_noise::PublicKey
source · pub struct PublicKey<T>(_);
Expand description
DH public key.
Implementations§
Trait Implementations§
source§impl<T: AsRef<[u8]>> PartialEq<PublicKey<T>> for PublicKey<T>
impl<T: AsRef<[u8]>> PartialEq<PublicKey<T>> for PublicKey<T>
impl<T: AsRef<[u8]>> Eq for PublicKey<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for PublicKey<T>where T: RefUnwindSafe,
impl<T> Send for PublicKey<T>where T: Send,
impl<T> Sync for PublicKey<T>where T: Sync,
impl<T> Unpin for PublicKey<T>where T: Unpin,
impl<T> UnwindSafe for PublicKey<T>where T: 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