Trait ReadableArgs
pub trait ReadableArgs<P>: Sized {
// Required method
fn read<R>(reader: &mut R, params: P) -> Result<Self, DecodeError>
where R: Read;
}
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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.