pub(crate) struct HandshakeFlight<'a, const TLS13: bool> {
pub(crate) transcript: &'a mut HandshakeHash,
body: Vec<u8>,
}
Fields§
§transcript: &'a mut HandshakeHash
§body: Vec<u8>
Implementations§
Source§impl<'a, const TLS13: bool> HandshakeFlight<'a, TLS13>
impl<'a, const TLS13: bool> HandshakeFlight<'a, TLS13>
pub(crate) fn new(transcript: &'a mut HandshakeHash) -> Self
pub(crate) fn add(&mut self, hs: HandshakeMessagePayload<'_>)
pub(crate) fn finish(self, common: &mut CommonState)
Auto Trait Implementations§
impl<'a, const TLS13: bool> Freeze for HandshakeFlight<'a, TLS13>
impl<'a, const TLS13: bool> !RefUnwindSafe for HandshakeFlight<'a, TLS13>
impl<'a, const TLS13: bool> Send for HandshakeFlight<'a, TLS13>
impl<'a, const TLS13: bool> Sync for HandshakeFlight<'a, TLS13>
impl<'a, const TLS13: bool> Unpin for HandshakeFlight<'a, TLS13>
impl<'a, const TLS13: bool> !UnwindSafe for HandshakeFlight<'a, TLS13>
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