pub enum OutboundTlcStatus {
LocalAnnounced,
Committed,
RemoteRemoved,
RemoveWaitPrevAck,
RemoveWaitAck,
RemoveAckConfirmed,
}Expand description
The status of an outbound tlc.
Variants§
LocalAnnounced
Offered tlc created and sent to remote party
Committed
Received ACK from remote party for this offered tlc
RemoteRemoved
Remote party removed this tlc
RemoveWaitPrevAck
We received another RemoveTlc message from peer when we are waiting for the ack of the last one.
RemoveWaitAck
We have sent commitment signed to peer and waiting ACK for confirming this RemoveTlc
RemoveAckConfirmed
We have received the ACK for the RemoveTlc, it’s safe to remove this tlc
Trait Implementations§
Source§impl Clone for OutboundTlcStatus
impl Clone for OutboundTlcStatus
Source§fn clone(&self) -> OutboundTlcStatus
fn clone(&self) -> OutboundTlcStatus
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 OutboundTlcStatus
impl Debug for OutboundTlcStatus
Source§impl<'de> Deserialize<'de> for OutboundTlcStatus
impl<'de> Deserialize<'de> for OutboundTlcStatus
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 OutboundTlcStatus
Source§impl JsonSchema for OutboundTlcStatus
impl JsonSchema for OutboundTlcStatus
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 OutboundTlcStatus
impl PartialEq for OutboundTlcStatus
Source§impl Serialize for OutboundTlcStatus
impl Serialize for OutboundTlcStatus
impl StructuralPartialEq for OutboundTlcStatus
Auto Trait Implementations§
impl Freeze for OutboundTlcStatus
impl RefUnwindSafe for OutboundTlcStatus
impl Send for OutboundTlcStatus
impl Sync for OutboundTlcStatus
impl Unpin for OutboundTlcStatus
impl UnsafeUnpin for OutboundTlcStatus
impl UnwindSafe for OutboundTlcStatus
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