bound_channel

Function bound_channel 

Source
pub fn bound_channel<M: MacBackend>(
    node: &LocalNode<M>,
    channels: &ChannelRegistry,
    channel: &ChannelTag,
) -> Option<BoundChannel<M>>
Expand description

Bind a held channel, so it can be sent over.

Looked up per send rather than cached: leaving and rejoining a channel invalidates the binding, and the registry is the one place that knows.