Module mgr

Source
Expand description

Abstract implementation of a channel manager

Modules§

select 🔒
Logic for filtering and selecting channels in order to find suitable channels for a target.
state 🔒
Simple implementation for the internal map state of a ChanMgr.

Structs§

AbstractChanMgr 🔒
A type- and network-agnostic implementation for ChanMgr.

Enums§

Action 🔒
Possible actions that we’ll decide to take when asked for a channel.

Traits§

AbstractChannel 🔒
Trait to describe as much of a Channel as AbstractChanMgr needs to use.
AbstractChannelFactory 🔒
Trait to describe how channels-like objects are created.

Type Aliases§

Pending 🔒
Type alias for a future that we wait on to see when a pending channel is done or failed.
Sending 🔒
Type alias for the sender we notify when we complete a channel (or fail to complete it).