pub type Floodsub = Behaviour;
Use Behaviour instead.
Behaviour
floodsub
pub struct Floodsub { /* private fields */ }