Struct dnstplib::processor::request::encryption::KeySwapContext
source · pub struct KeySwapContext {
pub new_client: Client,
pub response: DNSMessage,
pub server_public: String,
pub client_public: String,
}Expand description
Result of a client’s handshake request including server key pair and prepared response
Fields§
§new_client: ClientNew client structure to track derived shared secret and last seen time
response: DNSMessageResponse message to send to the client with the server’s public key
server_public: StringPublic key of the server’s key pair
client_public: StringPublic key extracted from the client’s request
Auto Trait Implementations§
impl Freeze for KeySwapContext
impl !RefUnwindSafe for KeySwapContext
impl !Send for KeySwapContext
impl !Sync for KeySwapContext
impl Unpin for KeySwapContext
impl !UnwindSafe for KeySwapContext
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