pub struct Preferred {
pub kex: &'static [Name],
pub key: &'static [Name],
pub cipher: &'static [Name],
pub mac: &'static [&'static str],
pub compression: &'static [&'static str],
}
Expand description
Lists of preferred algorithms. This is normally hard-coded into implementations.
Fields§
§kex: &'static [Name]
Preferred key exchange algorithms.
key: &'static [Name]
Preferred public key algorithms.
cipher: &'static [Name]
Preferred symmetric ciphers.
mac: &'static [&'static str]
Preferred MAC algorithms.
compression: &'static [&'static str]
Preferred compression algorithms.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Preferred
impl Send for Preferred
impl Sync for Preferred
impl Unpin for Preferred
impl UnwindSafe for Preferred
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