Trait holochain::prelude::DnaHashExt
source · pub trait DnaHashExt: Clone + Sized {
// Required methods
fn into_kitsune(self) -> Arc<KitsuneSpace>;
fn into_kitsune_raw(self) -> KitsuneSpace;
fn from_kitsune(k: &Arc<KitsuneSpace>) -> Self;
fn from_kitsune_raw(k: KitsuneSpace) -> Self;
// Provided method
fn to_kitsune(&self) -> Arc<KitsuneSpace> { ... }
}
Expand description
Extension trait for holo/kitsune conversion
Required Methods§
sourcefn into_kitsune(self) -> Arc<KitsuneSpace>
fn into_kitsune(self) -> Arc<KitsuneSpace>
convert into Arc<Kitsune>
type
sourcefn into_kitsune_raw(self) -> KitsuneSpace
fn into_kitsune_raw(self) -> KitsuneSpace
convert into Kitsune type
sourcefn from_kitsune(k: &Arc<KitsuneSpace>) -> Self
fn from_kitsune(k: &Arc<KitsuneSpace>) -> Self
from Kitsune type
sourcefn from_kitsune_raw(k: KitsuneSpace) -> Self
fn from_kitsune_raw(k: KitsuneSpace) -> Self
from Kitsune type
Provided Methods§
sourcefn to_kitsune(&self) -> Arc<KitsuneSpace>
fn to_kitsune(&self) -> Arc<KitsuneSpace>
to Arc<Kitsune>
type
Object Safety§
This trait is not object safe.