INNER CODE UNIT · Rust

need_online

CympleTech/ESSE · types/dao/src/lib.rs:204

    pub fn need_online(&self) -> bool {
        match self {
            Self::Offline(..) => true,
            Self::Suspend(..) => true,
            Self::Actived(..) => true,
            Self::RequestHandle(..) => true,
            Self::RequestResult(..) => true,
            Self::MemberOnline(..) => true,
            Self::MemberOffline(..) => true,
            Self::MemberOnlineSync(..) => true,
            Self::MemberOnlineSyncResult(..) => true,
            Self::Sync(..) => true,
            Self::SyncReq(..) => true,
            Self::Packed(..) => true,
            _ => false,
        }
    }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…