pub trait HolochainP2pRefToDna {
    fn into_dna(
        self,
        dna_hash: HoloHash<Dna>,
        chc: Option<Arc<dyn ChainHeadCoordinator<Item = SignedHashed<Action>> + Sync + Send + 'static>>
    ) -> HolochainP2pDna; fn to_dna(
        &self,
        dna_hash: HoloHash<Dna>,
        chc: Option<Arc<dyn ChainHeadCoordinator<Item = SignedHashed<Action>> + Sync + Send + 'static>>
    ) -> HolochainP2pDna; }
Expand description

Extension trait for converting GhostSender into HolochainP2pDna

Required Methods

Partially apply dna_hash && agent_pub_key to this sender, binding it to a specific dna context.

Clone and partially apply dna_hash && agent_pub_key to this sender, binding it to a specific dna context.

Implementors