Type Alias ServerContext

Source
pub(super) type ServerContext<'a> = Context<'a, ServerConnectionData>;

Aliased Type§

pub(super) struct ServerContext<'a> {
    pub(crate) common: &'a mut CommonState,
    pub(crate) data: &'a mut ServerConnectionData,
    pub(crate) sendable_plaintext: Option<&'a mut ChunkVecBuffer>,
}

Fields§

§common: &'a mut CommonState§data: &'a mut ServerConnectionData§sendable_plaintext: Option<&'a mut ChunkVecBuffer>

Buffered plaintext. This is Some if any plaintext was written during handshake and None otherwise.