[−][src]Trait lightning::util::ser::Writeable
A trait that various rust-lightning types implement allowing them to be written out to a Writer
Required methods
Loading content...Provided methods
fn encode(&self) -> Vec<u8>
Writes self out to a Vec
fn encode_with_len(&self) -> Vec<u8>
Writes self out to a Vec
Implementations on Foreign Types
impl Writeable for u64
[src]
impl Writeable for u32
[src]
impl Writeable for u16
[src]
impl Writeable for u8
[src]
impl Writeable for bool
[src]
impl Writeable for [u8; 3]
[src]
impl Writeable for [u8; 4]
[src]
impl Writeable for [u8; 10]
[src]
impl Writeable for [u8; 16]
[src]
impl Writeable for [u8; 32]
[src]
impl Writeable for [u8; 33]
[src]
impl Writeable for [u8; 64]
[src]
impl Writeable for [u8; 1300]
[src]
impl<K, V> Writeable for HashMap<K, V> where
K: Writeable + Eq + Hash,
V: Writeable,
[src]
K: Writeable + Eq + Hash,
V: Writeable,