Struct rustls::client::ClientConnectionData
source · pub struct ClientConnectionData {
pub(super) early_data: EarlyData,
pub(super) resumption_ciphersuite: Option<SupportedCipherSuite>,
}
Expand description
State associated with a client connection.
Fields§
§early_data: EarlyData
§resumption_ciphersuite: Option<SupportedCipherSuite>
Implementations§
Trait Implementations§
source§impl State<ClientConnectionData> for ExpectCcs
impl State<ClientConnectionData> for ExpectCcs
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)
source§impl State<ClientConnectionData> for ExpectCertificate
impl State<ClientConnectionData> for ExpectCertificate
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)
source§impl State<ClientConnectionData> for ExpectCertificate
impl State<ClientConnectionData> for ExpectCertificate
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)
source§impl State<ClientConnectionData> for ExpectCertificateOrCertReq
impl State<ClientConnectionData> for ExpectCertificateOrCertReq
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)
source§impl State<ClientConnectionData> for ExpectCertificateRequest
impl State<ClientConnectionData> for ExpectCertificateRequest
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)
source§impl State<ClientConnectionData> for ExpectCertificateRequest
impl State<ClientConnectionData> for ExpectCertificateRequest
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)
source§impl State<ClientConnectionData> for ExpectCertificateStatus
impl State<ClientConnectionData> for ExpectCertificateStatus
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)
source§impl State<ClientConnectionData> for ExpectCertificateStatusOrServerKx
impl State<ClientConnectionData> for ExpectCertificateStatusOrServerKx
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)
source§impl State<ClientConnectionData> for ExpectCertificateVerify
impl State<ClientConnectionData> for ExpectCertificateVerify
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)
source§impl State<ClientConnectionData> for ExpectEncryptedExtensions
impl State<ClientConnectionData> for ExpectEncryptedExtensions
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)
source§impl State<ClientConnectionData> for ExpectFinished
impl State<ClientConnectionData> for ExpectFinished
fn handle( self: Box<Self>, cx: &mut Context<'_, ClientConnectionData>, m: Message, ) -> Result<Box<dyn State<ClientConnectionData>>, Error>
fn handle_decrypt_error(&self)
fn export_keying_material( &self, _output: &mut [u8], _label: &[u8], _context: Option<&[u8]>, ) -> Result<(), Error>
source§impl State<ClientConnectionData> for ExpectFinished
impl State<ClientConnectionData> for ExpectFinished
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)
source§impl State<ClientConnectionData> for ExpectNewTicket
impl State<ClientConnectionData> for ExpectNewTicket
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)
source§impl State<ClientConnectionData> for ExpectServerDone
impl State<ClientConnectionData> for ExpectServerDone
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)
source§impl State<ClientConnectionData> for ExpectServerDoneOrCertReq
impl State<ClientConnectionData> for ExpectServerDoneOrCertReq
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)
source§impl State<ClientConnectionData> for ExpectServerHello
impl State<ClientConnectionData> for ExpectServerHello
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)
source§impl State<ClientConnectionData> for ExpectServerHelloOrHelloRetryRequest
impl State<ClientConnectionData> for ExpectServerHelloOrHelloRetryRequest
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)
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)
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)
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)
impl SideData for ClientConnectionData
Auto Trait Implementations§
impl Freeze for ClientConnectionData
impl !RefUnwindSafe for ClientConnectionData
impl Send for ClientConnectionData
impl Sync for ClientConnectionData
impl Unpin for ClientConnectionData
impl !UnwindSafe for ClientConnectionData
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