pub enum Direction {
AtMost,
AtLeast,
Within,
}Expand description
Which side of a value a certificate bounds.
A certificate that does not say the direction is a certificate a consumer cannot use, because
the whole point of the class is picking the end of the range whose failure you can afford, per
spec/stats/05-every-query.md section 5.1. Under-reserving memory spills and over-reserving
starves, and they are not the same cost.
Variants§
AtMost
The truth is no larger than the value. A frequency synopsis omitted_max is this.
AtLeast
The truth is no smaller than the value. A lower bound on a distinct count out of a sketch is this.
Within
The truth is within the bound on either side. A quantile boundary with an epsilon is this.
Implementations§
Trait Implementations§
impl Copy for Direction
impl Eq for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations§
impl Freeze for Direction
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnsafeUnpin for Direction
impl UnwindSafe for Direction
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