pub struct TlsClientCtx<Config, Crypto: CryptoConfig, Rng> { /* private fields */ }Expand description
Combined client context with handshake and application.
Implementations§
Source§impl<Config, Crypto, Rng> TlsClientCtx<Config, Crypto, Rng>
impl<Config, Crypto, Rng> TlsClientCtx<Config, Crypto, Rng>
pub fn with_required(config: Config, crypto: Crypto, rng: Rng) -> Self
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 TlsClientCtx<Config, Crypto, Rng>where
Crypto: Freeze,
Config: Freeze,
Rng: Freeze,
<Crypto as CryptoConfig>::Hasher: Freeze,
<Crypto as CryptoConfig>::X25519: Freeze,
impl<Config, Crypto, Rng> RefUnwindSafe for TlsClientCtx<Config, Crypto, Rng>where
Crypto: RefUnwindSafe,
Config: RefUnwindSafe,
Rng: RefUnwindSafe,
<Crypto as CryptoConfig>::Hasher: RefUnwindSafe,
<Crypto as CryptoConfig>::X25519: RefUnwindSafe,
impl<Config, Crypto, Rng> Send for TlsClientCtx<Config, Crypto, Rng>where
Crypto: Send,
Config: Send,
Rng: Send,
<Crypto as CryptoConfig>::Hasher: Send,
<Crypto as CryptoConfig>::X25519: Send,
impl<Config, Crypto, Rng> Sync for TlsClientCtx<Config, Crypto, Rng>where
Crypto: Sync,
Config: Sync,
Rng: Sync,
<Crypto as CryptoConfig>::Hasher: Sync,
<Crypto as CryptoConfig>::X25519: Sync,
impl<Config, Crypto, Rng> Unpin for TlsClientCtx<Config, Crypto, Rng>where
Crypto: Unpin,
Config: Unpin,
Rng: Unpin,
<Crypto as CryptoConfig>::Hasher: Unpin,
<Crypto as CryptoConfig>::X25519: Unpin,
impl<Config, Crypto, Rng> UnwindSafe for TlsClientCtx<Config, Crypto, Rng>where
Crypto: UnwindSafe,
Config: UnwindSafe,
Rng: UnwindSafe,
<Crypto as CryptoConfig>::Hasher: UnwindSafe,
<Crypto as CryptoConfig>::X25519: UnwindSafe,
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