pub struct NegotiatedAlgorithms {
pub kex_algorithm: AlgorithmId,
pub host_key_algorithm: AlgorithmId,
pub encryption_c2s: AlgorithmId,
pub encryption_s2c: AlgorithmId,
pub mac_c2s: AlgorithmId,
pub mac_s2c: AlgorithmId,
pub compression_c2s: AlgorithmId,
pub compression_s2c: AlgorithmId,
}Expand description
Algorithms negotiated during key exchange
Fields§
§kex_algorithm: AlgorithmId§host_key_algorithm: AlgorithmId§encryption_c2s: AlgorithmId§encryption_s2c: AlgorithmId§mac_c2s: AlgorithmId§mac_s2c: AlgorithmId§compression_c2s: AlgorithmId§compression_s2c: AlgorithmIdImplementations§
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§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
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 UnwindSafe for NegotiatedAlgorithms
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)