EngineProxyInterface

Trait EngineProxyInterface 

Source
pub trait EngineProxyInterface: Send + Sync {
    type TestApplyResponseFut: Future<Output = Result<EngineTestApplyResult, Error>> + Send;

    // Required methods
    fn start_edit_transaction(
        &self,
        transaction: ServerEnd<EditTransactionMarker>,
    ) -> Result<(), Error>;
    fn list(&self, iterator: ServerEnd<RuleIteratorMarker>) -> Result<(), Error>;
    fn list_static(
        &self,
        iterator: ServerEnd<RuleIteratorMarker>,
    ) -> Result<(), Error>;
    fn test_apply(&self, url: &str) -> Self::TestApplyResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§