pub trait ReadonlyIndex: Send + Sync {
    // Required methods
    fn as_any(&self) -> &dyn Any;
    fn as_index(&self) -> &dyn Index;
    fn evaluate_revset_static(
        &self,
        expression: &ResolvedExpression,
        store: &Arc<Store>
    ) -> Result<Box<dyn Revset<'static>>, RevsetEvaluationError>;
    fn start_modification(&self) -> Box<dyn MutableIndex>;
}

Required Methods§

source

fn as_any(&self) -> &dyn Any

source

fn as_index(&self) -> &dyn Index

source

fn evaluate_revset_static( &self, expression: &ResolvedExpression, store: &Arc<Store> ) -> Result<Box<dyn Revset<'static>>, RevsetEvaluationError>

source

fn start_modification(&self) -> Box<dyn MutableIndex>

Implementors§