pub struct PublicKey(/* private fields */);
Expand description
Asymmetric public encryption key.
Implementations§
Trait Implementations§
source§impl From<PublicKey> for PublicKey
impl From<PublicKey> for PublicKey
source§fn from(recrypt_pub: RecryptPublicKey) -> Self
fn from(recrypt_pub: RecryptPublicKey) -> Self
Converts to this type from the input type.
source§impl PartialEq for PublicKey
impl PartialEq for PublicKey
source§impl TryFrom<&[u8]> for PublicKey
impl TryFrom<&[u8]> for PublicKey
§type Error = IronOxideErr
type Error = IronOxideErr
The type returned in the event of a conversion error.
impl Eq for PublicKey
impl StructuralEq for PublicKey
impl StructuralPartialEq for PublicKey
Auto Trait Implementations§
impl RefUnwindSafe for PublicKey
impl Send for PublicKey
impl Sync for PublicKey
impl Unpin for PublicKey
impl UnwindSafe for PublicKey
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more