pub enum ClaimDeferredReason {
MaxFeeExceeded {
required_fee_sats: u64,
max_fee_sats: u64,
},
NoEarlyClaimAvailable,
ProviderDeclined {
message: String,
},
}Expand description
Why a claim was deferred rather than made.
Variants§
MaxFeeExceeded
Claiming ahead of maturity costs more than the fee ceiling allows. Unlike a depth that has not arrived, this does not clear on its own: the deposit is claimed at maturity unless the ceiling is raised.
required_fee_sats is what the early claim would have cost, so a caller can
offer it at that price rather than quoting again.
Fields
NoEarlyClaimAvailable
The provider offers no early claim at the deposit’s current depth, either because it is too shallow for any plan or because none was offered for it. Depth is the usual cause, and it resolves itself: the next confirmation may well bring an early claim within reach.
ProviderDeclined
The provider refused the early claim or could not be reached, so nothing was
submitted. Unlike a depth that has not arrived, waiting for a confirmation
does not address this, and the deposit is claimed at maturity unless a later
call succeeds. message is what the provider or the transport reported.
Trait Implementations§
Source§impl Clone for ClaimDeferredReason
impl Clone for ClaimDeferredReason
Source§fn clone(&self) -> ClaimDeferredReason
fn clone(&self) -> ClaimDeferredReason
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ClaimDeferredReason
impl Debug for ClaimDeferredReason
Source§impl PartialEq for ClaimDeferredReason
impl PartialEq for ClaimDeferredReason
Source§impl Serialize for ClaimDeferredReason
impl Serialize for ClaimDeferredReason
impl Eq for ClaimDeferredReason
impl StructuralPartialEq for ClaimDeferredReason
Auto Trait Implementations§
impl Freeze for ClaimDeferredReason
impl RefUnwindSafe for ClaimDeferredReason
impl Send for ClaimDeferredReason
impl Sync for ClaimDeferredReason
impl Unpin for ClaimDeferredReason
impl UnsafeUnpin for ClaimDeferredReason
impl UnwindSafe for ClaimDeferredReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
§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
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
key and return true if they are equal.§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
§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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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>
T in a tonic::Request