Trait AChannelManager
pub trait AChannelManager {
Show 18 associated items
type Watch: Watch<Self::Signer> + ?Sized;
type M: Deref<Target = Self::Watch>;
type Broadcaster: BroadcasterInterface + ?Sized;
type T: Deref<Target = Self::Broadcaster>;
type EntropySource: EntropySource + ?Sized;
type ES: Deref<Target = Self::EntropySource>;
type NodeSigner: NodeSigner + ?Sized;
type NS: Deref<Target = Self::NodeSigner>;
type Signer: WriteableEcdsaChannelSigner;
type SignerProvider: SignerProvider<Signer = Self::Signer> + ?Sized;
type SP: Deref<Target = Self::SignerProvider>;
type FeeEstimator: FeeEstimator + ?Sized;
type F: Deref<Target = Self::FeeEstimator>;
type Router: Router + ?Sized;
type R: Deref<Target = Self::Router>;
type Logger: Logger + ?Sized;
type L: Deref<Target = Self::Logger>;
// Required method
fn get_cm(
&self,
) -> &ChannelManager<Self::M, Self::T, Self::ES, Self::NS, Self::SP, Self::F, Self::R, Self::L>;
}
Expand description
A trivial trait which describes any ChannelManager
.
This is not exported to bindings users as general cover traits aren’t useful in other languages.
Required Associated Types§
type Watch: Watch<Self::Signer> + ?Sized
type Watch: Watch<Self::Signer> + ?Sized
A type implementing chain::Watch
.
type M: Deref<Target = Self::Watch>
type M: Deref<Target = Self::Watch>
A type that may be dereferenced to Self::Watch
.
type Broadcaster: BroadcasterInterface + ?Sized
type Broadcaster: BroadcasterInterface + ?Sized
A type implementing BroadcasterInterface
.
type T: Deref<Target = Self::Broadcaster>
type T: Deref<Target = Self::Broadcaster>
A type that may be dereferenced to Self::Broadcaster
.
type EntropySource: EntropySource + ?Sized
type EntropySource: EntropySource + ?Sized
A type implementing EntropySource
.
type ES: Deref<Target = Self::EntropySource>
type ES: Deref<Target = Self::EntropySource>
A type that may be dereferenced to Self::EntropySource
.
type NodeSigner: NodeSigner + ?Sized
type NodeSigner: NodeSigner + ?Sized
A type implementing NodeSigner
.
type NS: Deref<Target = Self::NodeSigner>
type NS: Deref<Target = Self::NodeSigner>
A type that may be dereferenced to Self::NodeSigner
.
type Signer: WriteableEcdsaChannelSigner
type Signer: WriteableEcdsaChannelSigner
A type implementing WriteableEcdsaChannelSigner
.
type SignerProvider: SignerProvider<Signer = Self::Signer> + ?Sized
type SignerProvider: SignerProvider<Signer = Self::Signer> + ?Sized
A type implementing SignerProvider
for Self::Signer
.
type SP: Deref<Target = Self::SignerProvider>
type SP: Deref<Target = Self::SignerProvider>
A type that may be dereferenced to Self::SignerProvider
.
type FeeEstimator: FeeEstimator + ?Sized
type FeeEstimator: FeeEstimator + ?Sized
A type implementing FeeEstimator
.
type F: Deref<Target = Self::FeeEstimator>
type F: Deref<Target = Self::FeeEstimator>
A type that may be dereferenced to Self::FeeEstimator
.
type R: Deref<Target = Self::Router>
type R: Deref<Target = Self::Router>
A type that may be dereferenced to Self::Router
.
type L: Deref<Target = Self::Logger>
type L: Deref<Target = Self::Logger>
A type that may be dereferenced to Self::Logger
.