pub struct JobManager { /* private fields */ }Implementations§
Source§impl JobManager
impl JobManager
pub fn new(z3_bin: PathBuf) -> Self
pub fn z3_bin(&self) -> &PathBuf
pub async fn submit_with_bin( &self, label: String, smt_input: String, timeout_secs: u64, z3_bin: PathBuf, ) -> String
pub fn status(&self, job_id: &str) -> Option<Job>
pub fn result(&self, job_id: &str) -> Option<String>
pub async fn cancel(&self, job_id: &str) -> bool
pub fn list(&self) -> Vec<String>
Auto Trait Implementations§
impl Freeze for JobManager
impl !RefUnwindSafe for JobManager
impl Send for JobManager
impl Sync for JobManager
impl Unpin for JobManager
impl UnsafeUnpin for JobManager
impl !UnwindSafe for JobManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more