pub enum Party {
Initiator,
Responder,
}Expand description
Represents the two parties in ECDH
Variants§
Initiator
The party that starts the key exchange or communication process
Responder
The party that responds to the initiator’s communications
Trait Implementations§
Source§impl Ord for Party
impl Ord for Party
Source§impl PartialOrd for Party
impl PartialOrd for Party
impl Copy for Party
impl Eq for Party
impl StructuralPartialEq for Party
Auto Trait Implementations§
impl Freeze for Party
impl RefUnwindSafe for Party
impl Send for Party
impl Sync for Party
impl Unpin for Party
impl UnwindSafe for Party
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