Trait lightning::util::ser::Readable [−][src]
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