feat(util): Introduce Mutex/RwLock error handling traits

This commit is contained in:
Nils Andreas Svee committed 2026-02-22 16:57:02 +07:00
1 parent 8589a1c7dc
commit d4ad24ce4a
6 files changed
+33 -1

No files matched your search

+2 -1
View File
@@ -1,7 +1,8 @@
use crate::MeasurementType;
use icmp_socket::socket::IcmpSocket;
use icmp_socket::{IcmpSocket4, Icmpv4Packet};
use log::{debug};
use crate::util::RwLockExt;
use log::{debug, warn};
use std::net::{IpAddr, Ipv4Addr};
use std::sync::mpsc::Sender;
use std::sync::{Arc, RwLock};