pub trait Shape: Sized { type Err; fn shape(m: &Message) -> Result<Self, Self::Err>; }
trait that can be used to verify body, see example here