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

The contents of a custom onion message.

Required Methods§

source

fn tlv_type(&self) -> u64

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

Implementations on Foreign Types§

source§

impl CustomOnionMessageContents for Infallible

source§

fn tlv_type(&self) -> u64

Implementors§