pub struct NegotiatedAlgorithms {
pub kex: String,
pub aead: String,
pub mac: String,
pub kdf: String,
}Expand description
The result of negotiate: the single algorithm chosen for each category.
Fields§
§kex: StringChosen key exchange algorithm
aead: StringChosen AEAD session encryption algorithm
mac: StringChosen UDP packet MAC algorithm
kdf: StringChosen KDF expand algorithm
Trait Implementations§
Source§impl Clone for NegotiatedAlgorithms
impl Clone for NegotiatedAlgorithms
Source§fn clone(&self) -> NegotiatedAlgorithms
fn clone(&self) -> NegotiatedAlgorithms
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 NegotiatedAlgorithms
impl Debug for NegotiatedAlgorithms
Source§impl Default for NegotiatedAlgorithms
impl Default for NegotiatedAlgorithms
Source§impl PartialEq for NegotiatedAlgorithms
impl PartialEq for NegotiatedAlgorithms
Source§fn eq(&self, other: &NegotiatedAlgorithms) -> bool
fn eq(&self, other: &NegotiatedAlgorithms) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NegotiatedAlgorithms
impl StructuralPartialEq for NegotiatedAlgorithms
Auto Trait Implementations§
impl Freeze for NegotiatedAlgorithms
impl RefUnwindSafe for NegotiatedAlgorithms
impl Send for NegotiatedAlgorithms
impl Sync for NegotiatedAlgorithms
impl Unpin for NegotiatedAlgorithms
impl UnsafeUnpin for NegotiatedAlgorithms
impl UnwindSafe for NegotiatedAlgorithms
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