Trait lightning::util::ser::ReadableArgs
source · pub trait ReadableArgs<P>where
Self: Sized,{
// Required method
fn read<R: Read>(reader: &mut R, params: P) -> Result<Self, DecodeError>;
}
Expand description
A trait that various higher-level LDK types implement allowing them to be read in
from a Read
given some additional set of arguments which is required to deserialize.
This is not exported to bindings users as we only export serialization to/from byte arrays instead
Required Methods§
Object Safety§
This trait is not object safe.