pub trait NodeHolder {
    type CM: AChannelManager;

    // Required methods
    fn node(
        &self,
    ) -> &ChannelManager<<Self::CM as AChannelManager>::M, <Self::CM as AChannelManager>::T, <Self::CM as AChannelManager>::ES, <Self::CM as AChannelManager>::NS, <Self::CM as AChannelManager>::SP, <Self::CM as AChannelManager>::F, <Self::CM as AChannelManager>::R, <Self::CM as AChannelManager>::L>;
    fn chain_monitor(&self) -> Option<&TestChainMonitor<'_>>;
}

Required Associated Types§

Required Methods§

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

fn chain_monitor(&self) -> Option<&TestChainMonitor<'_>>

Implementations on Foreign Types§

§

impl<H> NodeHolder for &H
where H: NodeHolder,

Implementors§

§

impl<'a, 'b, 'c> NodeHolder for Node<'a, 'b, 'c>
where 'b: 'a, 'c: 'b,