pub trait DhtOpHashExt: Clone + Sized {
    fn into_kitsune(self) -> Arc<KitsuneOpHash>;
    fn into_kitsune_raw(self) -> KitsuneOpHash;
    fn from_kitsune(k: &Arc<KitsuneOpHash>) -> Self;
    fn from_kitsune_raw(k: KitsuneOpHash) -> Self;

    fn to_kitsune(&self) -> Arc<KitsuneOpHash> { ... }
}
Expand description

Extension trait for holo/kitsune conversion

Required Methods

convert into Arc type

convert into Kitsune type

from Kitsune type

from Kitsune type

Provided Methods

to Arc type

Implementations on Foreign Types

Implementors