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§

source

fn into_kitsune(self) -> Arc<KitsuneSpace>

convert into Arc<Kitsune> type

source

fn into_kitsune_raw(self) -> KitsuneSpace

convert into Kitsune type

source

fn from_kitsune(k: &Arc<KitsuneSpace>) -> Self

from Kitsune type

source

fn from_kitsune_raw(k: KitsuneSpace) -> Self

from Kitsune type

Provided Methods§

source

fn to_kitsune(&self) -> Arc<KitsuneSpace>

to Arc<Kitsune> type

Object Safety§

This trait is not object safe.

Implementors§