Client first
This commit is contained in:
1
src/network/mod.rs
Normal file
1
src/network/mod.rs
Normal file
@@ -0,0 +1 @@
|
||||
pub mod network_trait;
|
||||
5
src/network/network_trait.rs
Normal file
5
src/network/network_trait.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
pub trait Network {
|
||||
fn send(buffer: & mut [u8]);
|
||||
fn receive(buffer: & mut [u8]);
|
||||
}
|
||||
Reference in New Issue
Block a user