Struct rustls::client::tls12::ExpectServerKx
source · struct ExpectServerKx {
config: Arc<ClientConfig>,
resuming_session: Option<Tls12ClientSessionValue>,
session_id: SessionId,
server_name: ServerName,
randoms: ConnectionRandoms,
using_ems: bool,
transcript: HandshakeHash,
suite: &'static Tls12CipherSuite,
server_cert: ServerCertDetails,
must_issue_new_ticket: bool,
}
Fields§
§config: Arc<ClientConfig>
§resuming_session: Option<Tls12ClientSessionValue>
§session_id: SessionId
§server_name: ServerName
§randoms: ConnectionRandoms
§using_ems: bool
§transcript: HandshakeHash
§suite: &'static Tls12CipherSuite
§server_cert: ServerCertDetails
§must_issue_new_ticket: bool
Trait Implementations§
source§impl State<ClientConnectionData> for ExpectServerKx
impl State<ClientConnectionData> for ExpectServerKx
fn handle( self: Box<Self>, cx: &mut Context<'_, ClientConnectionData>, m: Message, ) -> Result<Box<dyn State<ClientConnectionData>>, Error>
fn export_keying_material( &self, _output: &mut [u8], _label: &[u8], _context: Option<&[u8]>, ) -> Result<(), Error>
fn handle_decrypt_error(&self)
Auto Trait Implementations§
impl Freeze for ExpectServerKx
impl !RefUnwindSafe for ExpectServerKx
impl Send for ExpectServerKx
impl Sync for ExpectServerKx
impl Unpin for ExpectServerKx
impl !UnwindSafe for ExpectServerKx
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