Enum lnd_grpc_rust::routerrpc::FailureDetail
source · #[repr(i32)]pub enum FailureDetail {
Show 23 variants
Unknown = 0,
NoDetail = 1,
OnionDecode = 2,
LinkNotEligible = 3,
OnChainTimeout = 4,
HtlcExceedsMax = 5,
InsufficientBalance = 6,
IncompleteForward = 7,
HtlcAddFailed = 8,
ForwardsDisabled = 9,
InvoiceCanceled = 10,
InvoiceUnderpaid = 11,
InvoiceExpiryTooSoon = 12,
InvoiceNotOpen = 13,
MppInvoiceTimeout = 14,
AddressMismatch = 15,
SetTotalMismatch = 16,
SetTotalTooLow = 17,
SetOverpaid = 18,
UnknownInvoice = 19,
InvalidKeysend = 20,
MppInProgress = 21,
CircularRoute = 22,
}
Variants§
Unknown = 0
NoDetail = 1
OnionDecode = 2
LinkNotEligible = 3
OnChainTimeout = 4
HtlcExceedsMax = 5
InsufficientBalance = 6
IncompleteForward = 7
HtlcAddFailed = 8
ForwardsDisabled = 9
InvoiceCanceled = 10
InvoiceUnderpaid = 11
InvoiceExpiryTooSoon = 12
InvoiceNotOpen = 13
MppInvoiceTimeout = 14
AddressMismatch = 15
SetTotalMismatch = 16
SetTotalTooLow = 17
SetOverpaid = 18
UnknownInvoice = 19
InvalidKeysend = 20
MppInProgress = 21
CircularRoute = 22
Implementations§
Trait Implementations§
source§impl Clone for FailureDetail
impl Clone for FailureDetail
source§fn clone(&self) -> FailureDetail
fn clone(&self) -> FailureDetail
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 FailureDetail
impl Debug for FailureDetail
source§impl Default for FailureDetail
impl Default for FailureDetail
source§fn default() -> FailureDetail
fn default() -> FailureDetail
Returns the “default value” for a type. Read more
source§impl From<FailureDetail> for i32
impl From<FailureDetail> for i32
source§fn from(value: FailureDetail) -> i32
fn from(value: FailureDetail) -> i32
Converts to this type from the input type.
source§impl Hash for FailureDetail
impl Hash for FailureDetail
source§impl Ord for FailureDetail
impl Ord for FailureDetail
source§fn cmp(&self, other: &FailureDetail) -> Ordering
fn cmp(&self, other: &FailureDetail) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for FailureDetail
impl PartialEq for FailureDetail
source§fn eq(&self, other: &FailureDetail) -> bool
fn eq(&self, other: &FailureDetail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FailureDetail
impl PartialOrd for FailureDetail
source§fn partial_cmp(&self, other: &FailureDetail) -> Option<Ordering>
fn partial_cmp(&self, other: &FailureDetail) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for FailureDetail
impl Eq for FailureDetail
impl StructuralPartialEq for FailureDetail
Auto Trait Implementations§
impl RefUnwindSafe for FailureDetail
impl Send for FailureDetail
impl Sync for FailureDetail
impl Unpin for FailureDetail
impl UnwindSafe for FailureDetail
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request