pub enum BSVErrors {
Show 36 variants
ECDSAError(Error),
CustomECDSAError(String),
CurveError(Error),
HexDecode(FromHexError),
Base58Decode(Error),
Io(Error),
ParseInt(ParseIntError),
RandomnessGeneration(Error),
Json(Error),
InvalidKeyIvLength(InvalidKeyIvLength),
BlockModeError(BlockModeError),
CborSerialise(Error<Error>),
CborDeserialise(Error<Error>),
PublicKeyReadCompressionByte(u8),
PublicKeyRecoveryError(String, Error),
PublicKeyError(String),
MessageVerification(String),
GenerateScript(String),
InvalidSeedHmacError(String),
DerivationError(String),
FromWIF(String),
ToSighash(String),
FromSighash(String),
OutOfBounds(String),
ECIESError(String),
P2PKHAddress(&'static str),
P2PKHAddressFromSlice(TryFromSliceError),
SignatureError(&'static str),
DeserialiseTransaction(String, Error),
SerialiseTransaction(String, Error),
DeserialiseScript(String),
SerialiseScript(String, Option<Error>),
DeserialiseTxIn(String, Error),
SerialiseTxIn(String, Error),
DeserialiseTxOut(String, Error),
SerialiseTxOut(String, Error),
}
Variants§
ECDSAError(Error)
CustomECDSAError(String)
CurveError(Error)
HexDecode(FromHexError)
Base58Decode(Error)
Io(Error)
ParseInt(ParseIntError)
RandomnessGeneration(Error)
Json(Error)
InvalidKeyIvLength(InvalidKeyIvLength)
BlockModeError(BlockModeError)
CborSerialise(Error<Error>)
CborDeserialise(Error<Error>)
PublicKeyReadCompressionByte(u8)
PublicKeyRecoveryError(String, Error)
PublicKeyError(String)
MessageVerification(String)
GenerateScript(String)
InvalidSeedHmacError(String)
DerivationError(String)
FromWIF(String)
ToSighash(String)
FromSighash(String)
OutOfBounds(String)
ECIESError(String)
P2PKHAddress(&'static str)
P2PKHAddressFromSlice(TryFromSliceError)
SignatureError(&'static str)
DeserialiseTransaction(String, Error)
SerialiseTransaction(String, Error)
DeserialiseScript(String)
SerialiseScript(String, Option<Error>)
DeserialiseTxIn(String, Error)
SerialiseTxIn(String, Error)
DeserialiseTxOut(String, Error)
SerialiseTxOut(String, Error)
Trait Implementations§
Source§impl Error for BSVErrors
impl Error for BSVErrors
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<BlockModeError> for BSVErrors
impl From<BlockModeError> for BSVErrors
Source§fn from(source: BlockModeError) -> Self
fn from(source: BlockModeError) -> Self
Converts to this type from the input type.
Source§impl From<FromHexError> for BSVErrors
impl From<FromHexError> for BSVErrors
Source§fn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidKeyIvLength> for BSVErrors
impl From<InvalidKeyIvLength> for BSVErrors
Source§fn from(source: InvalidKeyIvLength) -> Self
fn from(source: InvalidKeyIvLength) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for BSVErrors
impl From<ParseIntError> for BSVErrors
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BSVErrors
impl !RefUnwindSafe for BSVErrors
impl Send for BSVErrors
impl Sync for BSVErrors
impl Unpin for BSVErrors
impl !UnwindSafe for BSVErrors
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more