Enum SteVecEntryTerm
#[non_exhaustive]pub enum SteVecEntryTerm {
Hmac {
hmac_256: String,
},
OreCllw {
ore_cllw_8: String,
},
Ope {
ope_cllw: String,
},
}Expand description
Equality / ordering term carried by an SteVecEntry.
Hmac (hm) covers boolean leaves and the placeholder entries for
array / object roots. String and number leaves carry the ordering term
selected by the column’s SteVecMode: Ope (op, Compat mode — CLLW
OPE) or OreCllw (oc, Standard mode — CLLW ORE, the legacy v2
protocol). Domain separation between numeric and string ordering
ciphertexts is enforced on the plaintext bit-stream before CLLW
encryption — numeric and string ciphertexts therefore sort into disjoint
ranges, but the domain tag is not visible by hex-decoding the oc / op
ciphertext alone.
#[non_exhaustive], matching the sibling EncryptedSteVecTerm family:
a future ordering primitive must not be a breaking change for downstream
consumers that match on this enum.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Hmac
OreCllw
Ope
CLLW OPE ordering term (op) — a single hex-encoded order-preserving
ciphertext, directly bytewise-comparable. The same op key (and hex
encoding) the scalar root uses; the v2.3 schema file predates sv-level
op and the client emits it ahead of the v3 envelope.
Trait Implementations§
§impl Clone for SteVecEntryTerm
impl Clone for SteVecEntryTerm
§fn clone(&self) -> SteVecEntryTerm
fn clone(&self) -> SteVecEntryTerm
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more§impl Debug for SteVecEntryTerm
impl Debug for SteVecEntryTerm
§impl<'de> Deserialize<'de> for SteVecEntryTerm
impl<'de> Deserialize<'de> for SteVecEntryTerm
§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>,
§impl From<SteVecEntryTerm> for SteVecQueryTerm
Lifts a stored per-element term onto the query term that matches it.
impl From<SteVecEntryTerm> for SteVecQueryTerm
Lifts a stored per-element term onto the query term that matches it.
SteVecQueryTerm is a strict superset of SteVecEntryTerm — it adds
Selector and Containment, which have no stored-entry counterpart. Every
shared variant keeps its wire key, so a query term always matches the
entries the same mode produced.
§fn from(term: SteVecEntryTerm) -> Self
fn from(term: SteVecEntryTerm) -> Self
§impl Serialize for SteVecEntryTerm
impl Serialize for SteVecEntryTerm
Auto Trait Implementations§
impl Freeze for SteVecEntryTerm
impl RefUnwindSafe for SteVecEntryTerm
impl Send for SteVecEntryTerm
impl Sync for SteVecEntryTerm
impl Unpin for SteVecEntryTerm
impl UnsafeUnpin for SteVecEntryTerm
impl UnwindSafe for SteVecEntryTerm
Blanket Implementations§
impl<T> AuthStrategyBounds for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more