[][src]Trait tari_comms::message::MessageExt

pub trait MessageExt: Message {
    fn to_encoded_bytes(&self) -> Vec<u8>
    where
        Self: Sized
, { ... } }

Provided methods

fn to_encoded_bytes(&self) -> Vec<u8> where
    Self: Sized

Encodes a message, allocating the buffer on the heap as necessary

Loading content...

Implementors

impl<T: Message> MessageExt for T[src]

Loading content...