pub struct HandshakeJoiner {
    pub frames: VecDeque<Message>,
    /* private fields */
}
Expand description

This works to reconstruct TLS handshake messages from individual TLS messages. It’s guaranteed that TLS messages output from this layer contain precisely one handshake payload.

Fields

frames: VecDeque<Message>

Completed handshake frames for output.

Implementations

Make a new HandshakeJoiner.

Do we want to process this message?

Do we have any buffered data?

Take the message, and join/split it as needed. Return the number of new messages added to the output deque as a result of this message.

Returns None if msg or a preceding message was corrupt. You cannot recover from this situation. Otherwise returns a count of how many messages we queued.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.