Module retina_core::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::tls_handshake::TlsHandshake;
pub use self::zc_frame::ZcFrame;
Modules
- Connection records.
- Connection packet stream.
- DNS transactions.
- Ethernet frames.
- HTTP transactions.
- TLS handshakes.
- Zero-copy Ethernet frames.
Enums
- The abstraction level of the subscribable type.
Traits
- Represents a generic subscribable type. All subscribable types must implement this trait.
- Tracks subscribable types throughout the duration of a connection.