struct ExpectServerHello {
input: ClientHelloInput,
transcript_buffer: HandshakeHashBuffer,
early_key_schedule: Option<KeyScheduleEarly>,
offered_key_share: Option<Box<dyn ActiveKeyExchange>>,
suite: Option<SupportedCipherSuite>,
ech_state: Option<EchState>,
}
Fields§
§input: ClientHelloInput
§transcript_buffer: HandshakeHashBuffer
§early_key_schedule: Option<KeyScheduleEarly>
§suite: Option<SupportedCipherSuite>
§ech_state: Option<EchState>
Trait Implementations§
Source§impl State<ClientConnectionData> for ExpectServerHello
impl State<ClientConnectionData> for ExpectServerHello
fn handle<'m>(
self: Box<Self>,
cx: &mut Context<'_, ClientConnectionData>,
m: Message<'m>,
) -> Result<Box<dyn State<ClientConnectionData> + 'm>, Error>where
Self: 'm,
fn into_owned(self: Box<Self>) -> Box<dyn State<ClientConnectionData> + 'static>
fn export_keying_material( &self, _output: &mut [u8], _label: &[u8], _context: Option<&[u8]>, ) -> Result<(), Error>
fn extract_secrets(&self) -> Result<PartiallyExtractedSecrets, Error>
fn send_key_update_request( &mut self, _common: &mut CommonState, ) -> Result<(), Error>
fn handle_decrypt_error(&self)
Auto Trait Implementations§
impl Freeze for ExpectServerHello
impl !RefUnwindSafe for ExpectServerHello
impl Send for ExpectServerHello
impl Sync for ExpectServerHello
impl Unpin for ExpectServerHello
impl !UnwindSafe for ExpectServerHello
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