refactor(irtt-client): gate functions that are only used with tokio enabled

This commit is contained in:
Nils Andreas Svee committed 2026-08-09 22:03:45 +07:00
1 parent 36eaa90e2a
commit 33fe01f252
2 files changed
+4

No files matched your search

@@ -488,6 +488,7 @@ impl SessionMachine {
)
}
#[cfg(any(feature = "tokio", test))]
pub(crate) fn packets_sent(&self) -> u64 {
match &self.state {
MachineState::Open(session) => session.packets_sent,