BRUHH
This commit is contained in:
@@ -11,7 +11,7 @@ use std::{
|
|||||||
sync::Arc,
|
sync::Arc,
|
||||||
time::Duration,
|
time::Duration,
|
||||||
};
|
};
|
||||||
use tokio::sync::{mpsc::UnboundedSender, oneshot::Receiver};
|
use tokio::sync::{mpsc::UnboundedSender, oneshot};
|
||||||
use winit::event_loop::EventLoopProxy;
|
use winit::event_loop::EventLoopProxy;
|
||||||
|
|
||||||
pub const CLIENT_SOCKET: SocketAddr =
|
pub const CLIENT_SOCKET: SocketAddr =
|
||||||
@@ -39,7 +39,7 @@ impl AppHandle {
|
|||||||
type NetResult<T> = Result<T, String>;
|
type NetResult<T> = Result<T, String>;
|
||||||
|
|
||||||
pub enum NetCtrlMsg {
|
pub enum NetCtrlMsg {
|
||||||
Exchange(ClientMsg, Receiver<>),
|
Exchange(ClientMsg, oneshot::Sender<>),
|
||||||
Send(ClientMsg),
|
Send(ClientMsg),
|
||||||
Exit,
|
Exit,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user