time_primitives

Trait MembersInterface

Source
pub trait MembersInterface {
    // Required methods
    fn member_peer_id(account: &AccountId) -> Option<PeerId>;
    fn is_member_registered(account: &AccountId) -> bool;
    fn is_member_online(account: &AccountId) -> 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§