pub struct PerformanceTargetValidator { /* private fields */ }Expand description
Performance target validation suite
Implementations§
Source§impl PerformanceTargetValidator
impl PerformanceTargetValidator
Sourcepub fn with_targets(targets: PerformanceTargets) -> Result<Self>
pub fn with_targets(targets: PerformanceTargets) -> Result<Self>
Create validator with custom targets
Sourcepub async fn validate_all_targets(
&mut self,
processor: &mut SpatialProcessor,
) -> Result<Vec<PerformanceValidationResult>>
pub async fn validate_all_targets( &mut self, processor: &mut SpatialProcessor, ) -> Result<Vec<PerformanceValidationResult>>
Validate all performance targets
Sourcepub async fn validate_latency_targets(
&mut self,
processor: &mut SpatialProcessor,
) -> Result<PerformanceValidationResult>
pub async fn validate_latency_targets( &mut self, processor: &mut SpatialProcessor, ) -> Result<PerformanceValidationResult>
Validate latency performance targets
Sourcepub async fn validate_quality_targets(
&mut self,
processor: &mut SpatialProcessor,
) -> Result<PerformanceValidationResult>
pub async fn validate_quality_targets( &mut self, processor: &mut SpatialProcessor, ) -> Result<PerformanceValidationResult>
Validate quality performance targets
Sourcepub async fn validate_scalability_targets(
&mut self,
processor: &mut SpatialProcessor,
) -> Result<PerformanceValidationResult>
pub async fn validate_scalability_targets( &mut self, processor: &mut SpatialProcessor, ) -> Result<PerformanceValidationResult>
Validate scalability performance targets
Sourcepub async fn validate_resource_targets(
&mut self,
processor: &mut SpatialProcessor,
) -> Result<PerformanceValidationResult>
pub async fn validate_resource_targets( &mut self, processor: &mut SpatialProcessor, ) -> Result<PerformanceValidationResult>
Validate resource usage targets
Sourcepub fn get_results(&self) -> &[PerformanceValidationResult]
pub fn get_results(&self) -> &[PerformanceValidationResult]
Get all validation results
Sourcepub fn generate_report(&self) -> PerformanceTargetReport
pub fn generate_report(&self) -> PerformanceTargetReport
Generate comprehensive performance report
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PerformanceTargetValidator
impl RefUnwindSafe for PerformanceTargetValidator
impl Send for PerformanceTargetValidator
impl Sync for PerformanceTargetValidator
impl Unpin for PerformanceTargetValidator
impl UnsafeUnpin for PerformanceTargetValidator
impl UnwindSafe for PerformanceTargetValidator
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more