[][src]Trait lnpbp::lnp::presentation::Encode

pub trait Encode {
    type Error: Error;
    fn encode(&self) -> Result<Vec<u8>, Self::Error>;
}

Associated Types

type Error: Error

Loading content...

Required methods

fn encode(&self) -> Result<Vec<u8>, Self::Error>

Loading content...

Implementors

impl Encode for Payload[src]

type Error = Error

impl<T> Encode for T where
    T: EncodeRaw,
    Payload: From<T>, 
[src]

type Error = Error

Loading content...