pub struct KdfParties {
pub party_u: PartyIdentity,
pub party_v: PartyIdentity,
}Expand description
PartyU = message sender, PartyV = recipient, per RFC 9053 §5.1.
Fields§
§party_u: PartyIdentityThe sender’s identity slot.
party_v: PartyIdentityThe recipient’s identity slot.
Implementations§
Source§impl KdfParties
impl KdfParties
Sourcepub const fn is_anonymous(&self) -> bool
pub const fn is_anonymous(&self) -> bool
Whether both slots are nil.
Trait Implementations§
Source§impl Clone for KdfParties
impl Clone for KdfParties
Source§fn clone(&self) -> KdfParties
fn clone(&self) -> KdfParties
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KdfParties
impl Debug for KdfParties
impl Eq for KdfParties
Source§impl PartialEq for KdfParties
impl PartialEq for KdfParties
Source§fn eq(&self, other: &KdfParties) -> bool
fn eq(&self, other: &KdfParties) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for KdfParties
Auto Trait Implementations§
impl Freeze for KdfParties
impl RefUnwindSafe for KdfParties
impl Send for KdfParties
impl Sync for KdfParties
impl Unpin for KdfParties
impl UnsafeUnpin for KdfParties
impl UnwindSafe for KdfParties
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