Type Alias holochain_p2p::HolochainP2pRef

source ·
pub type HolochainP2pRef = GhostSender<HolochainP2p>;
Expand description

Convenience type for referring to the HolochainP2p GhostSender

Aliased Type§

struct HolochainP2pRef(/* private fields */);

Trait Implementations§

source§

impl HolochainP2pRefToDna for HolochainP2pRef

source§

fn into_dna(self, dna_hash: DnaHash, chc: Option<ChcImpl>) -> HolochainP2pDna

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

fn to_dna(&self, dna_hash: DnaHash, chc: Option<ChcImpl>) -> HolochainP2pDna

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