Enum lightning_invoice::payment::ProbingError
source · pub enum ProbingError {
Invoice(&'static str),
Sending(ProbeSendFailure),
}
Expand description
An error that may occur when sending a payment probe.
Variants§
Invoice(&'static str)
An error resulting from the provided Bolt11Invoice
.
Sending(ProbeSendFailure)
An error occurring when sending a payment probe.
Trait Implementations§
source§impl Clone for ProbingError
impl Clone for ProbingError
source§fn clone(&self) -> ProbingError
fn clone(&self) -> ProbingError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProbingError
impl Debug for ProbingError
source§impl PartialEq for ProbingError
impl PartialEq for ProbingError
source§fn eq(&self, other: &ProbingError) -> bool
fn eq(&self, other: &ProbingError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ProbingError
impl StructuralEq for ProbingError
impl StructuralPartialEq for ProbingError
Auto Trait Implementations§
impl RefUnwindSafe for ProbingError
impl Send for ProbingError
impl Sync for ProbingError
impl Unpin for ProbingError
impl UnwindSafe for ProbingError
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