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

pub trait Decode where
    Self: Sized
{ type Error: Error; fn decode(data: &dyn Borrow<[u8]>) -> Result<Self, Self::Error>; }

Associated Types

type Error: Error

Loading content...

Required methods

fn decode(data: &dyn Borrow<[u8]>) -> Result<Self, Self::Error>

Loading content...

Implementors

Loading content...