fidl_fuchsia_pkg_rewrite

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§

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§