[][src]Trait lightning_wire_msgs::WireItemWriter

pub trait WireItemWriter {
    fn encode<W: Write>(&self, w: &mut W) -> Result<usize>;

    fn write_to<W: Write>(
        &self,
        w: &mut W,
        tlv_type: Option<u64>
    ) -> Result<usize> { ... } }

Required methods

fn encode<W: Write>(&self, w: &mut W) -> Result<usize>

Loading content...

Provided methods

fn write_to<W: Write>(&self, w: &mut W, tlv_type: Option<u64>) -> Result<usize>

Loading content...

Implementors

impl<'a> WireItemWriter for InitItems<'a>[src]

impl<T> WireItemWriter for T where
    T: WireItem
[src]

Loading content...