pub trait Readable where
    Self: Sized
{ fn read<R: Read>(reader: &mut R) -> Result<Self, DecodeError>; }
Expand description

A trait that various rust-lightning types implement allowing them to be read in from a Read

(C-not exported) as we only export serialization to/from byte arrays instead

Required Methods

Reads a Self in from the given Read

Implementations on Foreign Types

Implementors