diff options
| author | zirkonya <zirkonya@iridium.lan> | 2026-08-29 22:11:23 +0200 |
|---|---|---|
| committer | zirkonya <zirkonya@iridium.lan> | 2026-08-29 22:11:23 +0200 |
| commit | bf9b81e669f4ce98c8d58df5d776ae90726d7ec2 (patch) | |
| tree | e0d5bdbd8a3423f1303577ddebbfa34696d336bb /src/event.rs | |
| parent | bb41e396aca01fee9f81785681fac0a79d0fd9d8 (diff) | |
Add transport layer
Diffstat (limited to 'src/event.rs')
| -rw-r--r-- | src/event.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/event.rs b/src/event.rs index 95d5a12..6339afe 100644 --- a/src/event.rs +++ b/src/event.rs @@ -19,7 +19,7 @@ pub enum EventKind<Packet, Uid> where Uid: PartialEq, { - Connection(ConnectionEvent), + Connection(ConnectionEvent<Uid>), PacketReceived(PacketReceivedEvent<Packet>), PacketSent(PacketSentEvent<Packet>), Disconnect(DisconnectEvent<Uid>), @@ -30,13 +30,13 @@ pub struct Event<Packet, Uid> where Uid: PartialEq, { - #[getset(get = "pub")] + #[get = "pub"] instant: Instant, - #[getset(get = "pub")] + #[get = "pub"] connection_id: Uid, canceled: Cell<bool>, - #[getset(get = "pub")] + #[get = "pub"] kind: EventKind<Packet, Uid>, } |
