pub struct Runtime { /* private fields */ }Expand description
An exact-input runtime; no Verus serving path is modified by its construction.
Implementations§
Source§impl Runtime
impl Runtime
Sourcepub fn new(config: Config) -> Result<Self, Error>
pub fn new(config: Config) -> Result<Self, Error>
Construct the runtime with an existing installed solver and optional cache.
§Errors
Returns SAIL6101 for invalid configuration or malformed embedded pins.
Sourcepub fn capabilities(&self) -> Capabilities
pub fn capabilities(&self) -> Capabilities
Inspect actual installation readiness; this does not establish any theorem.
Sourcepub fn execute(
&self,
request: &Request,
cancellation: &Cancellation,
) -> Result<Response, Error>
pub fn execute( &self, request: &Request, cancellation: &Cancellation, ) -> Result<Response, Error>
Execute a fully admitted bounded batch, preserving caller order and metadata.
§Errors
Returns SAIL6101 before dispatch if any query or protocol version is invalid.
Worker infrastructure failures use SAIL6102 and never become solver answers.
Auto Trait Implementations§
impl !RefUnwindSafe for Runtime
impl !UnwindSafe for Runtime
impl Freeze for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnsafeUnpin for Runtime
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