pub enum Kex {
Curve25519Sha256,
EcdhSha2Nistrp256,
DiffieHellmanGroup14Sha1,
DiffieHellmanGroup14Sha256,
}
Expand description
key exchange algorithm
Variants§
Trait Implementations§
impl Copy for Kex
impl Eq for Kex
impl StructuralEq for Kex
impl StructuralPartialEq for Kex
Auto Trait Implementations§
impl RefUnwindSafe for Kex
impl Send for Kex
impl Sync for Kex
impl Unpin for Kex
impl UnwindSafe for Kex
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