Trait holochain::prelude::AgentPubKeyExt
source · pub trait AgentPubKeyExt: Clone + Sized {
fn into_kitsune(self) -> Arc<KitsuneAgent>;
fn into_kitsune_raw(self) -> KitsuneAgent;
fn from_kitsune(k: &Arc<KitsuneAgent>) -> Self;
fn from_kitsune_raw(k: KitsuneAgent) -> Self;
fn to_kitsune(&self) -> Arc<KitsuneAgent> { ... }
}
Expand description
Extension trait for holo/kitsune conversion
Required Methods§
sourcefn into_kitsune(self) -> Arc<KitsuneAgent>
fn into_kitsune(self) -> Arc<KitsuneAgent>
convert into Arc
sourcefn into_kitsune_raw(self) -> KitsuneAgent
fn into_kitsune_raw(self) -> KitsuneAgent
convert into Kitsune type
sourcefn from_kitsune(k: &Arc<KitsuneAgent>) -> Self
fn from_kitsune(k: &Arc<KitsuneAgent>) -> Self
from Kitsune type
sourcefn from_kitsune_raw(k: KitsuneAgent) -> Self
fn from_kitsune_raw(k: KitsuneAgent) -> Self
from Kitsune type
Provided Methods§
sourcefn to_kitsune(&self) -> Arc<KitsuneAgent>
fn to_kitsune(&self) -> Arc<KitsuneAgent>
to Arc