Struct serde_encrypt::SenderCombinedKey [−][src]
pub struct SenderCombinedKey<'s, 'r> { /* fields omitted */ }
Expand description
(Alice's private key
, Bob's public key
) pair.
(Alice is a sender and Bob a receiver.)
Implementations
pub fn new(
sender_private_key: &'s SenderPrivateKey,
receiver_public_key: &'r ReceiverPublicKey
) -> SenderCombinedKey<'s, 'r>
pub fn new(
sender_private_key: &'s SenderPrivateKey,
receiver_public_key: &'r ReceiverPublicKey
) -> SenderCombinedKey<'s, 'r>
Constructor.
Trait Implementations
Auto Trait Implementations
impl<'s, 'r> RefUnwindSafe for SenderCombinedKey<'s, 'r>
impl<'s, 'r> Send for SenderCombinedKey<'s, 'r>
impl<'s, 'r> Sync for SenderCombinedKey<'s, 'r>
impl<'s, 'r> Unpin for SenderCombinedKey<'s, 'r>
impl<'s, 'r> UnwindSafe for SenderCombinedKey<'s, 'r>
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V