struct ExpectFinished {
config: Arc<ServerConfig>,
transcript: HandshakeHash,
suite: &'static Tls13CipherSuite,
key_schedule: KeyScheduleTrafficWithClientFinishedPending,
send_tickets: usize,
}Fields§
§config: Arc<ServerConfig>§transcript: HandshakeHash§suite: &'static Tls13CipherSuite§key_schedule: KeyScheduleTrafficWithClientFinishedPending§send_tickets: usizeImplementations§
Source§impl ExpectFinished
impl ExpectFinished
fn emit_ticket( flight: &mut HandshakeFlight<'_, true>, suite: &'static Tls13CipherSuite, cx: &Context<'_, ServerConnectionData>, resumption: &KeyScheduleResumption, config: &ServerConfig, ) -> Result<(), Error>
Trait Implementations§
Source§impl State<ServerConnectionData> for ExpectFinished
impl State<ServerConnectionData> for ExpectFinished
fn handle<'m>(
self: Box<Self>,
cx: &mut Context<'_, ServerConnectionData>,
m: Message<'m>,
) -> Result<Box<dyn State<ServerConnectionData> + 'm>, Error>where
Self: 'm,
fn into_owned(self: Box<Self>) -> Box<dyn State<ServerConnectionData> + '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)
fn into_external_state( self: Box<Self>, ) -> Result<Box<dyn KernelState + 'static>, Error>
Auto Trait Implementations§
impl Freeze for ExpectFinished
impl !RefUnwindSafe for ExpectFinished
impl Send for ExpectFinished
impl Sync for ExpectFinished
impl Unpin for ExpectFinished
impl UnsafeUnpin for ExpectFinished
impl !UnwindSafe for ExpectFinished
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