Enum bsv_wasm::keypair::PublicKeyErrors[][src]

pub enum PublicKeyErrors {
    Base58Decode {
        message: String,
        string: String,
    },
    ParseHex {
        error: FromHexError,
    },
    ByteDecode {
        message: String,
    },
    InvalidPoint {
        error: Error,
    },
    Other {
        message: String,
    },
}

Variants

Base58Decode
Show fields

Fields of Base58Decode

message: Stringstring: String
ParseHex
Show fields

Fields of ParseHex

error: FromHexError
ByteDecode
Show fields

Fields of ByteDecode

message: String
InvalidPoint
Show fields

Fields of InvalidPoint

error: Error
Other
Show fields

Fields of Other

message: String

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Returns a Backtrace that may be printed.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method receivers. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.