Trait AOnionMessenger
pub trait AOnionMessenger {
Show 17 associated items
type EntropySource: EntropySource + ?Sized;
type ES: Deref<Target = Self::EntropySource>;
type NodeSigner: NodeSigner + ?Sized;
type NS: Deref<Target = Self::NodeSigner>;
type Logger: Logger + ?Sized;
type L: Deref<Target = Self::Logger>;
type NodeIdLookUp: NodeIdLookUp + ?Sized;
type NL: Deref<Target = Self::NodeIdLookUp>;
type MessageRouter: MessageRouter + ?Sized;
type MR: Deref<Target = Self::MessageRouter>;
type OffersMessageHandler: OffersMessageHandler + ?Sized;
type OMH: Deref<Target = Self::OffersMessageHandler>;
type AsyncPaymentsMessageHandler: AsyncPaymentsMessageHandler + ?Sized;
type APH: Deref<Target = Self::AsyncPaymentsMessageHandler>;
type CustomOnionMessageHandler: CustomOnionMessageHandler + ?Sized;
type CMH: Deref<Target = Self::CustomOnionMessageHandler>;
// Required method
fn get_om(
&self,
) -> &OnionMessenger<Self::ES, Self::NS, Self::L, Self::NL, Self::MR, Self::OMH, Self::APH, Self::CMH>;
}
Expand description
A trivial trait which describes any OnionMessenger
.
This is not exported to bindings users as general cover traits aren’t useful in other languages.
Required Associated Types§
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 L: Deref<Target = Self::Logger>
type L: Deref<Target = Self::Logger>
A type that may be dereferenced to Self::Logger
type NodeIdLookUp: NodeIdLookUp + ?Sized
type NodeIdLookUp: NodeIdLookUp + ?Sized
A type implementing NodeIdLookUp
type NL: Deref<Target = Self::NodeIdLookUp>
type NL: Deref<Target = Self::NodeIdLookUp>
A type that may be dereferenced to Self::NodeIdLookUp
type MessageRouter: MessageRouter + ?Sized
type MessageRouter: MessageRouter + ?Sized
A type implementing MessageRouter
type MR: Deref<Target = Self::MessageRouter>
type MR: Deref<Target = Self::MessageRouter>
A type that may be dereferenced to Self::MessageRouter
type OffersMessageHandler: OffersMessageHandler + ?Sized
type OffersMessageHandler: OffersMessageHandler + ?Sized
A type implementing OffersMessageHandler
type OMH: Deref<Target = Self::OffersMessageHandler>
type OMH: Deref<Target = Self::OffersMessageHandler>
A type that may be dereferenced to Self::OffersMessageHandler
type AsyncPaymentsMessageHandler: AsyncPaymentsMessageHandler + ?Sized
type AsyncPaymentsMessageHandler: AsyncPaymentsMessageHandler + ?Sized
A type implementing AsyncPaymentsMessageHandler
type APH: Deref<Target = Self::AsyncPaymentsMessageHandler>
type APH: Deref<Target = Self::AsyncPaymentsMessageHandler>
A type that may be dereferenced to Self::AsyncPaymentsMessageHandler
type CustomOnionMessageHandler: CustomOnionMessageHandler + ?Sized
type CustomOnionMessageHandler: CustomOnionMessageHandler + ?Sized
A type implementing CustomOnionMessageHandler
type CMH: Deref<Target = Self::CustomOnionMessageHandler>
type CMH: Deref<Target = Self::CustomOnionMessageHandler>
A type that may be dereferenced to Self::CustomOnionMessageHandler