Trait ProtoBuf

Source
pub trait ProtoBuf: Buf {
    // Provided methods
    fn get_compact_size(&mut self) -> CompactSize { ... }
    fn get_tu64(&mut self) -> TU64 { ... }
}
Expand description

Extensions on top of Buf to include LN proto primitives

Provided Methods§

Source

fn get_compact_size(&mut self) -> CompactSize

Source

fn get_tu64(&mut self) -> TU64

Implementations on Foreign Types§

Source§

impl ProtoBuf for &[u8]

Source§

impl ProtoBuf for Take<Bytes>

Source§

impl ProtoBuf for Bytes

Implementors§