Enum bitcoin_bech32::ScriptPubKeyError [] [src]

pub enum ScriptPubKeyError {
    TooShort,
    InvalidLengthByte,
}

Error types for validating scriptpubkeys

Variants

scriptpubkeys does not have enough data

The provided length byte does not match the data

Trait Implementations

impl PartialEq for ScriptPubKeyError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Debug for ScriptPubKeyError
[src]

[src]

Formats the value using the given formatter.