pub struct PreferServerOrder;Expand description
A CipherSuiteSelector implementation that prioritizes server order.
Trait Implementations§
Source§impl CipherSuiteSelector for PreferServerOrder
impl CipherSuiteSelector for PreferServerOrder
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 PreferServerOrder
impl RefUnwindSafe for PreferServerOrder
impl Send for PreferServerOrder
impl Sync for PreferServerOrder
impl Unpin for PreferServerOrder
impl UnsafeUnpin for PreferServerOrder
impl UnwindSafe for PreferServerOrder
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