struct ExpectTraffic {
secrets: ConnectionSecrets,
_fin_verified: FinishedMessageVerified,
}Fields§
§secrets: ConnectionSecrets§_fin_verified: FinishedMessageVerifiedTrait Implementations§
Source§impl KernelState for ExpectTraffic
impl KernelState for ExpectTraffic
Source§fn update_secrets(
&mut self,
_: Direction,
) -> Result<ConnectionTrafficSecrets, Error>
fn update_secrets( &mut self, _: Direction, ) -> Result<ConnectionTrafficSecrets, Error>
Update the traffic secret for the specified direction on the connection.
Source§fn handle_new_session_ticket(
&mut self,
_cx: &mut KernelContext<'_>,
_message: &NewSessionTicketPayloadTls13,
) -> Result<(), Error>
fn handle_new_session_ticket( &mut self, _cx: &mut KernelContext<'_>, _message: &NewSessionTicketPayloadTls13, ) -> Result<(), Error>
Handle a new session ticket. Read more
Source§impl State<ServerConnectionData> for ExpectTraffic
impl State<ServerConnectionData> for ExpectTraffic
fn handle<'m>(
self: Box<Self>,
cx: &mut Context<'_, ServerConnectionData>,
m: Message<'m>,
) -> Result<Box<dyn State<ServerConnectionData> + 'm>, Error>where
Self: 'm,
fn export_keying_material( &self, output: &mut [u8], label: &[u8], context: Option<&[u8]>, ) -> Result<(), Error>
fn extract_secrets(&self) -> Result<PartiallyExtractedSecrets, Error>
fn into_external_state( self: Box<Self>, ) -> Result<Box<dyn KernelState + 'static>, Error>
fn into_owned(self: Box<Self>) -> Box<dyn State<ServerConnectionData> + 'static>
fn send_key_update_request( &mut self, _common: &mut CommonState, ) -> 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 UnsafeUnpin 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