pub struct FakeTlsConfig {
pub sni: String,
pub version: u16,
}Expand description
FakeTLS configuration
Fields§
§sni: StringServer Name Indication (SNI) to use in ClientHello
version: u16TLS version to advertise
Trait Implementations§
Source§impl Clone for FakeTlsConfig
impl Clone for FakeTlsConfig
Source§fn clone(&self) -> FakeTlsConfig
fn clone(&self) -> FakeTlsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FakeTlsConfig
impl Debug for FakeTlsConfig
Auto Trait Implementations§
impl Freeze for FakeTlsConfig
impl RefUnwindSafe for FakeTlsConfig
impl Send for FakeTlsConfig
impl Sync for FakeTlsConfig
impl Unpin for FakeTlsConfig
impl UnsafeUnpin for FakeTlsConfig
impl UnwindSafe for FakeTlsConfig
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