pub struct WasmThreadingCompliance { /* private fields */ }Expand description
WASM Threading Compliance Checker
Checks for compliance with WASM threading best practices per
PROBAR-SPEC-WASM-001.
Implementations§
Source§impl WasmThreadingCompliance
impl WasmThreadingCompliance
Sourcepub fn with_lcov(
&mut self,
passed: Option<&Path>,
failed: Option<&Path>,
) -> &mut Self
pub fn with_lcov( &mut self, passed: Option<&Path>, failed: Option<&Path>, ) -> &mut Self
Set LCOV files for Tarantula analysis
When both passed and failed coverage files are provided, Tarantula will generate a hotspot report.
Sourcepub fn check(&mut self, project_path: &Path) -> ComplianceResult
pub fn check(&mut self, project_path: &Path) -> ComplianceResult
Check compliance for a project directory
Sourcepub fn tarantula_report(&mut self) -> Option<String>
pub fn tarantula_report(&mut self) -> Option<String>
Generate Tarantula hotspot report if LCOV files are configured
Returns the formatted report string, or None if no coverage data.
Trait Implementations§
Source§impl Debug for WasmThreadingCompliance
impl Debug for WasmThreadingCompliance
Source§impl Default for WasmThreadingCompliance
impl Default for WasmThreadingCompliance
Source§fn default() -> WasmThreadingCompliance
fn default() -> WasmThreadingCompliance
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WasmThreadingCompliance
impl RefUnwindSafe for WasmThreadingCompliance
impl Send for WasmThreadingCompliance
impl Sync for WasmThreadingCompliance
impl Unpin for WasmThreadingCompliance
impl UnsafeUnpin for WasmThreadingCompliance
impl UnwindSafe for WasmThreadingCompliance
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().