Trait holochain_p2p::actor::HolochainP2pRefToCell[][src]

pub trait HolochainP2pRefToCell {
    fn into_cell(
        self,
        dna_hash: DnaHash,
        from_agent: AgentPubKey
    ) -> HolochainP2pCell;
fn to_cell(
        &self,
        dna_hash: DnaHash,
        from_agent: AgentPubKey
    ) -> HolochainP2pCell; }
Expand description

Extension trait for converting GhostSender into HolochainP2pCell

Required methods

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

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

Implementors