Skip to main content

BoundaryCoverageService

Trait BoundaryCoverageService 

Source
pub trait BoundaryCoverageService:
    Send
    + Sync
    + 'static {
    // Provided method
    fn measure_boundary_coverage(
        &self,
        request: &BoundaryCoverageRequest,
    ) -> Result<BoundaryCoverage, BoundaryCoverageError> { ... }
}
Expand description

Measures how much of a space’s body surface its declared boundaries cover.

Provided Methods§

Source

fn measure_boundary_coverage( &self, request: &BoundaryCoverageRequest, ) -> Result<BoundaryCoverage, BoundaryCoverageError>

The coverage request asks for. The default refuses: a service that does not measure boundaries must never answer with an empty coverage.

§Errors

Returns BoundaryCoverageError::Unsupported unless implemented.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§