Trait Encode

Source
pub trait Encode<V> {
    // Required method
    fn encode(&self, any_message: AnyMessage) -> Result<V, AnyError>;
}

Required Methods§

Source

fn encode(&self, any_message: AnyMessage) -> Result<V, AnyError>

Implementations on Foreign Types§

Source§

impl<T, V> Encode<V> for &T
where T: Encode<V>,

Source§

fn encode(&self, any_message: AnyMessage) -> Result<V, AnyError>

Implementors§