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

The contents of an onion message.

Required Methods§

source

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§

source§

impl OnionMessageContents for Infallible

source§

fn tlv_type(&self) -> u64

Implementors§