pub struct BackendInfo {
pub name: String,
pub aver_version: String,
pub build: String,
pub wasmtime_version: Option<String>,
}Fields§
§name: StringTarget name as parsed from --target
(vm / wasm-local / wasm-gc / rust).
aver_version: StringVersion of the aver binary that ran the bench (Cargo package
version at compile time of this binary).
build: String"release" or "debug", derived from the calling binary’s
build profile (debug_assertions cfg).
wasmtime_version: Option<String>wasmtime crate version when the report came from --target=wasm-local,
null otherwise.
Implementations§
Source§impl BackendInfo
impl BackendInfo
pub fn for_target(target: BenchTarget) -> Self
Trait Implementations§
Source§impl Clone for BackendInfo
impl Clone for BackendInfo
Source§fn clone(&self) -> BackendInfo
fn clone(&self) -> BackendInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BackendInfo
impl Debug for BackendInfo
Source§impl<'de> Deserialize<'de> for BackendInfo
impl<'de> Deserialize<'de> for BackendInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BackendInfo
impl RefUnwindSafe for BackendInfo
impl Send for BackendInfo
impl Sync for BackendInfo
impl Unpin for BackendInfo
impl UnsafeUnpin for BackendInfo
impl UnwindSafe for BackendInfo
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