pub struct TlsNames(/* private fields */);Implementations§
Source§impl TlsNames
impl TlsNames
pub fn random_choose(&self) -> &ServerName
Trait Implementations§
impl StructuralPartialEq for TlsNames
Auto Trait Implementations§
impl Freeze for TlsNames
impl RefUnwindSafe for TlsNames
impl Send for TlsNames
impl Sync for TlsNames
impl Unpin for TlsNames
impl UnwindSafe for TlsNames
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