pub enum ReceiveError {
TweakData(String),
Scanning(String),
SpendKeyDerivation(String),
Crypto(CryptoError),
Input(InputError),
}Expand description
Errors from receiving/scanning Silent Payment transactions.
Variants§
TweakData(String)
Failed to compute tweak data from transaction inputs.
Scanning(String)
Failed to scan transaction outputs for SP matches.
SpendKeyDerivation(String)
Failed to derive the tweaked spend key for a detected output.
Crypto(CryptoError)
Cryptographic operation error from sp-core.
Input(InputError)
Input classification error from sp-core.
Trait Implementations§
Source§impl Debug for ReceiveError
impl Debug for ReceiveError
Source§impl Display for ReceiveError
impl Display for ReceiveError
Source§impl Error for ReceiveError
impl Error for ReceiveError
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<CryptoError> for ReceiveError
impl From<CryptoError> for ReceiveError
Source§fn from(source: CryptoError) -> ReceiveError
fn from(source: CryptoError) -> ReceiveError
Converts to this type from the input type.
Source§impl From<InputError> for ReceiveError
impl From<InputError> for ReceiveError
Source§fn from(source: InputError) -> ReceiveError
fn from(source: InputError) -> ReceiveError
Converts to this type from the input type.
Source§impl From<ReceiveError> for ScanError
impl From<ReceiveError> for ScanError
Source§fn from(source: ReceiveError) -> ScanError
fn from(source: ReceiveError) -> ScanError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReceiveError
impl RefUnwindSafe for ReceiveError
impl Send for ReceiveError
impl Sync for ReceiveError
impl Unpin for ReceiveError
impl UnsafeUnpin for ReceiveError
impl UnwindSafe for ReceiveError
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