mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 10:15:31 +00:00
aquatic_http: use const LISTENER_TOKEN for clarity
This commit is contained in:
parent
0a23b62bd5
commit
2893fffd20
2 changed files with 5 additions and 2 deletions
|
|
@ -17,6 +17,9 @@ use aquatic_http_protocol::request::Request;
|
|||
use aquatic_http_protocol::response::{Response, ResponsePeer};
|
||||
|
||||
|
||||
pub const LISTENER_TOKEN: Token = Token(0);
|
||||
|
||||
|
||||
pub trait Ip: Copy + Eq + ::std::hash::Hash {}
|
||||
|
||||
impl Ip for Ipv4Addr {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue