Struct rustls::client::tls13::ExpectTraffic
source · struct ExpectTraffic {
session_storage: Arc<dyn ClientSessionStore>,
server_name: ServerName,
suite: &'static Tls13CipherSuite,
transcript: HandshakeHash,
key_schedule: KeyScheduleTraffic,
_cert_verified: ServerCertVerified,
_sig_verified: HandshakeSignatureValid,
_fin_verified: FinishedMessageVerified,
}
Fields§
§session_storage: Arc<dyn ClientSessionStore>
§server_name: ServerName
§suite: &'static Tls13CipherSuite
§transcript: HandshakeHash
§key_schedule: KeyScheduleTraffic
§_cert_verified: ServerCertVerified
§_sig_verified: HandshakeSignatureValid
§_fin_verified: FinishedMessageVerified
Implementations§
source§impl ExpectTraffic
impl ExpectTraffic
fn handle_new_ticket_tls13( &mut self, cx: &mut Context<'_, ClientConnectionData>, nst: &NewSessionTicketPayloadTLS13, ) -> Result<(), Error>
fn handle_key_update( &mut self, common: &mut CommonState, key_update_request: &KeyUpdateRequest, ) -> Result<(), Error>
Trait Implementations§
source§impl State<ClientConnectionData> for ExpectTraffic
impl State<ClientConnectionData> for ExpectTraffic
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 ExpectTraffic
impl !RefUnwindSafe for ExpectTraffic
impl Send for ExpectTraffic
impl Sync for ExpectTraffic
impl Unpin for ExpectTraffic
impl !UnwindSafe for ExpectTraffic
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