Trait ibc_primitives::ToVec

source ·
pub trait ToVec {
    // Required method
    fn to_vec(&self) -> Vec<u8> ;
}
Expand description

Convenient trait for converting types to a raw Protobuf Vec<u8>.

Required Methods§

source

fn to_vec(&self) -> Vec<u8>

Implementors§

source§

impl<T: Message> ToVec for T