pub struct ClientHandshakeData {
pub server_challenge: Challenge,
pub server_exchange_public_key: ExchangePublicKey,
}Expand description
A wrapper for the Challenge, and the PeerPublicKey.
This is mostly used as a convenience type, to hold the challenge and the peer public key together.
Fields§
§server_challenge: Challenge§server_exchange_public_key: ExchangePublicKeyTrait Implementations§
Source§impl Clone for ClientHandshakeData
impl Clone for ClientHandshakeData
Source§fn clone(&self) -> ClientHandshakeData
fn clone(&self) -> ClientHandshakeData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ClientHandshakeData
impl RefUnwindSafe for ClientHandshakeData
impl Send for ClientHandshakeData
impl Sync for ClientHandshakeData
impl Unpin for ClientHandshakeData
impl UnwindSafe for ClientHandshakeData
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