pub struct WebAssessmentRuntime { /* private fields */ }Expand description
Single-use deterministic assessment of one authorized exact origin.
Implementations§
Source§impl WebAssessmentRuntime
impl WebAssessmentRuntime
pub fn builder(target: Url) -> WebAssessmentRuntimeBuilder
pub fn limits(&self) -> WebAssessmentLimits
pub fn knowledge(&self) -> &KnowledgeBase
pub fn cancellation_token(&self) -> CancellationToken
pub fn has_started(&self) -> bool
Sourcepub fn progress_observer(&mut self) -> Option<WebAssessmentProgressObserver>
pub fn progress_observer(&mut self) -> Option<WebAssessmentProgressObserver>
Creates the single read-only progress observer before execution starts.
None means the runtime already started or an observer was already
created. Calling this method is the only path that allocates progress
state; ordinary assessments carry no progress buffer or channel.
pub async fn analyze( &mut self, ) -> Result<WebAssessmentRunReport, WebAssessmentRuntimeError>
Auto Trait Implementations§
impl !RefUnwindSafe for WebAssessmentRuntime
impl !UnwindSafe for WebAssessmentRuntime
impl Freeze for WebAssessmentRuntime
impl Send for WebAssessmentRuntime
impl Sync for WebAssessmentRuntime
impl Unpin for WebAssessmentRuntime
impl UnsafeUnpin for WebAssessmentRuntime
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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