Enum lightning_encoding::Error [−][src]
pub enum Error {
Io(IoError),
BigSizeNotCanonical,
BigSizeEof,
DataNotEntirelyConsumed,
DataIntegrityError(String),
Tlv(TlvError),
EnumValueNotKnown(&'static str, usize),
TooLargeData(usize),
}
Variants
Io(IoError)
Tuple Fields
0: IoError
I/O error
BigSizeNotCanonical
decoded BigSize is not canonical
BigSizeEof
unexpected EOF while decoding BigSize value
DataNotEntirelyConsumed
not all provided data were consumed during decoding process
DataIntegrityError(String)
Tuple Fields
0: String
Custom type-specific error
Tlv(TlvError)
Tuple Fields
0: TlvError
TLV encoding error
EnumValueNotKnown(&'static str, usize)
unsupported value {0}
for enum {0}
encountered during decode
operation
TooLargeData(usize)
Tuple Fields
0: usize
data size {0} exceeds maximum allowed for the lightning message
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more