Skip to main content

Module subscription

Module subscription 

Source
Expand description

Subscribable data types.

A subscription is a request for a callback on a subset of network traffic specified by a filter. Callback functions are implemented as a closure that takes a subscribable data type as the parameter and immutably borrows values from the environment. Built-in subscribable types can be customized within the framework to provide additional data to the callback if needed.

Re-exports§

pub use self::connection::Connection;
pub use self::connection_frame::ConnectionFrame;
pub use self::dns_transaction::DnsTransaction;
pub use self::frame::Frame;
pub use self::http_transaction::HttpTransaction;
pub use self::quic_stream::QuicStream;
pub use self::tls_handshake::TlsHandshake;
pub use self::zc_frame::ZcFrame;

Modules§

connection
Connection records.
connection_frame
Connection packet stream.
dns_transaction
DNS transactions.
frame
Ethernet frames.
http_transaction
HTTP transactions.
quic_stream
QUIC streams.
tls_handshake
TLS handshakes.
zc_frame
Zero-copy Ethernet frames.

Enums§

Level
The abstraction level of the subscribable type.

Traits§

Subscribable
Represents a generic subscribable type. All subscribable types must implement this trait.
Trackable
Tracks subscribable types throughout the duration of a connection.