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