pub enum SparkHtlcStatus {
WaitingForPreimage,
PreimageShared,
Returned,
}Variants§
WaitingForPreimage
The HTLC is waiting for the preimage to be shared by the receiver
The HTLC preimage has been shared and the transfer can be or has been claimed by the receiver
Returned
The HTLC has been returned to the sender due to expiry
Trait Implementations§
Source§impl Clone for SparkHtlcStatus
impl Clone for SparkHtlcStatus
Source§fn clone(&self) -> SparkHtlcStatus
fn clone(&self) -> SparkHtlcStatus
Returns a duplicate 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 SparkHtlcStatus
impl Debug for SparkHtlcStatus
Source§impl<'de> Deserialize<'de> for SparkHtlcStatus
impl<'de> Deserialize<'de> for SparkHtlcStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SparkHtlcStatus
impl Display for SparkHtlcStatus
Source§impl From<PreimageRequestStatus> for SparkHtlcStatus
impl From<PreimageRequestStatus> for SparkHtlcStatus
Source§impl FromStr for SparkHtlcStatus
impl FromStr for SparkHtlcStatus
Source§impl PartialEq for SparkHtlcStatus
impl PartialEq for SparkHtlcStatus
Source§impl Serialize for SparkHtlcStatus
impl Serialize for SparkHtlcStatus
impl Copy for SparkHtlcStatus
impl StructuralPartialEq for SparkHtlcStatus
Auto Trait Implementations§
impl Freeze for SparkHtlcStatus
impl RefUnwindSafe for SparkHtlcStatus
impl Send for SparkHtlcStatus
impl Sync for SparkHtlcStatus
impl Unpin for SparkHtlcStatus
impl UnwindSafe for SparkHtlcStatus
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.