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§

source

fn start_edit_transaction( &self, transaction: ServerEnd<EditTransactionMarker> ) -> Result<(), Error>

source

fn list(&self, iterator: ServerEnd<RuleIteratorMarker>) -> Result<(), Error>

source

fn list_static( &self, iterator: ServerEnd<RuleIteratorMarker> ) -> Result<(), Error>

source

fn test_apply(&self, url: &str) -> Self::TestApplyResponseFut

Implementors§