From 1d4ebed25ff3e05d2fac70a040901fd3ea3029eb Mon Sep 17 00:00:00 2001 From: Lizzy Fleckenstein Date: Wed, 15 Feb 2023 21:54:25 +0100 Subject: Rework structure --- src/send.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/send.rs') diff --git a/src/send.rs b/src/send.rs index 0bbce47..e0c2fa3 100644 --- a/src/send.rs +++ b/src/send.rs @@ -1,9 +1,9 @@ -use crate::{prelude::*, Ack, RudpShare}; +use super::*; use byteorder::{BigEndian, WriteBytesExt}; use std::io::{self, Write}; use tokio::sync::watch; -type AckResult = io::Result>>; +pub type AckResult = io::Result>>; impl RudpSender { pub async fn send(&self, pkt: Pkt<&[u8]>) -> AckResult { -- cgit v1.2.3