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§
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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".