pub enum ProbeSendFailure {
RouteNotFound,
ParameterError(APIError),
DuplicateProbe,
}
Expand description
Indicates that we failed to send a payment probe. Further errors may be surfaced later via
Event::ProbeFailed
.
Variants§
RouteNotFound
We were unable to find a route to the destination.
ParameterError(APIError)
A parameter which was passed to ChannelManager::send_probe
was invalid, preventing us from
attempting to send the probe at all.
You can freely resend the probe (with the parameter error fixed).
Because the probe failed outright, no payment tracking is done and no
Event::ProbeFailed
events will be generated.
DuplicateProbe
Indicates that a payment for the provided PaymentId
is already in-flight and has not
yet completed (i.e. generated an Event::ProbeSuccessful
or Event::ProbeFailed
).
Trait Implementations§
Source§impl Clone for ProbeSendFailure
impl Clone for ProbeSendFailure
Source§fn clone(&self) -> ProbeSendFailure
fn clone(&self) -> ProbeSendFailure
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 ProbeSendFailure
impl Debug for ProbeSendFailure
Source§impl PartialEq for ProbeSendFailure
impl PartialEq for ProbeSendFailure
impl Eq for ProbeSendFailure
impl StructuralPartialEq for ProbeSendFailure
Auto Trait Implementations§
impl Freeze for ProbeSendFailure
impl RefUnwindSafe for ProbeSendFailure
impl Send for ProbeSendFailure
impl Sync for ProbeSendFailure
impl Unpin for ProbeSendFailure
impl UnwindSafe for ProbeSendFailure
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