Skip to main content

Backend

Trait Backend 

Source
pub trait Backend {
    // Required method
    fn exec(&mut self, cmd: Command<'_>) -> Result<String, Error>;
}
Expand description

The Backend trait is used to interact with SMT solver using the SMT-LIB language.

For more details read the backend module documentation.

Required Methods§

Source

fn exec(&mut self, cmd: Command<'_>) -> Result<String, Error>

Trait Implementations§

Source§

impl Backend for Box<dyn Backend>

Source§

fn exec(&mut self, cmd: Command<'_>) -> Result<String, Error>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Backend for Box<dyn Backend>

Source§

fn exec(&mut self, cmd: Command<'_>) -> Result<String, Error>

Implementors§