Struct rustls::internal::msgs::handshake::HandshakeMessagePayload[][src]

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

Fields

typ: HandshakeTypepayload: HandshakePayload

Implementations

impl HandshakeMessagePayload[src]

pub fn length(&self) -> usize[src]

pub fn read_version(
    r: &mut Reader<'_>,
    vers: ProtocolVersion
) -> Option<HandshakeMessagePayload>
[src]

pub fn build_key_update_notify() -> HandshakeMessagePayload[src]

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

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

Trait Implementations

impl Codec for HandshakeMessagePayload[src]

impl Debug for HandshakeMessagePayload[src]

Auto Trait Implementations

impl RefUnwindSafe for HandshakeMessagePayload

impl Send for HandshakeMessagePayload

impl Sync for HandshakeMessagePayload

impl Unpin for HandshakeMessagePayload

impl UnwindSafe for HandshakeMessagePayload

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.