breez_sdk_liquid::lightning::onion_message

Trait OnionMessageContents

pub trait OnionMessageContents: Writeable {
    // Required method
    fn tlv_type(&self) -> u64;
}
Expand description

The contents of an onion message.

Required Methods§

fn tlv_type(&self) -> u64

Returns the TLV type identifying the message contents. MUST be >= 64.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl OnionMessageContents for Infallible

§

fn tlv_type(&self) -> u64

Implementors§