pub struct SolverIdentity {
pub name: String,
pub version: String,
pub binary_sha256: [u8; 32],
pub platform: String,
}Expand description
The exact identity of a solver binary.
Fields§
§name: StringSolver family, for example "z3".
version: StringThe version string the solver reports, for example "4.16.0".
binary_sha256: [u8; 32]SHA-256 of the solver executable.
platform: StringPlatform class, for example "macos-aarch64" (ADR 0004 update,
ADR 0010): the same binary can spend different effort on different
platforms.
Implementations§
Source§impl SolverIdentity
impl SolverIdentity
Sourcepub fn host_platform() -> String
pub fn host_platform() -> String
The platform class of this machine: <os>-<arch>.
Trait Implementations§
Source§impl Clone for SolverIdentity
impl Clone for SolverIdentity
Source§impl Debug for SolverIdentity
impl Debug for SolverIdentity
impl Eq for SolverIdentity
Source§impl Hash for SolverIdentity
impl Hash for SolverIdentity
Source§impl PartialEq for SolverIdentity
impl PartialEq for SolverIdentity
impl StructuralPartialEq for SolverIdentity
Auto Trait Implementations§
impl Forget for SolverIdentity
impl Freeze for SolverIdentity
impl Move for SolverIdentity
impl RefUnwindSafe for SolverIdentity
impl Send for SolverIdentity
impl Sync for SolverIdentity
impl Unpin for SolverIdentity
impl UnsafeUnpin for SolverIdentity
impl UnwindSafe for SolverIdentity
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