Type Alias retina_datatypes::tls_handshake::TlsHandshake

source ·
pub type TlsHandshake = Box<Tls>;

Aliased Type§

struct TlsHandshake(/* private fields */);

Trait Implementations§

source§

impl FromSession for TlsHandshake

source§

fn stream_protocols() -> Vec<&'static str>

The stream protocols (lower-case) required for this datatype. See IMPLEMENTED_PROTOCOLS in retina_core for list of supported protocols.
source§

fn from_session(session: &Session) -> Option<&Self>

Build Self from a parsed session, or return None if impossible. Invoked when the session is fully matched, parsed, and ready to be delivered to a callback.
source§

fn from_sessionlist(session_list: &SessionList) -> Option<&Self>

Build Self from a list of sessions, or return None if impossible. Invoked when the connection has terminated and a FromSession datatype must be delivered to a callback.