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
Required methods
fn into_cell(
self,
dna_hash: DnaHash,
from_agent: AgentPubKey
) -> HolochainP2pCell
fn into_cell(
self,
dna_hash: DnaHash,
from_agent: AgentPubKey
) -> HolochainP2pCell
Partially apply dna_hash && agent_pub_key to this sender, binding it to a specific cell context.
fn to_cell(
&self,
dna_hash: DnaHash,
from_agent: AgentPubKey
) -> HolochainP2pCell
fn to_cell(
&self,
dna_hash: DnaHash,
from_agent: AgentPubKey
) -> HolochainP2pCell
Clone and partially apply dna_hash && agent_pub_key to this sender, binding it to a specific cell context.