pub struct HandshakeMsg<'r> {
pub hdr: &'r HandshakeHdr,
pub msg: MsgType<'r>,
}Fields§
§hdr: &'r HandshakeHdr§msg: MsgType<'r>Implementations§
Source§impl<'r> HandshakeMsg<'r>
impl<'r> HandshakeMsg<'r>
Sourcepub fn client_wrapped_parse(bytes: &'r [u8]) -> Result<Self, RecordError>
pub fn client_wrapped_parse(bytes: &'r [u8]) -> Result<Self, RecordError>
Parse Client Wrapped Record
Sourcepub fn client_parse<P: ClientHelloProcessor>(
prc: &mut P,
bytes: &'r [u8],
) -> Result<(Self, &'r [u8]), RecordError>
pub fn client_parse<P: ClientHelloProcessor>( prc: &mut P, bytes: &'r [u8], ) -> Result<(Self, &'r [u8]), RecordError>
Parse Client Record
Trait Implementations§
Source§impl<'r> Debug for HandshakeMsg<'r>
impl<'r> Debug for HandshakeMsg<'r>
Source§impl<'r> PartialEq for HandshakeMsg<'r>
impl<'r> PartialEq for HandshakeMsg<'r>
impl<'r> StructuralPartialEq for HandshakeMsg<'r>
Auto Trait Implementations§
impl<'r> Freeze for HandshakeMsg<'r>
impl<'r> RefUnwindSafe for HandshakeMsg<'r>
impl<'r> Send for HandshakeMsg<'r>
impl<'r> Sync for HandshakeMsg<'r>
impl<'r> Unpin for HandshakeMsg<'r>
impl<'r> UnwindSafe for HandshakeMsg<'r>
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