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: usize
Implementations§
Source§impl ExpectFinished
impl ExpectFinished
fn emit_ticket( flight: &mut HandshakeFlight<'_, true>, suite: &'static Tls13CipherSuite, cx: &Context<'_, ServerConnectionData>, secret: &ResumptionSecret<'_>, 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)
Auto Trait Implementations§
impl Freeze for ExpectFinished
impl !RefUnwindSafe for ExpectFinished
impl Send for ExpectFinished
impl Sync for ExpectFinished
impl Unpin 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