pub enum Event {
Show 15 variants
Udp(UdpPacket, SocketAddr),
UpdateWireguardConfiguration,
CtrlC,
SendAdvertisement {
addressed_to: AddressedTo,
to: SocketAddr,
wg_ip: Ipv4Addr,
},
SendAdvertisementToPublicPeers,
SendPingToAllDynamicPeers,
SendRouteDatabaseRequest {
to: SocketAddrV4,
},
SendRouteDatabase {
to: SocketAddrV4,
},
SendLocalContactRequest {
to: SocketAddrV4,
},
SendLocalContact {
to: SocketAddrV4,
},
CheckAndRemoveDeadDynamicPeers,
UpdateRoutes,
TimerTick1s,
TuiApp(TuiAppEvent),
ReadWireguardConfiguration,
}
CheckAndRemoveDeadDynamicPeers
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,