Trait hedwig::DecodableMessage [−][src]
pub trait DecodableMessage {
type Error;
type Decoder;
fn decode(
msg: ValidatedMessage,
decoder: &Self::Decoder
) -> Result<Self, Self::Error>
where
Self: Sized;
}
Expand description
Messages which can be decoded from a ValidatedMessage
stream.