Skip to main content

Module mgr

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.
ChanMgrConfig
This is the configuration for a ChanMgr given to the constructor.

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).