[]Struct yukikaze::connector::rustls::internal::msgs::handshake::HandshakeMessagePayload

pub struct HandshakeMessagePayload {
    pub typ: HandshakeType,
    pub payload: HandshakePayload,
}

Fields

typ: HandshakeTypepayload: HandshakePayload

Methods

impl HandshakeMessagePayload

pub fn length(&self) -> usize

pub fn read_version(
    r: &mut Reader,
    vers: ProtocolVersion
) -> Option<HandshakeMessagePayload>

pub fn build_key_update_notify() -> HandshakeMessagePayload

pub fn get_encoding_for_binder_signing(&self) -> Vec<u8>

pub fn build_handshake_hash(hash: &[u8]) -> HandshakeMessagePayload

Trait Implementations

impl Codec for HandshakeMessagePayload

impl Debug for HandshakeMessagePayload

Auto Trait Implementations

impl Sync for HandshakeMessagePayload

impl Send for HandshakeMessagePayload

impl Unpin for HandshakeMessagePayload

impl UnwindSafe for HandshakeMessagePayload

impl RefUnwindSafe for HandshakeMessagePayload

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self