pub trait Shape: Sized {
    type Err;
    fn shape(m: &Message) -> Result<Self, Self::Err>;
}
Expand description

trait that can be used to verify body, see example here

Associated Types

Required methods

Implementors