Struct polar_core::polar::Polar [−][src]
pub struct Polar {
pub kb: Arc<RwLock<KnowledgeBase>>,
// some fields omitted
}Fields
kb: Arc<RwLock<KnowledgeBase>>Implementations
Clear rules from the knowledge base
pub fn new_query_from_term(&self, term: Term, trace: bool) -> QueryⓘNotable traits for Query
impl Iterator for Query type Item = PolarResult<QueryEvent>;Load the Polar roles policy idempotently.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Polarimpl UnwindSafe for Polar