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

    fn to_kitsune(&self) -> Arc<KitsuneAgent> { ... }
}
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