[][src]Trait solana_libra_prost_ext::MessageExt

pub trait MessageExt: Message {
    fn to_bytes(&self) -> Result<Bytes, EncodeError>
    where
        Self: Sized
, { ... }
fn to_vec(&self) -> Result<Vec<u8>, EncodeError>
    where
        Self: Sized
, { ... } }

Provided methods

fn to_bytes(&self) -> Result<Bytes, EncodeError> where
    Self: Sized

fn to_vec(&self) -> Result<Vec<u8>, EncodeError> where
    Self: Sized

Loading content...

Implementors

impl<T: ?Sized> MessageExt for T where
    T: Message
[src]

Loading content...