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

Initial state, not ready

Ready(Channel)

Tuple Fields

Ready after negotiation is complete

Implementations

Get the channel nonce, used to derive the channel keys

The initial channel ID

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.