pub struct DummyTlsSession { /* private fields */ }Expand description
A dummy TLS session implementation which does nothing.
Trait Implementations§
Source§impl Clone for DummyTlsSession
impl Clone for DummyTlsSession
Source§fn clone(&self) -> DummyTlsSession
fn clone(&self) -> DummyTlsSession
Returns a duplicate of the value. Read more
1.0.0 · 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 DummyTlsSession
impl Debug for DummyTlsSession
Source§impl TlsSession for DummyTlsSession
impl TlsSession for DummyTlsSession
Source§fn protocol_version(&self) -> ProtocolVersion
fn protocol_version(&self) -> ProtocolVersion
Retrieves the protocol version agreed with the peer.
Source§fn update_tx_secret(&mut self) -> Result<TlsCryptoInfoTx>
fn update_tx_secret(&mut self) -> Result<TlsCryptoInfoTx>
Update the traffic secret used for encrypting messages sent to the peer. Read more
Source§fn update_rx_secret(&mut self) -> Result<TlsCryptoInfoRx>
fn update_rx_secret(&mut self) -> Result<TlsCryptoInfoRx>
Update the traffic secret used for decrypting messages received from the
peer. Read more
impl Copy for DummyTlsSession
Auto Trait Implementations§
impl Freeze for DummyTlsSession
impl RefUnwindSafe for DummyTlsSession
impl Send for DummyTlsSession
impl Sync for DummyTlsSession
impl Unpin for DummyTlsSession
impl UnwindSafe for DummyTlsSession
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