Enum lightning_signer::channel::ChannelSlot [−][src]
pub enum ChannelSlot {
Stub(ChannelStub),
Ready(Channel),
}
Expand description
A channel can be in two states - before Node::ready_channel it’s a ChannelStub, afterwards it’s a Channel. This enum keeps track of the two different states.
Variants
Stub(ChannelStub)
Tuple Fields
0: ChannelStub
Initial state, not ready
Ready(Channel)
Tuple Fields
0: Channel
Ready after negotiation is complete