Enum lightning::ln::msgs::DecodeError[][src]

pub enum DecodeError {
    UnknownRealmByte,
    BadPublicKey,
    BadSignature,
    WrongLength,
    ExtraAddressesPerType,
}

Variants

Unknown realm byte in an OnionHopData packet

Failed to decode a public key (ie it's invalid)

Failed to decode a signature (ie it's invalid)

Buffer not of right length (either too short or too long)

node_announcement included more than one address of a given type!

Trait Implementations

impl Debug for DecodeError
[src]

Formats the value using the given formatter. Read more

impl Error for DecodeError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for DecodeError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for DecodeError

impl Sync for DecodeError