Struct rustls::client::tls12::server_hello::CompleteServerHelloHandling
source · pub(in client) struct CompleteServerHelloHandling {
pub(in client) config: Arc<ClientConfig>,
pub(in client) resuming_session: Option<Tls12ClientSessionValue>,
pub(in client) server_name: ServerName,
pub(in client) randoms: ConnectionRandoms,
pub(in client) using_ems: bool,
pub(in client) transcript: HandshakeHash,
}
Fields§
§config: Arc<ClientConfig>
§resuming_session: Option<Tls12ClientSessionValue>
§server_name: ServerName
§randoms: ConnectionRandoms
§using_ems: bool
§transcript: HandshakeHash
Implementations§
source§impl CompleteServerHelloHandling
impl CompleteServerHelloHandling
pub(in client) fn handle_server_hello( self, cx: &mut Context<'_, ClientConnectionData>, suite: &'static Tls12CipherSuite, server_hello: &ServerHelloPayload, tls13_supported: bool, ) -> Result<Box<dyn State<ClientConnectionData>>, Error>
Auto Trait Implementations§
impl Freeze for CompleteServerHelloHandling
impl !RefUnwindSafe for CompleteServerHelloHandling
impl Send for CompleteServerHelloHandling
impl Sync for CompleteServerHelloHandling
impl Unpin for CompleteServerHelloHandling
impl !UnwindSafe for CompleteServerHelloHandling
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