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

A type implementing chain::Watch.

type M: Deref<Target = Self::Watch>

A type that may be dereferenced to Self::Watch.

type Broadcaster: BroadcasterInterface + ?Sized

A type implementing BroadcasterInterface.

type T: Deref<Target = Self::Broadcaster>

A type that may be dereferenced to Self::Broadcaster.

type EntropySource: EntropySource + ?Sized

A type implementing EntropySource.

type ES: Deref<Target = Self::EntropySource>

A type that may be dereferenced to Self::EntropySource.

type NodeSigner: NodeSigner + ?Sized

A type implementing NodeSigner.

type NS: Deref<Target = Self::NodeSigner>

A type that may be dereferenced to Self::NodeSigner.

type Signer: WriteableEcdsaChannelSigner

A type implementing WriteableEcdsaChannelSigner.

type SignerProvider: SignerProvider<Signer = Self::Signer> + ?Sized

A type implementing SignerProvider for Self::Signer.

type SP: Deref<Target = Self::SignerProvider>

A type that may be dereferenced to Self::SignerProvider.

type FeeEstimator: FeeEstimator + ?Sized

A type implementing FeeEstimator.

type F: Deref<Target = Self::FeeEstimator>

A type that may be dereferenced to Self::FeeEstimator.

type Router: Router + ?Sized

A type implementing Router.

type R: Deref<Target = Self::Router>

A type that may be dereferenced to Self::Router.

type Logger: Logger + ?Sized

A type implementing Logger.

type L: Deref<Target = Self::Logger>

A type that may be dereferenced to Self::Logger.

Required Methods§

fn get_cm( &self, ) -> &ChannelManager<Self::M, Self::T, Self::ES, Self::NS, Self::SP, Self::F, Self::R, Self::L>

Returns a reference to the actual ChannelManager object.

Implementors§

§

impl<M, T, ES, NS, SP, F, R, L> AChannelManager for ChannelManager<M, T, ES, NS, SP, F, R, L>
where M: Deref, T: Deref, ES: Deref, NS: Deref, SP: Deref, F: Deref, R: Deref, L: Deref, <M as Deref>::Target: Watch<<<SP as Deref>::Target as SignerProvider>::Signer>, <T as Deref>::Target: BroadcasterInterface, <ES as Deref>::Target: EntropySource, <NS as Deref>::Target: NodeSigner, <SP as Deref>::Target: SignerProvider, <F as Deref>::Target: FeeEstimator, <R as Deref>::Target: Router, <L as Deref>::Target: Logger,

§

type Watch = <M as Deref>::Target

§

type M = M

§

type Broadcaster = <T as Deref>::Target

§

type T = T

§

type EntropySource = <ES as Deref>::Target

§

type ES = ES

§

type NodeSigner = <NS as Deref>::Target

§

type NS = NS

§

type Signer = <<SP as Deref>::Target as SignerProvider>::Signer

§

type SignerProvider = <SP as Deref>::Target

§

type SP = SP

§

type FeeEstimator = <F as Deref>::Target

§

type F = F

§

type Router = <R as Deref>::Target

§

type R = R

§

type Logger = <L as Deref>::Target

§

type L = L