pub trait NetworkMsg: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static { }
Expand description

common traits we would like our network messages to implement

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> NetworkMsg for T
where T: Serialize + for<'a> Deserialize<'a> + Clone + Sync + Send + Debug + 'static,