Struct lightning::ln::msgs::ErrorMessage [−][src]
Expand description
An error message to be sent or received from a peer
Fields
channel_id: [u8; 32]
The channel ID involved in the error
data: String
A possibly human-readable error description. The string should be sanitized before it is used (e.g. emitted to logs or printed to stdout). Otherwise, a well crafted error message may trigger a security vulnerability in the terminal emulator or the logging subsystem.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Writes self out to a Vec
Writes self out to a Vec
Gets the length of this object after it has been serialized. This can be overridden to optimize cases where we prepend an object with its length. Read more
Auto Trait Implementations
impl RefUnwindSafe for ErrorMessage
impl Send for ErrorMessage
impl Sync for ErrorMessage
impl Unpin for ErrorMessage
impl UnwindSafe for ErrorMessage
Blanket Implementations
Mutably borrows from an owned value. Read more