pub enum ChannelOpeningStatus {
WaitingForPeer,
FundingTxBuilding,
FundingTxBroadcasted,
ChannelReady,
Failed,
}Expand description
The status of a channel opening operation initiated by the local node.
Variants§
WaitingForPeer
The open_channel RPC has been submitted and the OpenChannel message has been sent
to the peer. We are waiting for the peer to respond with an AcceptChannel message.
FundingTxBuilding
The peer accepted the channel. We are now collaborating on the funding transaction.
FundingTxBroadcasted
The funding transaction has been submitted to the chain and is awaiting confirmation.
ChannelReady
The funding transaction has been confirmed and the channel is fully open.
Failed
The channel opening failed. The failure_detail field contains the reason.
Trait Implementations§
Source§impl Clone for ChannelOpeningStatus
impl Clone for ChannelOpeningStatus
Source§fn clone(&self) -> ChannelOpeningStatus
fn clone(&self) -> ChannelOpeningStatus
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 ChannelOpeningStatus
impl Debug for ChannelOpeningStatus
Source§impl<'de> Deserialize<'de> for ChannelOpeningStatus
impl<'de> Deserialize<'de> for ChannelOpeningStatus
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 PartialEq for ChannelOpeningStatus
impl PartialEq for ChannelOpeningStatus
Source§impl Serialize for ChannelOpeningStatus
impl Serialize for ChannelOpeningStatus
impl Eq for ChannelOpeningStatus
impl StructuralPartialEq for ChannelOpeningStatus
Auto Trait Implementations§
impl Freeze for ChannelOpeningStatus
impl RefUnwindSafe for ChannelOpeningStatus
impl Send for ChannelOpeningStatus
impl Sync for ChannelOpeningStatus
impl Unpin for ChannelOpeningStatus
impl UnsafeUnpin for ChannelOpeningStatus
impl UnwindSafe for ChannelOpeningStatus
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