pub struct PreferClientOrder;Expand description
A CipherSuiteSelector implementation that prioritizes client order.
Trait Implementations§
Source§impl CipherSuiteSelector for PreferClientOrder
impl CipherSuiteSelector for PreferClientOrder
Source§fn select_tls12_cipher_suite(
&self,
client: &mut dyn Iterator<Item = &'static Tls12CipherSuite>,
server: &[&'static Tls12CipherSuite],
) -> Option<&'static Tls12CipherSuite>
fn select_tls12_cipher_suite( &self, client: &mut dyn Iterator<Item = &'static Tls12CipherSuite>, server: &[&'static Tls12CipherSuite], ) -> Option<&'static Tls12CipherSuite>
Choose a cipher suite, given the client’s and server’s options, in preference order. Read more
Source§fn select_tls13_cipher_suite(
&self,
client: &mut dyn Iterator<Item = &'static Tls13CipherSuite>,
server: &[&'static Tls13CipherSuite],
) -> Option<&'static Tls13CipherSuite>
fn select_tls13_cipher_suite( &self, client: &mut dyn Iterator<Item = &'static Tls13CipherSuite>, server: &[&'static Tls13CipherSuite], ) -> Option<&'static Tls13CipherSuite>
Choose a cipher suite, given the client’s and server’s options, in preference order. Read more
Auto Trait Implementations§
impl Freeze for PreferClientOrder
impl RefUnwindSafe for PreferClientOrder
impl Send for PreferClientOrder
impl Sync for PreferClientOrder
impl Unpin for PreferClientOrder
impl UnsafeUnpin for PreferClientOrder
impl UnwindSafe for PreferClientOrder
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