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.