Enum bip38::Error [−][src]
pub enum Error {
Base58,
Checksum,
EcMul,
EncKey,
NbPubB,
Pass,
PrvKey,
PubKey,
ScryptFn,
ScryptParam,
WifKey,
}Expand description
Error variants of bip38 crate.
The only errors that are intended to be handle are:
Base58, Checksum, EncKey, Pass, PrvKey, WifKey.
All others exist for safety in case of something unexpected happens with dependencies.
Variants
If an invalid base 58 string is processed.
Invalid checksum was found.
Invalid result of elliptic curve multiplication.
Found invalid encrypted private key.
Invalid number of public key bytes.
Found invalid passphrase.
Invalid private key found (could not generate address).
Found invalid public key.
Trowed if an error occurs when using scrypt function.
Trowed if an invalid scrypt parameter is used.
Invalid private key represented in wif format.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Errorimpl UnwindSafe for ErrorBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V