diff options
Diffstat (limited to 'src/send.rs')
-rw-r--r-- | src/send.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<Option<watch::Receiver<bool>>>; +pub type AckResult = io::Result<Option<watch::Receiver<bool>>>; impl<S: UdpSender> RudpSender<S> { pub async fn send(&self, pkt: Pkt<&[u8]>) -> AckResult { |