pub enum InboundTlcStatus {
RemoteAnnounced,
AnnounceWaitPrevAck,
AnnounceWaitAck,
Committed,
LocalRemoved,
RemoveAckConfirmed,
}Expand description
The status of an inbound tlc.
Variants§
RemoteAnnounced
Received tlc from remote party, but not committed yet
AnnounceWaitPrevAck
We received another AddTlc peer message when we are waiting for the ack of the last one.
AnnounceWaitAck
We have sent commitment signed to peer and waiting ACK for confirming this AddTlc
Committed
We have received ACK from peer and Committed this tlc
LocalRemoved
We have removed this tlc, but haven’t received ACK from peer
RemoveAckConfirmed
We have received the ACK for the RemoveTlc, it’s safe to remove this tlc
Trait Implementations§
Source§impl Clone for InboundTlcStatus
impl Clone for InboundTlcStatus
Source§fn clone(&self) -> InboundTlcStatus
fn clone(&self) -> InboundTlcStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InboundTlcStatus
impl Debug for InboundTlcStatus
Source§impl<'de> Deserialize<'de> for InboundTlcStatus
impl<'de> Deserialize<'de> for InboundTlcStatus
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
impl Eq for InboundTlcStatus
Source§impl JsonSchema for InboundTlcStatus
impl JsonSchema for InboundTlcStatus
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for InboundTlcStatus
impl PartialEq for InboundTlcStatus
Source§impl Serialize for InboundTlcStatus
impl Serialize for InboundTlcStatus
impl StructuralPartialEq for InboundTlcStatus
Auto Trait Implementations§
impl Freeze for InboundTlcStatus
impl RefUnwindSafe for InboundTlcStatus
impl Send for InboundTlcStatus
impl Sync for InboundTlcStatus
impl Unpin for InboundTlcStatus
impl UnsafeUnpin for InboundTlcStatus
impl UnwindSafe for InboundTlcStatus
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