pub struct TlsServerCtx<Config, Crypto, Rng> { /* private fields */ }Expand description
yTLS Server Context
Implementations§
Source§impl<Config, Crypto, Rng> TlsServerCtx<Config, Crypto, Rng>
impl<Config, Crypto, Rng> TlsServerCtx<Config, Crypto, Rng>
pub fn with_required(config: Config, crypto: Crypto, rng: Rng) -> Self
Sourcepub fn is_handshaking(&self) -> bool
pub fn is_handshaking(&self) -> bool
Indicates Server Ctx is not ready for application data
pub fn advance_with<Li: TlsLeftIn, Lo: TlsLeftOut, R: TlsRight>( &mut self, li: &mut Li, lo: &mut Lo, r: &mut R, ) -> Result<(), CtxError>
Auto Trait Implementations§
impl<Config, Crypto, Rng> Freeze for TlsServerCtx<Config, Crypto, Rng>
impl<Config, Crypto, Rng> RefUnwindSafe for TlsServerCtx<Config, Crypto, Rng>
impl<Config, Crypto, Rng> Send for TlsServerCtx<Config, Crypto, Rng>
impl<Config, Crypto, Rng> Sync for TlsServerCtx<Config, Crypto, Rng>
impl<Config, Crypto, Rng> Unpin for TlsServerCtx<Config, Crypto, Rng>
impl<Config, Crypto, Rng> UnwindSafe for TlsServerCtx<Config, Crypto, Rng>
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