pub struct Rfc7250ClientConfig { /* private fields */ }
Expand description
Wrapper for ClientConfig that simulates RFC 7250 extension behavior
Implementations§
Source§impl Rfc7250ClientConfig
impl Rfc7250ClientConfig
Sourcepub fn new(
base_config: ClientConfig,
preferences: CertificateTypePreferences,
) -> Self
pub fn new( base_config: ClientConfig, preferences: CertificateTypePreferences, ) -> Self
Create a new RFC 7250 aware client configuration
Sourcepub fn inner(&self) -> &Arc<ClientConfig>
pub fn inner(&self) -> &Arc<ClientConfig>
Get the inner rustls ClientConfig
Sourcepub fn extension_context(&self) -> &Arc<SimulatedExtensionContext>
pub fn extension_context(&self) -> &Arc<SimulatedExtensionContext>
Get the extension context for negotiation
Auto Trait Implementations§
impl Freeze for Rfc7250ClientConfig
impl !RefUnwindSafe for Rfc7250ClientConfig
impl Send for Rfc7250ClientConfig
impl Sync for Rfc7250ClientConfig
impl Unpin for Rfc7250ClientConfig
impl !UnwindSafe for Rfc7250ClientConfig
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