Enum lightning_signer::policy::error::ValidationErrorKind [−][src]
pub enum ValidationErrorKind {
TransactionFormat(String),
ScriptFormat(String),
Mismatch(String),
Policy(String),
}
Expand description
Kind of validation error
Variants
TransactionFormat(String)
Tuple Fields
0: String
The transaction could not be parsed or had non-standard elements
ScriptFormat(String)
Tuple Fields
0: String
A scriptPubkey could not be parsed or was non-standard for Lightning
Mismatch(String)
Tuple Fields
0: String
A script element didn’t match the channel setup
Policy(String)
Tuple Fields
0: String
A policy was violated
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ValidationErrorKind
impl Send for ValidationErrorKind
impl Sync for ValidationErrorKind
impl Unpin for ValidationErrorKind
impl UnwindSafe for ValidationErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more