Method

Trait Method 

Source
pub trait Method<E, D>: Encoder<E> + Decoder<D>
where E: Context, D: Context,
{ // Required method fn method_name(&self) -> String; }
Expand description

Combination of Encoder and Decoder traits - each method should be able to encode and decode.

Required Methods§

Implementors§