pub enum ProjectionProviderPostureV1 {
Exact,
Approximate {
recall_target_bps: u16,
},
}Expand description
Exact or explicitly bounded approximate result posture.
Variants§
Exact
Exact reference-equivalent result.
Approximate
Approximate result meeting a compiler-owned recall target in basis points.
Implementations§
Source§impl ProjectionProviderPostureV1
impl ProjectionProviderPostureV1
Sourcepub const fn approximate(
recall_target_bps: u16,
) -> Result<Self, ProjectionProviderValidationError>
pub const fn approximate( recall_target_bps: u16, ) -> Result<Self, ProjectionProviderValidationError>
Constructs an approximate posture with a nonzero target at most 100%.
Trait Implementations§
Source§impl Clone for ProjectionProviderPostureV1
impl Clone for ProjectionProviderPostureV1
impl Copy for ProjectionProviderPostureV1
Source§impl Debug for ProjectionProviderPostureV1
impl Debug for ProjectionProviderPostureV1
impl Eq for ProjectionProviderPostureV1
impl StructuralPartialEq for ProjectionProviderPostureV1
Auto Trait Implementations§
impl Freeze for ProjectionProviderPostureV1
impl RefUnwindSafe for ProjectionProviderPostureV1
impl Send for ProjectionProviderPostureV1
impl Sync for ProjectionProviderPostureV1
impl Unpin for ProjectionProviderPostureV1
impl UnsafeUnpin for ProjectionProviderPostureV1
impl UnwindSafe for ProjectionProviderPostureV1
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