Enum lightning::ln::msgs::DecodeError [−][src]
pub enum DecodeError { UnknownRealmByte, BadPublicKey, BadSignature, WrongLength, ExtraAddressesPerType, }
Variants
UnknownRealmByte
Unknown realm byte in an OnionHopData packet
BadPublicKey
Failed to decode a public key (ie it's invalid)
BadSignature
Failed to decode a signature (ie it's invalid)
WrongLength
Buffer not of right length (either too short or too long)
ExtraAddressesPerType
node_announcement included more than one address of a given type!
Trait Implementations
impl Debug for DecodeError
[src]
impl Debug for DecodeError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for DecodeError
[src]
impl Error for DecodeError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for DecodeError
[src]
impl Display for DecodeError
Auto Trait Implementations
impl Send for DecodeError
impl Send for DecodeError
impl Sync for DecodeError
impl Sync for DecodeError