pub enum SteVecMode {
Compat,
Standard,
}Expand description
Selects the per-entry orderable-term primitive used by a ste_vec index.
Selectors are always Blake3-keyed and term-side MACs are always HMAC-SHA256 in both modes; only the ordering term differs. Indexes produced under different modes are not cross-comparable, so the indexing side and the query side must agree on the mode for results to match.
Variants§
Compat
CLLW OPE — order-preserving ciphertexts carried on the sv-level op
key. Ciphertext bytes compare in plain byte order, so the database
needs no ORE-aware comparator. This is the EQL v3 / Supabase-compatible
mode, and the default.
Standard
CLLW ORE — ciphertexts carried on the sv-level oc key, compared with
an ORE-aware comparator. The legacy v2 protocol, still used by Proxy /
v2 consumers.
Trait Implementations§
Source§impl Clone for SteVecMode
impl Clone for SteVecMode
Source§fn clone(&self) -> SteVecMode
fn clone(&self) -> SteVecMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SteVecMode
Source§impl Debug for SteVecMode
impl Debug for SteVecMode
Source§impl Default for SteVecMode
impl Default for SteVecMode
Source§fn default() -> SteVecMode
fn default() -> SteVecMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SteVecMode
impl<'de> Deserialize<'de> for SteVecMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SteVecMode
Source§impl PartialEq for SteVecMode
impl PartialEq for SteVecMode
Source§fn eq(&self, other: &SteVecMode) -> bool
fn eq(&self, other: &SteVecMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SteVecMode
impl Serialize for SteVecMode
impl StructuralPartialEq for SteVecMode
Auto Trait Implementations§
impl Freeze for SteVecMode
impl RefUnwindSafe for SteVecMode
impl Send for SteVecMode
impl Sync for SteVecMode
impl Unpin for SteVecMode
impl UnsafeUnpin for SteVecMode
impl UnwindSafe for SteVecMode
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