pub struct TlsHandshake {
pub five_tuple: FiveTuple,
pub data: Tls,
}Expand description
A parsed TLS handshake and connection metadata.
Fields§
§five_tuple: FiveTupleConnection 5-tuple.
data: TlsParsed TLS handshake data.
Implementations§
Source§impl TlsHandshake
impl TlsHandshake
Sourcepub fn client(&self) -> SocketAddr
pub fn client(&self) -> SocketAddr
Returns the client’s socket address.
Sourcepub fn server(&self) -> SocketAddr
pub fn server(&self) -> SocketAddr
Returns the server’s socket address.
Trait Implementations§
Source§impl Debug for TlsHandshake
impl Debug for TlsHandshake
Source§impl Serialize for TlsHandshake
impl Serialize for TlsHandshake
Source§impl Subscribable for TlsHandshake
impl Subscribable for TlsHandshake
type Tracked = TrackedTls
Source§fn parsers() -> Vec<ConnParser>
fn parsers() -> Vec<ConnParser>
Returns a list of protocol parsers required to parse the subscribable type.
Source§fn process_packet(
mbuf: Mbuf,
subscription: &Subscription<'_, Self>,
conn_tracker: &mut ConnTracker<Self::Tracked>,
)
fn process_packet( mbuf: Mbuf, subscription: &Subscription<'_, Self>, conn_tracker: &mut ConnTracker<Self::Tracked>, )
Process a single incoming packet.
Auto Trait Implementations§
impl Freeze for TlsHandshake
impl RefUnwindSafe for TlsHandshake
impl Send for TlsHandshake
impl Sync for TlsHandshake
impl Unpin for TlsHandshake
impl UnsafeUnpin for TlsHandshake
impl UnwindSafe for TlsHandshake
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more