[][src]Struct rsmt2::asynch::CheckSatFuture

#[must_use]pub struct CheckSatFuture<'sref, Parser> { /* fields omitted */ }

Master thread.

Implementations

impl<'sref, Parser: Send + 'static> CheckSatFuture<'sref, Parser>[src]

pub fn new(solver: &'sref mut Solver<Parser>) -> Self[src]

Constructor.

pub fn get(&self) -> SmtRes<Option<bool>>[src]

Retrieves the result of the check-sat. Blocking.

pub fn try_get(&self) -> Option<SmtRes<Option<bool>>>[src]

Tries to retrieve the result of the check-sat. Non-blocking.

pub fn timeout_get(&self, timeout: Duration) -> Option<SmtRes<Option<bool>>>[src]

Tries to retrieve the result of the check-sat with a timeout.

Trait Implementations

impl<'sref, Parser> Drop for CheckSatFuture<'sref, Parser>[src]

Auto Trait Implementations

impl<'sref, Parser> !RefUnwindSafe for CheckSatFuture<'sref, Parser>[src]

impl<'sref, Parser> Send for CheckSatFuture<'sref, Parser> where
    Parser: Send
[src]

impl<'sref, Parser> !Sync for CheckSatFuture<'sref, Parser>[src]

impl<'sref, Parser> Unpin for CheckSatFuture<'sref, Parser>[src]

impl<'sref, Parser> !UnwindSafe for CheckSatFuture<'sref, Parser>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.