pub struct PathTrace { /* private fields */ }Expand description
The length of a polyline over each requested object, in request order.
Each length is an interval: its upper bound counts every part that may lie over the object, along the boundary of its footprint included; its lower bound only the parts surely inside. An object whose footprint is unknown answers why instead.
Implementations§
Source§impl PathTrace
impl PathTrace
Sourcepub fn try_new(
lengths: Vec<Result<LengthInterval, String>>,
evidence: Evidence,
) -> Result<Self, MetricRoutingError>
pub fn try_new( lengths: Vec<Result<LengthInterval, String>>, evidence: Evidence, ) -> Result<Self, MetricRoutingError>
Validates exact, reviewable provenance.
Sourcepub fn lengths(&self) -> &[Result<LengthInterval, String>]
pub fn lengths(&self) -> &[Result<LengthInterval, String>]
The length over each object, in request order, or why it is unknown.
Trait Implementations§
impl StructuralPartialEq for PathTrace
Auto Trait Implementations§
impl Freeze for PathTrace
impl RefUnwindSafe for PathTrace
impl Send for PathTrace
impl Sync for PathTrace
impl Unpin for PathTrace
impl UnsafeUnpin for PathTrace
impl UnwindSafe for PathTrace
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