pub trait SessionJoinPeerHandshake {
// Required method
fn negotiate_session(self: Box<Self>) -> Result<PeerKeys, RemoteSignError>;
}
Required Methods§
Sourcefn negotiate_session(self: Box<Self>) -> Result<PeerKeys, RemoteSignError>
fn negotiate_session(self: Box<Self>) -> Result<PeerKeys, RemoteSignError>
Finalize a peer joining session.
Yields encryption keys for this peer.