Trait ibc::core::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> ToVec for T
where T: Message,