pub trait AgentPubKeyExt: Clone + Sized {
    // Required methods
    fn into_kitsune(self) -> Arc<KitsuneAgent, Global>;
    fn into_kitsune_raw(self) -> KitsuneAgent;
    fn from_kitsune(k: &Arc<KitsuneAgent, Global>) -> Self;
    fn from_kitsune_raw(k: KitsuneAgent) -> Self;

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

Extension trait for holo/kitsune conversion

Required Methods§

source

fn into_kitsune(self) -> Arc<KitsuneAgent, Global>

convert into Arc<Kitsune> type

source

fn into_kitsune_raw(self) -> KitsuneAgent

convert into Kitsune type

source

fn from_kitsune(k: &Arc<KitsuneAgent, Global>) -> Self

from Kitsune type

source

fn from_kitsune_raw(k: KitsuneAgent) -> Self

from Kitsune type

Provided Methods§

source

fn to_kitsune(&self) -> Arc<KitsuneAgent, Global>

to Arc<Kitsune> type

Implementors§