Trait lightning::util::ser::ReadableArgs [−][src]
pub trait ReadableArgs<P> where
Self: Sized, { fn read<R: Read>(reader: &mut R, params: P) -> Result<Self, DecodeError>; }
Expand description
A trait that various higher-level rust-lightning types implement allowing them to be read in from a Read given some additional set of arguments which is required to deserialize.
(C-not exported) as we only export serialization to/from byte arrays instead