[][src]Trait solana_libra_proto_conv::IntoProtoBytes

pub trait IntoProtoBytes<P> {
    fn into_proto_bytes(self) -> Result<Vec<u8>>;
}

Required methods

fn into_proto_bytes(self) -> Result<Vec<u8>>

Encode a Rust struct to Protobuf bytes.

Loading content...

Implementors

impl<P, T> IntoProtoBytes<P> for T where
    P: Message,
    T: IntoProto<ProtoType = P>, 
[src]

blanket implementation for protobuf::Message.

Loading content...