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