pub enum UpdateDepositPayload {
ClaimError {
error: DepositClaimError,
},
Refund {
refund_txid: String,
refund_tx: String,
state: RefundState,
},
InstantClaim {
status: InstantClaimStatus,
},
RefundBroadcastState {
refund_txid: String,
state: RefundState,
},
}Variants§
ClaimError
Fields
§
error: DepositClaimErrorRefund
InstantClaim
Fields
§
status: InstantClaimStatusRefundBroadcastState
Moves an existing refund between states without touching the refund
itself or the last claim error. Applies only while refund_txid is still
the stored refund, so a state decided against one refund cannot land on a
newer one.
Auto Trait Implementations§
impl Freeze for UpdateDepositPayload
impl RefUnwindSafe for UpdateDepositPayload
impl Send for UpdateDepositPayload
impl Sync for UpdateDepositPayload
impl Unpin for UpdateDepositPayload
impl UnsafeUnpin for UpdateDepositPayload
impl UnwindSafe for UpdateDepositPayload
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<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>
Converts
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>
Converts
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>
Wrap the input message
T in a tonic::Request