pub enum PreprocessingError {
MissingAcceptHeader,
MissingContentTypeHeader,
PaymentDecode(DecodeError),
}Expand description
Error associated with payment preprocessing.
Variants§
MissingAcceptHeader
Missing the application/bitcoincash-paymentack header.
MissingContentTypeHeader
Missing the application/bitcoincash-payment header.
PaymentDecode(DecodeError)
Failed to decode the Payment protobuf.
Trait Implementations§
Source§impl Debug for PreprocessingError
impl Debug for PreprocessingError
Source§impl Display for PreprocessingError
impl Display for PreprocessingError
Source§impl Error for PreprocessingError
impl Error for PreprocessingError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for PreprocessingError
impl RefUnwindSafe for PreprocessingError
impl Send for PreprocessingError
impl Sync for PreprocessingError
impl Unpin for PreprocessingError
impl UnsafeUnpin for PreprocessingError
impl UnwindSafe for PreprocessingError
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