cat_dev/net/handlers/
mod.rs

1//! These "handler" types, are a way of turning raw rust functions
2//! into a [`tower::Service`].
3//!
4//! This way they can be plugged into TCP servers to handle packets
5//! without requiring the function to be decorated.
6
7mod on_stream_begin_handlers;
8mod on_stream_end_handlers;
9
10pub use on_stream_begin_handlers::*;
11pub use on_stream_end_handlers::*;