Trait holochain_p2p::AnyDhtHashExt

source ·
pub trait AnyDhtHashExt: Clone + Sized {
    // Required methods
    fn into_kitsune(self) -> Arc<KitsuneBasis>;
    fn into_kitsune_raw(self) -> KitsuneBasis;

    // Provided method
    fn to_kitsune(&self) -> Arc<KitsuneBasis> { ... }
}
Expand description

Extension trait for holo/kitsune conversion

Required Methods§

source

fn into_kitsune(self) -> Arc<KitsuneBasis>

convert into Arc<Kitsune> type

source

fn into_kitsune_raw(self) -> KitsuneBasis

convert into Kitsune type

Provided Methods§

source

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

to Arc<Kitsune> type

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl AnyDhtHashExt for AnyDhtHash

Implementors§