26 lines
354 B
Rust
26 lines
354 B
Rust
use std::any::{Any};
|
|
|
|
#[cfg(test)]
|
|
mod tests {
|
|
#[test]
|
|
fn it_works() {
|
|
let result = 2 + 2;
|
|
assert_eq!(result, 4);
|
|
}
|
|
}
|
|
|
|
pub mod timer;
|
|
pub mod app;
|
|
pub mod protoutils;
|
|
|
|
pub use timer::Timer;
|
|
//pub use app::app;
|
|
|
|
pub struct MsgHdr {
|
|
pub msg_id: u16,
|
|
pub seq_id: u32,
|
|
pub socket_handle: u16,
|
|
pub msg: dyn Any,
|
|
|
|
}
|