mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
17 lines
401 B
Rust
17 lines
401 B
Rust
|
pub mod data;
|
||
|
pub mod error;
|
||
|
pub mod postbox;
|
||
|
pub mod postoffice;
|
||
|
mod test;
|
||
|
|
||
|
// Reexports
|
||
|
pub use self::{
|
||
|
data::{ClientMsg, ServerMsg},
|
||
|
error::PostError,
|
||
|
postbox::PostBox,
|
||
|
postoffice::PostOffice,
|
||
|
};
|
||
|
|
||
|
pub trait PostSend = 'static + serde::Serialize + std::marker::Send + std::fmt::Debug;
|
||
|
pub trait PostRecv = 'static + serde::de::DeserializeOwned + std::marker::Send + std::fmt::Debug;
|