PublicKeyObj

Trait PublicKeyObj 

Source
pub trait PublicKeyObj: SubDescType + Clone {
    // Required methods
    fn from_type_less(
        single: Option<PublicKey>,
        mn: Option<MNPublicKey>,
    ) -> BuckyResult<Self>;
    fn has_single_key(&self) -> bool;
    fn has_mn_key(&self) -> bool;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§