[−][src]Module lightning::util::ser
A very simple serialization framework which is used to serialize/deserialize messages as well as ChannelsManagers and ChannelMonitors.
Traits
Readable | A trait that various rust-lightning types implement allowing them to be read in from a Read |
ReadableArgs | 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. |
Writeable | A trait that various rust-lightning types implement allowing them to be written out to a Writer |
Writer | A trait that is similar to std::io::Write but has one extra function which can be used to size buffers being written into. An impl is provided for any type that also impls std::io::Write which simply ignores size hints. |